Skip to content
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

syncthingtray: init at 0.9.1 #65480

Merged
merged 14 commits into from Aug 23, 2019
Merged

Conversation

doronbehar
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@aanderse
Copy link
Member

Thank you for packaging this. I'll likely make use of it at some point.

I've left a few comments I hope you find constructive and useful.

@doronbehar
Copy link
Contributor Author

Where are the comments @aanderse ?

pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
@aanderse
Copy link
Member

Where are the comments @aanderse ?

Apparently stuck in the 'Pending' state! Sorry 😆

@doronbehar doronbehar force-pushed the package-syncthingtray branch 3 times, most recently from 5e67084 to e90ec05 Compare August 1, 2019 13:34
Copy link
Member

@timokau timokau left a comment

Choose a reason for hiding this comment

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

Sorry for the nitpicks, but well.. you asked for it ;)

pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
@Martchus
Copy link

Since this is also labeled with darwin you might be interested in the following issue covering some special tweaks required for MacOS: Martchus/syncthingtray#37

So for MacOS changes are required which have not been released yet. By the way, I'm going to release the next version (0.10.0) soon.

@doronbehar
Copy link
Contributor Author

@Martchus I haven't read thoroughly the whole discussion you've had there at Martchus/syncthingtray#37 but we've had an issue with Darwin when packaging cpp-utilities.

As cpp-utilities is a dependency of syncthingtray, I guess this package doesn't yet support Darwin as well. I don't have a Mac to test this and since I'm the first NixOS user now interested in this package I guess I won't be the person to fix our support for this platform.

@Martchus
Copy link

Martchus commented Aug 22, 2019

@doronbehar Things - including cpp-utilities - are actually supposed to build for MacOS. For cpp-utilities you need -DUSE_STANDARD_FILESYSTEM:BOOL=OFF and -DENABLE_THREAD_LOCAL:BOOL=OFF. But like I said, it makes only sense to have this for MacOS with the upcoming release.

I don't have a Mac to test

Me neither. So my level of support for this is also quite low.

@doronbehar
Copy link
Contributor Author

Oh right then, @timokau meta.platforms is set to linux currently so I think everything is ready. Could you please give verify everything is OK and approve / merge this?

Copy link
Member

@timokau timokau left a comment

Choose a reason for hiding this comment

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

Two more nitpicks + @Martchus's point, then this should be good to go I think.

pkgs/applications/misc/syncthingtray/default.nix Outdated Show resolved Hide resolved
pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
@timokau timokau merged commit b4ae37b into NixOS:master Aug 23, 2019
@timokau
Copy link
Member

timokau commented Aug 23, 2019

Thank you for the contribution and your patience :) Feel free to ping me if you want me to review one of your PRs in the future.

@doronbehar doronbehar deleted the package-syncthingtray branch August 23, 2019 18:31
@doronbehar
Copy link
Contributor Author

Thanks :) it was a pleasure.

@doronbehar doronbehar mentioned this pull request Aug 24, 2019
10 tasks
@doronbehar doronbehar mentioned this pull request Sep 19, 2019
10 tasks
This was referenced Sep 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants