stash: refactor; 0.25.1 -> 0.27.2; nixos/stash: init#323231
stash: refactor; 0.25.1 -> 0.27.2; nixos/stash: init#323231FliegendeWurst merged 4 commits intoNixOS:masterfrom
Conversation
1e88836 to
42d1ca5
Compare
4206b75 to
1d0a178
Compare
27ac7fd to
2687ded
Compare
a7f641e to
b9ae77c
Compare
|
Thanks for the review. |
|
Please familiarize yourself with the contributing guide https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md especially on how to name commits. It is appreciated that you try to do tiny commits but probably some of those 24 commits could be combined to make this PR not look as daunting. |
@SuperSandro2000 |
|
Anything else needed for this to be merged? |
|
has newer version 0.27.2 |
|
suggestion: run these in your local checkout # minor style improvments
echo nixos/tests/stash.nix pkgs/by-name/st/stash/package.nix nixos/modules/services/web-apps/stash.nix | xargs -n1 nix shell nixpkgs#statix.out -c statix check
# this is good (for this pr)
nix shell nixpkgs#deadnix.out -c deadnix nixos/tests/stash.nix pkgs/by-name/st/stash/package.nix nixos/modules/services/web-apps/stash.nixjust a suggestion, also fyi I don't have commiter access. |
|
Thanks, I'll definitely use them. I believe I fixed most/all of Sandro's suggestions. |
|
@phanirithvij What would be the next steps to get this merged? Should I re-submit to discourse/matrix "ready for review" and wait? |
phanirithvij
left a comment
There was a problem hiding this comment.
ran nixosTest locally, LGTM
|
@DrakeTDL yes |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4843 |
This comment was marked as outdated.
This comment was marked as outdated.
pkgs/by-name/st/stash/package.nix
Outdated
There was a problem hiding this comment.
any particular reason for this overrideAttrs? can put passthru in buildGoModule itself.
also maybe add passthru.frontend = ui; so people have the ability to override ui build from outside. eg.
There was a problem hiding this comment.
any particular reason for this overrideAttrs? can put
passthruin buildGoModule itself.
I initially did that because buildGoModule didn't accept a fixed-point function and I didn't think that I could request itself from the arguments. Don't know why I thought that since it is a package like any other.
As suggested, I inlined passthru and inherited frontend.
Uses git source directly instead of binary releases Adds an update script Adds a version test
Description of changes
This Pull Request:
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.