Skip to content

Conversation

@Kranzes
Copy link
Member

@Kranzes Kranzes commented Jul 14, 2023

Diff: https://gitea.com/gitea/act_runner/compare/v0.1.8...v0.2.3

Changelog: https://gitea.com/gitea/act_runner/releases/tag/v0.2.3

Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 23.11 Release Notes (or backporting 23.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.

@ofborg ofborg bot added 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. labels Jul 14, 2023
Copy link
Member

@emilylange emilylange left a comment

Choose a reason for hiding this comment

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

Upstream seems to have changed the following ldflag from
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${version}"
to
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=v${version}"
in
https://gitea.com/gitea/act_runner/pulls/201/files#diff-836efb6e25a091dcb4ff8e1dbb2f0be6a5cbf14c

Can you change this as well, please?
(GitHub won't let me comment on the line directly)

@Kranzes Kranzes requested a review from emilylange July 16, 2023 13:45
Copy link
Member

@emilylange emilylange left a comment

Choose a reason for hiding this comment

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

Thanks.

I went ahead and manually verified that the runner registers properly.
Really looking forward to merging #228815 soon (as v1.20 seems to be around the corner).

"-s"
"-w"
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${version}"
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=v${version}"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=v${version}"
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${src.rev}"

@SuperSandro2000 SuperSandro2000 merged commit a5065ff into NixOS:master Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants