Skip to content

fetchgit: take postCheckout to allow gathering revision and commit metadata without leaving .git#465497

Merged
philiptaron merged 5 commits into
NixOS:masterfrom
ShamrockLee:fetchgit-postCheckout
Dec 17, 2025
Merged

fetchgit: take postCheckout to allow gathering revision and commit metadata without leaving .git#465497
philiptaron merged 5 commits into
NixOS:masterfrom
ShamrockLee:fetchgit-postCheckout

tests.fetchgit: add submodule-revision-count

8974669
Select commit
Loading
Failed to load commit list.
OfBorg / fetchgit, fetchgit.passthru.tests, nix-prefetch-git, nix-prefetch-git.passthru.tests, tests.fetchgit, tests.fetchgit.passthru.tests on x86_64-linux succeeded Dec 16, 2025 in 0s

Success

Attempted: nix-prefetch-git, tests.fetchgit

The following builds were skipped because they don't evaluate on x86_64-linux: fetchgit, fetchgit.passthru.tests, nix-prefetch-git.passthru.tests, tests.fetchgit.passthru.tests

Details

Partial log

/nix/store/as0cxa4bkm72lf6n1ar7xx7qff0lspkv-simple-nix-source-salted-sn32fwyh44k7
/nix/store/0dprf3dwzm69ibh0swx5idk74vqrx2xm-simple-tag-nix-source-salted-qgammhd827h3
/nix/store/lbq6i20sk8gaffbbk197w6cpmwq0kjal-sparse-checkout-nix-source-salted-aqghhmnigf54
/nix/store/ylbihvxj7g8584pp87cqqmgqcn57h4bs-sparse-checkout-non-cone-nix-source-salted-m2p551yl44cx
/nix/store/6lgib19pyk6rf25vlghp1dbifi7lrw78-submodule-deep-source-salted-9nkg081c5gv0
/nix/store/2c3r8gx7pwsrkxamgmabjl6r0agy2v66-submodule-leave-git-source-salted-x7jz362rc7qm
/nix/store/dx37hj1y1rqkqm695pdm7nr3f0adndbb-submodule-leave-git-deep-source-salted-lkr2w47k1jhz
/nix/store/0cv561s3crldxch1399x5afbrmqsycjd-submodule-revision-count-source-salted-1f71hngrz165
/nix/store/ii0dm70w3n37500hmkh5qjqy2if2yhgw-submodule-simple-source-salted-0mlwmmg8rnla
/nix/store/j352yikzdiy9y5bwhbncgiyvvxv0gywd-fetchgit-with-config-salted-qadv0q0z6v4b