Your one-stop-cake-shop for everything Freshly Baked has to offer

ci: fetch dependencies before evaluate #128

merged opened by a.starrysky.fyi targeting main from private/minion/push-mlmuvqqtptlt

Due to what I suspect must be either an npins or a lix bug, we get this error when evaluating our configuration on new machines:

โ€ฆ while fetching the input 'git+https://gerrit.wikimedia.org/r/mediawiki/extensions/AdvancedSearch?rev=398c9fa782843d8b3aeaa5ebb1c1b3db35c3382f'

error: Cannot find Git revision '398c9fa782843d8b3aeaa5ebb1c1b3db35c3382f' in ref 'refs/heads/master' of repository 'https://gerrit.wikimedia.org/r/mediawiki/extensions/AdvancedSearch'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit.

Now, this is what I'd expect - because we're not meant to be fetching master of this extension - we're meant to be fetching a branch! By using npins to prefetch all dependencies, we get around this.

Due to a nilla bug, fetching dependencies is required for evaluation anyway - so this isn't too much more of an issue than it would already have been...

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3mbbxryg4sg22
+3 -3
Interdiff #3 โ†’ #4
packetmix/npins/default.nix

This file has not been changed.

+3 -3
packetmix/npins/sources.json
··· 520 520 }, 521 521 "branch": "master", 522 522 "submodules": false, 523 - "revision": "f4e3698681704e74196fa0f905c7dfdd43cf5c86", 524 - "url": "https://github.com/andir/npins/archive/f4e3698681704e74196fa0f905c7dfdd43cf5c86.tar.gz", 525 - "hash": "sha256-8lkiistkBemkRN4aTqGW3SvI1CqibOnvFvNJS9OOdnU=" 523 + "revision": "0d6aaa4b3dcd1d8badbed2b66e0c50867330a86e", 524 + "url": "https://github.com/andir/npins/archive/0d6aaa4b3dcd1d8badbed2b66e0c50867330a86e.tar.gz", 525 + "hash": "sha256-9N14/tliOiA49Us2uFUWHcrhYN8AmJjR+bnwzcxejgs=" 526 526 }, 527 527 "scriptfs": { 528 528 "type": "Git",

History

15 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
pull request successfully merged
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
fix(npins): fetch dependencies from correct ref
expand 0 comments
1 commit
expand
ci: fetch dependencies before evaluate
expand 0 comments
1 commit
expand
ci: fetch dependencies before evaluate
expand 0 comments