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

modemmanager: rename ModemManager.service to modem-manager.service #30452

Closed
wants to merge 1 commit into from

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Oct 15, 2017

This is in line with NetworkManager.service being renamed to
network-manager.service

Motivation for this change
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
    • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

This is in line with NetworkManager.service being renamed to
network-manager.service
@flokli
Copy link
Contributor Author

flokli commented Oct 16, 2017

this currently fails due to ltk build process being broken, see #30462

@@ -30,7 +31,8 @@ stdenv.mkDerivation rec {
'';

postInstall = ''
mv $out/$out/etc/systemd/system/ModemManager.service $out/etc/systemd/system
# rename to modem-manager to be in style
mv $out/$out/etc/systemd/system/ModemManager.service $out/etc/systemd/system/modem-manager.service
Copy link
Member

@Mic92 Mic92 Oct 17, 2017

Choose a reason for hiding this comment

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

I think we should stick to upstream here. Consistency is not worth breaking upstream documentation and expectation how things are named.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Granted. I just found it weird renaming was done for NetworkManager, but not here. Should this also be reverted for NetworkManager then?

Copy link
Member

Choose a reason for hiding this comment

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

Mhm. I would have not done it there too for the same reason.

Copy link
Member

Choose a reason for hiding this comment

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

So it seems I have a different opinion then @domenkozar in 2014.

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'd say as long as NetworkManager is renamed to modem-manager, ModemManager should be called modem-manager, too.

The current state is more than confusing.

@flokli
Copy link
Contributor Author

flokli commented Dec 7, 2017

@domenkozar What do we do with this?

@domenkozar
Copy link
Member

Naming is hard, I don't have an opinion anymore about this. There is no win-win outcome :)

@Mic92 Mic92 closed this in c6882b2 Mar 23, 2018
@flokli flokli deleted the modem-manager branch March 24, 2018 22:53
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

3 participants