Page MenuHomePhabricator

[Task] trigger packagist.org from repo on gerrit.w.o
Open, LowPublic

Description

Trigger packagist.org from repo on gerrit.w.o . First one to benefit from this might be Wikibase.
See "Update Schedule" on https://packagist.org/about for what packagist expects.
See https://gerrit.wikimedia.org/r/Documentation/config-hooks.html for information on how to add hooks to gerrit.

Related Objects

StatusAssignedTask
ResolvedAddshore
ResolvedAddshore
InvalidNone
DeclinedNone
OpenNone
ResolvedJanZerebecki
ResolvedJeroenDeDauw
Resolvedaude
ResolvedJanZerebecki
DuplicateNone
DeclinedNone
ResolvedLadsgroup
ResolvedJanZerebecki
DeclinedNone
Resolvedaude
ResolvedJeroenDeDauw
ResolvedWMDE-leszek
InvalidNone
InvalidNone
OpenNone
ResolvedVictorbarbu
ResolvedLucas_Werkmeister_WMDE
ResolvedMtDu
ResolvedLydia_Pintscher
DeclinedLydia_Pintscher
InvalidNone
InvalidNone
ResolvedReedy
ResolvedLegoktm
ResolvedLadsgroup
ResolvedNone
ResolvedJanZerebecki
OpenNone
ResolvedJanZerebecki
ResolvedKrinkle
InvalidNone
ResolvedJanZerebecki
ResolvedAddshore

Event Timeline

JanZerebecki raised the priority of this task from to Low.
JanZerebecki updated the task description. (Show Details)
JanZerebecki added projects: Wikidata, Gerrit.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 28 2015, 2:38 PM

I suppose we could have a post-merge jenkins job for this, though we've been setting most of our other packages to point to github and setting up the hook there (using github allows for zipballs to be downloaded rather than cloning). But that might be an issue if github replication is still broken :/

Glaisher removed a subscriber: Glaisher.Jun 16 2015, 3:32 PM
Jonas renamed this task from trigger packagist.org from repo on gerrit.w.o to [Task] trigger packagist.org from repo on gerrit.w.o.Aug 14 2015, 4:50 PM
Jonas set Security to None.
demon moved this task from Bugs & stuff to Local hacks on the Gerrit board.Jul 25 2016, 5:57 PM

Might it make more sense for jenkins to do the triggering?

demon added a comment.May 4 2018, 8:43 PM

Eh, one less job to waste an executor over -- no delay, etc.

Eh, one less job to waste an executor over -- no delay, etc.

Now that most of the jenkins nodes are docker nodes (rather than node pool) and don't require an excessive amount of time to get thrown away are rebuilt running a script that only takes a few ms there wouldn't really take much of the executors time.
It would of course still probably have some delay.

Paladox added a subscriber: Paladox.Nov 9 2018, 5:49 PM

The webhooks plugin was installed a while ago, which could be used for this?