Skip to content

Conversation

linuxmobile
Copy link
Contributor

Updated gowall from 0.2.0 to 0.2.1, added update-script & fixed issue when build:

Issue related to this:

2025/04/15 04:48:10 Error: Could not create config directory: mkdir /homeless-shelter: permission denied
2025/04/15 04:48:10 Error: Could not create config directory: mkdir /homeless-shelter: permission denied
2025/04/15 04:48:10 Error: Could not create config directory: mkdir /homeless-shelter: permission denied
ERROR: installShellCompletion: installShellCompletion: installed shell completion file `/nix/store/b3ncxdb2g0627kch93vh805531j24fqc-gowall-0.2.1/share/bash-completion/completions/gowall.bash' does not exist or has zero size

Key changes:

Build Inputs:

  • Added nix-update-script to the list of build inputs.

Post-Installation Script:

  • Added commands to set up the HOME directory and create a .config directory during the post-installation.

Additional Metadata:

  • Added passthru.updateScript to include the nix-update-script function.

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@github-actions github-actions bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Apr 15, 2025
@nix-owners nix-owners bot requested review from emilytrau and ItsCrem April 15, 2025 05:05
@FKouhai
Copy link
Member

FKouhai commented Apr 22, 2025

could you squash your commits into 1 leaving the commit message as the version change?
btw thanks for the updates :)
other than that the PR looks good

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 398764


x86_64-linux

✅ 1 package built:
  • gowall

@linuxmobile
Copy link
Contributor Author

linuxmobile commented Apr 22, 2025

could you squash your commits into 1 leaving the commit message as the version change?
btw thanks for the updates :)

In previous PRs I was told that this was wrong, I had just done everything in the same commit, because in my opinion it did not make sense, and I was told that it was better to separate them. -> #378096 (review)

Yesterday the same thing happened to me with another PR, where the reviewers don't agree with the requests.

@FKouhai
Copy link
Member

FKouhai commented Apr 22, 2025

that's interesting, in those cases I'd kind of refer to https://github.com/nixOS/nixpkgs/blob/master/CONTRIBUTING.md#commit-conventions
where we should split commits into different logical units, which makes sense, i.e you add yourself to the maintainers list and create a package, those should be 2 different commits but for the same package I personally don't think are separate logical units.
which also depending on the merge strategy used it may even help keeping the history a bit more cleaner although it is kind of rough with the amount of commits we have.
You could also refer to https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#commit-conventions for pkgs

@linuxmobile
Copy link
Contributor Author

you add yourself to the maintainers

well, I honestly don't know what steps to take lately. Contributing to the community is becoming increasingly tedious. One reviewer tells you one thing, another tells you another.

You can clearly analyze the other PR, and I was instructed to separate the commits by refactors. I understand perfectly what “Contributing” says about “conventional commits”. But I don't see that the reviewers agree, I even mention again what happened yesterday, a user asked me for changes, I made them, you asked me for other changes.

I don't feel comfortable every time reviewers contradict and make me reverse changes that I was previously asked to make. If the PR is wrong, I prefer to close it and move on to another topic.

@FKouhai
Copy link
Member

FKouhai commented Apr 22, 2025

I understand that feeling and im sorry you feel that way I totally agree that these "edge" cases should be agreed on or at least documented somewhere so we are all on the same page. I think all contributors want to preserve a standard and a community friendly with new comers or not so new comers, maybe we could start a deeper discussion in a github issue if there isn't one already so that way as many people as possible could give their feedback

@linuxmobile
Copy link
Contributor Author

For now I'm just going to run off to the side, I do this in my tiny spare time to contribute to the project. As an attempted contributor I feel that you (the reviewers) put a lot of “sticks in the wheel” for new contributors, I feel that our voice is simply not heard. And in the end they end up overshadowing what could be another collaborator. This is not the first case I have seen this happen, in fact I have shared this same feeling with other people who had intentions of contributing to nixpkgs, but similar issues have happened to them. Today I was even discussing the fact that each pr usually takes forever to merge. I can understand that there are “many” but there are 14 with more than 3 "approvals", and they have not been merged. There are prs with 2 approved for more than 4 weeks, without any issue or requirement about it. I hope you understand what I am trying to express. It has been a pleasure

@FKouhai
Copy link
Member

FKouhai commented Apr 22, 2025

I fully understand it, as of right now I have 1 PR with 2 approvals waiting to be merged for a month or so, I usually just try to give light reviews with things that could be done better to my understanding and based on my experience trying to contribute to this repo.
about PR's taking time to be merged I think it's something we all agree on in the end there's not many comitters/mergers to a lot of contributors/maintainers

@infinisil
Copy link
Member

Here's my proposal to avoid this kind of thing: #400934

With this clarification of guidelines, this PR here should be undoubtedly fine with its three independent commits.

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