Page MenuHomePhabricator

Scap: Standardize git version
Open, NormalPublic

Description

This came up last week for beta, filing a task for production. There is at least one server that scap deploys to in production that is still on Trusty (silver), there may be more; however, it would be nice to use new git features like --jobs and --reference inside scap's guts.

Both Jessie and Stretch machines are using git version 2.11. Would be ideal for all production machines to standardize on this version.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 30 2017, 11:59 PM

Adding @MoritzMuehlenhoff explicitly since IIRC he did the work to add git 2.11 to jessie-backports.

silver will be replaced by the new labweb* hosts using stretch soon, so that should be resolved soon. Is that the only one deployment relevant?

greg added a subscriber: greg.Nov 1 2017, 10:11 PM

From moritz: P6242 (machines still running trusty)

demon added a comment.Nov 2 2017, 5:01 PM

What about eventlog* and sca*?

greg added a comment.Nov 2 2017, 5:07 PM

Of course. (oops)

sca*?

Those hosts have only Zotero on them, and they will never move off of trusty (because reasons). One of two things will happen here: (a) we manage to get rid of Zotero (T93579); or (b) we move it to k8s once the infra is ready. I would put my money on (b).

More to the point of the problem, perhaps a viable alternative here would be for Scap to detect the target's git version is then act accordingly (with regards to using --jobs and friends).

More to the point of the problem, perhaps a viable alternative here would be for Scap to detect the target's git version is then act accordingly (with regards to using --jobs and friends).

D866: Use sh library to wrap git commands. does that

Building a git 2.11 for trusty is probably just a matter of 1-2 hours work, but it's something we would need to repeat for every git security update. I'd totally prefer Mukunda's approach since it feels wrong to invest time into something we're actively working to get rid of.

MoritzMuehlenhoff triaged this task as Normal priority.Nov 6 2017, 8:03 AM
mmodell moved this task from Needs triage to Debt on the Scap board.Feb 1 2018, 12:21 AM