Skip to content

backrest: 1.10.1 -> 1.13.0 - #491229

Merged
GaetanLepage merged 3 commits into
NixOS:masterfrom
alexandru0-dev:backrest/1.11.2
Jun 21, 2026
Merged

GaetanLepage merged 3 commits into
NixOS:masterfrom
alexandru0-dev:backrest/1.11.2

Conversation

@alexandru0-dev

@alexandru0-dev alexandru0-dev commented Feb 17, 2026 •

Copy link
Copy Markdown
Contributor

Changes made:

  • update backrest to 1.13.0 (this requires to pin some javascript contents from CDNs)
  • include updateScripts (supersedes backrest: add updateScript #453791)
  • build only "cmd/backrest" (by default also builds docker-entrypoint)
  • added myself and @phanirithvij as a maintainer

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@alexandru0-dev alexandru0-dev mentioned this pull request Feb 17, 2026
2 of 13 tasks
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Feb 17, 2026
@iedame

This comment was marked as outdated.

@alexandru0-dev

Copy link
Copy Markdown
Contributor Author

Seems to be from the logs the pnpmDepsHash is different for darwin

@iedame

This comment was marked as outdated.

@alexandru0-dev

Copy link
Copy Markdown
Contributor Author

i've added a conditional hash for the webui pnpmDeps on darwin @iedame

(btw i think it's funny that another nixpkgs-review was run even when no changes were made)

@iedame

iedame commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

i've added a conditional hash for the webui pnpmDeps on darwin @iedame

(btw i think it's funny that another nixpkgs-review was run even when no changes were made)

I started another build with sandbox = false to rule out environment restrictions, as the initial logs were a bit erratic. I’ll need to do some further testing on my Mac when I have the time.

@iedame

iedame commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 491229
Commit: 467ea1bf4964489dfd25ba392ffd9a731dbb0a1c (subsequent changes)
Merge: a5c6802cf050cbd9b753fa7eeb53f320e4ae2d59

Logs: https://github.com/iedame/nixpkgs-review-gha/actions/runs/22152884641


x86_64-linux

✅ 1 package built:
  • backrest

aarch64-linux

✅ 1 package built:
  • backrest

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • backrest

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • backrest

@alexandru0-dev

Copy link
Copy Markdown
Contributor Author

I started another build with sandbox = false to rule out environment restrictions, as the initial logs were a bit erratic. I’ll need to do some further testing on my Mac when I have the time.

Oh you're right, my bad, didn't see the relaxed vs false

@iedame

iedame commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

v1.12.0 is now available. Could you include this update in the current PR? Once updated, I can do further backup/restore testing and verify the build on Darwin.

@alexandru0-dev alexandru0-dev changed the title backrest: 1.10.1 -> 1.11.2 backrest: 1.10.1 -> 1.12.0 Feb 22, 2026
@alexandru0-dev

Copy link
Copy Markdown
Contributor Author

Could you include this update in the current PR? Once updated, I can do further backup/restore testing and verify the build on Darwin.

done

@L-Trump

L-Trump commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

LGTM, tested on linux-x86_64

@iedame

iedame commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

can you please rebase with master and see if fetcherVersion = 3 merged changes fix the hash mismatch between linux and darwin?

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 28, 2026
Comment thread pkgs/by-name/ba/backrest/package.nix Resolved
Comment thread pkgs/by-name/ba/backrest/package.nix Resolved
@phanirithvij

phanirithvij commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

I have https://github.com/phanirithvij/nixpkgs/tree/backrest-1.13 based on this PR. But I did remove some stuff after the cherry-pick.

Please feel free to use it for this PR. I was thinking of opening a new PR but I thought I'd ping here, I'm glad I did as I now know you are still interested.

@phanirithvij

phanirithvij commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

And for this PR I'd suggest one more review comment, please reduce the number of commits to something reasonable. add maintainer should be a commit, so does the version bump, but I think the others can be combined into one. (not a blocker)

@alexandru0-dev

Copy link
Copy Markdown
Contributor Author

And for this PR I'd suggest one more review comment, please reduce the number of commits to something reasonable. add maintainer should be separate, so does the version bump, but I suspect the others can be combined into one. (not a blocker)

This was something I was planning to do since I already needed to try to update the fetchers and rebase everything before a good review but got sidetracked by uni + work
And honestly looking back idk even why I had so many commits, since also from time to time on some review I ask to rebase etc

I've seen your branch, how do you want to proceed? We can use this PR and I can give you attributions or idk, let me know

@phanirithvij

phanirithvij commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

I would be happy with a Co-Authored-By in some commit or I am fine with no attribution as I was planning to maintain this package, so you could add me as a maintainer.

My goal is to move this PR to the finish line mainly for #529285.

Comment thread pkgs/by-name/ba/backrest/package.nix Resolved
@phanirithvij phanirithvij added backport release-26.05 Backport PR automatically and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Jun 18, 2026
@phanirithvij phanirithvij mentioned this pull request Jun 18, 2026
4 of 13 tasks
Comment thread pkgs/by-name/ba/backrest/package.nix Resolved
@phanirithvij

Copy link
Copy Markdown
Member

https://github.com/search?q=repo%3Agarethgeorge%2Fbackrest%20tray&type=code

There's a tray mode, I will add this in a follow-up PR once we merge the current bump. I don't want to bog down everyone involved by adding too many things in one PR.

@phanirithvij

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review-gha (5f60c00)

Command: nixpkgs-review pr 491229
Commit: e8f0b963da956fcb23520b0530a041fe10d7a43e (subsequent changes)
Merge: 7289064002be43f5f447719d8fe98b7042c8fbbe

Logs: https://github.com/phanirithvij/nixpkgs-review-gha/actions/runs/27857885814/attempts/1


x86_64-linux

✅ 1 package built:
  • backrest

aarch64-linux

✅ 1 package built:
  • backrest

x86_64-darwin (sandbox = true)

❌ 1 package failed to build:
  • backrest

aarch64-darwin (sandbox = true)

❌ 1 package failed to build:
  • backrest

@phanirithvij

phanirithvij commented Jun 20, 2026 •

Copy link
Copy Markdown
Member

Failure on darwin is due to #525627.

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 20, 2026
];

preBuild = ''
ldflags+=" -X main.commit=$(cat COMMIT)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this be passed statically in ldflags using finalAttrs.src.rev?

@phanirithvij phanirithvij Jun 20, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src.rev would be a tag like refs/tags/v1.13.0 but not a commit, I wanted to show a commit like upstream expects.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, you're right.

@GaetanLepage
GaetanLepage added this pull request to the merge queue Jun 21, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jun 21, 2026
Merged via the queue into NixOS:master with commit 41b7fd6 Jun 21, 2026
32 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Jun 21, 2026
@phanirithvij

Copy link
Copy Markdown
Member

Thank you so much @GaetanLepage, very much appreciate your thorough feedback and quick merges.

@GaetanLepage

Copy link
Copy Markdown
Contributor

Thank you so much @GaetanLepage, very much appreciate your thorough feedback and quick merges.

Glad to help out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. backport release-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants