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
add patchwork #59111
add patchwork #59111
Conversation
i kind of bumbled through this by copying the the |
seems to run ok but there are warnings. any help debugging would be appreciated! this on boot:
then a lot of this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed in #53156 (comment) you should probably renamed the package and put it in pkgs/applications/networking/ssb/
alongside patchwork-classic
.
Related with your bug report #59100
@thedavidmeister I think the error you're seeing is coming from ssbc/patchwork#972 |
Is this "patchwork" or "patchwork-classic"? Because if it is the latter, don't mind continuing... patchwork-classic is afaik deprecated and only patchwork should be used. If it is patchwork, I'd welcome to have this in nixpkgs! |
@matthiasbeyer patchwork, i got the latest appimage |
…pkgs into 2019-04-07-patchwork
i tested running this version has a lot fewer errors than newer version(s): ssbc/patchwork#972 tried adding moved the derivation to fixed don't think |
thanks for the review @asymmetric i implemented what i could, how do you feel about it now? |
Added a comment. |
@asymmetric i don't see it 🤔 |
Because you defined |
@asymmetric great, seems to work with the how you feeling about it now? |
Nice! You should clean up the commit history and make it fit this. In short, there should probably be just one commit (maybe two, to add yourself to the maintainers), and it should look like |
@asymmetric doesn't github provide the option to squash commits when merging the PR? |
Yes, but it does not provide options for cleaning up the branch. You made several changes which should end up in different commits, but not several changes which should end up in one commit. |
Also I think it's nice not to ask the maintainers to clean up your branch when merging, even if in theory they could :) But I agree that there's a lot of things to check manually when contributing to nixpkgs. |
This is the real history of the code development, rewriting it to fit someone(s) else’s aesthetics is beyond me I’m afraid IMO “cleaning up” is a git smell, I don’t expect anyone to ever do it! but I’ll roll with this idea to get a merge approved Would 1 commit for maintainers and 1 for everything else as suggested earlier provide sufficient dopamine for everyone? 😉 |
Yes two commits is fine. One for adding yourself to the maintainers list, and the other one for the package init is what would be expected. And thanks for the contribution! The Making patches section of the manual has the exact format for packages and modules. The manual explains it as “Make commits of logical units”. The main idea being that yes, while developing things are messy, and it's natural, they're not necessarily what's published here. It is “a smell”, but I'm not sure it's a bad smell, considering the scope of Nixpkgs, and how git, this way, becomes the history of the main changes, not the development history of separate features. This is part of CONTRIBUTING.md. |
@samueldr what is the commit message for adding myself to maintainers? |
When in doubt, I check the history and try to reason with the general rules. Here Package inits and upgrades have rules that allows automation. |
fixes #59100
Motivation for this change
Adds patchwork, official client for secure scuttlebutt.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)