Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitlab: 17.2.9 -> 17.3.6 #350915

Merged
merged 2 commits into from
Oct 28, 2024
Merged

gitlab: 17.2.9 -> 17.3.6 #350915

merged 2 commits into from
Oct 28, 2024

Conversation

srhb
Copy link
Contributor

@srhb srhb commented Oct 24, 2024

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@srhb
Copy link
Contributor Author

srhb commented Oct 24, 2024

Before #350901 since 17.3.x is a "stop release" that must be included in the upgrade cycle

@srhb
Copy link
Contributor Author

srhb commented Oct 24, 2024

gitaly really wants to have its git built with the install-bundled-git target instead, but that's not very palatable... I'm also unsure whether the dependency tracking will succeed with the bundled binaries embedded in the gitaly binary, but probably...

Definitely WIP

@srhb srhb force-pushed the gitlab-17.3.6 branch 3 times, most recently from 1ec182b to e049989 Compare October 25, 2024 05:27
@srhb
Copy link
Contributor Author

srhb commented Oct 25, 2024

Well, this appears to work, but it's definitely not the intended way to use the bundled git. I'm unsure how much we would need to change to get it to function, however. It would be good to have some more eyes on this.

(We're still using the git target and copying the binaries over for the gitaly binary to embed)

gitaly now embeds git binaries in itself during the build

https://gitlab.com/gitlab-org/gitaly/-/blob/10fd91391a7c30ca54ec81eea881740cfdee8b0a/packed_binaries.go#L22

These are meant to be built by the `Makefile` target
`install-bundled-git` but this produces binaries with different names,
and we're also referring to this version of git throughout the NixOS
module, so we hack this by copying over the binaries from the deprecated
`git` target with which we're building gitaly-git.
@srhb srhb marked this pull request as ready for review October 25, 2024 05:36
@yayayayaka yayayayaka added 1.severity: security Issues which raise a security issue, or PRs that fix one backport release-24.05 Backport PR automatically labels Oct 26, 2024
@yayayayaka yayayayaka merged commit b5315bf into NixOS:master Oct 28, 2024
46 of 47 checks passed
Copy link
Contributor

Successfully created backport PR for release-24.05:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.severity: security Issues which raise a security issue, or PRs that fix one 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 backport release-24.05 Backport PR automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants