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

slimserver: Init at 7.9.0 (pkg + module) #24008

Merged
merged 20 commits into from Apr 8, 2017
Merged

Conversation

phile314
Copy link
Contributor

Motivation for this change

Add slimserver package + module. Slimserver is the audio server for the Logitech Squeezebox products.
I have used this PR in my personal setup for the last few days and everything works fine.

I will squash the commits once it's merge ready.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@phile314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @joachifm and @offlinehacker to be potential reviewers.

@@ -288,6 +288,7 @@
kresd = 270;
rpc = 271;
geoip = 272;
slimserver = 273;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why static uid?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't know about dynamic ids yet. Maybe it would make sense to put a comment in the ids file that dynamic ids are available? Best placed at the end of the list where one would add a new entry?

Copy link
Contributor

Choose a reason for hiding this comment

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

It should probably be made clearer why one might want to use static ids, at any rate; it's probably heavily overused as-is, leading to the impression that it's required.

Copy link
Member

Choose a reason for hiding this comment

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

I thought that if it has non-transient state, it should be static UID?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

slimserver definitely has non-transient state (settings, music library metadata). So should I use a static UID?

@7c6f434c
Copy link
Member

7c6f434c commented Apr 8, 2017

OK, looks good enough, and isolated enough, so that merging instead of forgetting seems net-positive regardless of what's going on with the service…

@7c6f434c 7c6f434c merged commit 8617265 into NixOS:master Apr 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants