Commit graph

24 commits

Author SHA1 Message Date
Cole Helbling 1d74f577a1 php: update svanderburg/composer2nix and php-amqplib/php-amqplib 2024-05-19 16:41:18 -07:00
Andreas Rammhold de74c9e88c Fix the php packaging for the latest nixpkgs revision
Nixpkgs has dropped PHP 7.2. Updating to PHP 7.4 should be painless as
our usage of PHP is very limited.
2021-07-07 12:19:54 -07:00
Sandro Jäckel 231953bf2e Remove usage of stdenv.lib 2021-04-01 21:10:04 -07:00
Andreas Rammhold b405973d44 php: add README.md explaining the configuration
It was lost in the `Not you: team` change. It probably makes sense to
keep this documented as people involved in this project might change
over time and sometimes memory can also be blurry :)
2020-10-06 14:05:43 -07:00
Andreas Rammhold 41687fe743
Update to current nixpkgs-unstable
This required the introduction of an overlay file since ofBorg still
requires openssl 1.0.2. Updating to newer version of openssl also
requires updating the amqp library which requires some more involved
changes.

The php code is only updated to php 7.2 and not 7.3 (the default in
nixpkgs) since there seem to been a few syntax changes that aren't yet
compatible with composer2nix.

In previous versions of the rust infrastructure within nixpkgs we would
have been able to override all crates during the invocation of the
target crate. That `override` feature was removed as it caused a huge
eval overhead for larger projects. We did end up with (n^2)
instantiations of dependencies since they were being overriden on every
invocation of every dependency on every level further down the chain.
The current understanding is that the build tooling that each project is
using (e.g.  crate2nix, crate2nix, …) that is driving the actual build
could easily reintroduce that feature without the overhead.

pin to php72
2020-02-21 17:10:45 +01:00
Graham Christensen 648fcf0405
Package up dependencies with composer2nix
I had to patch composer2nix with:

require_once(dirname(__FILE__)./../../../../vendor/autoload.php);
2018-08-08 13:28:14 -04:00
Graham Christensen 9fc13b95d2
Webhook: create an 'unknown' queue for collecting weird messages 2018-03-05 07:39:35 -05:00
Graham Christensen 695fea935a
Prune more unneeded PHP bits 2018-02-23 22:00:37 -05:00
Graham Christensen 08a0a79976
Remove extra libs now that the mass rebuild filter isn't PHP anymore 2018-02-23 21:28:32 -05:00
Graham Christensen 5e2c57790e
Deleete the PHP poster code 2018-01-31 19:22:43 -05:00
Graham Christensen 60a8081daa
fix typo in the web ingestion 2018-01-30 16:45:17 -05:00
Graham Christensen 07f3d265f9
update amqp to avoid self-destruction from heartbeats 2018-01-28 23:21:51 -05:00
Graham Christensen ba92804ea5
Make the github event intake endpoint retry connections to rabbitmq until it works 2018-01-28 22:24:44 -05:00
Graham Christensen c223f424ad
Tighten up the summary view 2018-01-28 14:52:22 -05:00
tilpner bceb07f890
Use collapsible sections for shorter review comments 2018-01-28 16:02:18 +01:00
Graham Christensen b2e34d91d9
Post a link to the full log in the build result 2018-01-27 14:41:00 -05:00
Graham Christensen 4dea8198a0
Replace index.phpwith next.php 2017-12-21 08:28:48 -05:00
Graham Christensen 67094db9bd
Trigger user errorss 2017-12-21 08:28:06 -05:00
Graham Christensen 2d6b560e4f
Revert "Revert "Further clean up code, implement signature checking""
This reverts commit 724a343220.
2017-12-21 08:08:23 -05:00
Graham Christensen 47163bbe43
Setup next.php, which was index.php but now safely out of the way 2017-12-21 08:07:18 -05:00
Graham Christensen 724a343220
Revert "Further clean up code, implement signature checking"
This reverts commit faa0f0ae5f.
2017-12-21 07:36:19 -05:00
Graham Christensen faa0f0ae5f
Further clean up code, implement signature checking 2017-12-21 07:35:41 -05:00
Graham Christensen 0e3e1a978f
Remove dead PHP code 2017-12-19 21:57:30 -05:00
Graham Christensen 8c9e63d12c
Move all the PHP stuff to a subdir 2017-12-04 21:30:15 -05:00