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

gnome3.gconf: re-add as a pointer to the removal PR #45571

Merged
merged 1 commit into from Aug 25, 2018

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Aug 24, 2018

Motivation for this change

#43268 removed GConf from GNOME 3 package set, let’s add an error for a little while to save people digging through the commit log.

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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added 6.topic: GNOME GNOME desktop environment and its underlying platform 10.rebuild-darwin: 0 10.rebuild-linux: 0 labels Aug 24, 2018
@@ -399,6 +399,8 @@ lib.makeScope pkgs.newScope (self: with self; {

gnome-packagekit = callPackage ./misc/gnome-packagekit { };

# TODO: remove this after 18.09 has forked off
gconf = throw "gconf has been removed because it’s a pile of trash, see https://github.com/NixOS/nixpkgs/pull/43268";
Copy link
Member

Choose a reason for hiding this comment

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

Let's keep the error message for the end-user a bit... less opinionated :). I'm sure it is a piece of trash, but the message itself would be better suited as something like:

gconf has been removed, it is deprecated. See #43268 for more information.

Couldn't find a solid date for the deprecation. Would have been nice for the message (it is deprecated since 20xx), showing how much of a pile of rot it is.

Additionally, since we're linking to the PR, it may be interesting to review the main body of #43268, not to remove the opinions, but to make it more obvious for the end-user what is the way forward.

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 was not able to find a date either, thought the wiki page for the initiative appears to have been created in 2009: https://wiki.gnome.org/action/recall/Initiatives/GnomeGoals/GSettingsMigration?action=recall&rev=1

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 added tl;dr to the OP in the PR.

Copy link
Member

Choose a reason for hiding this comment

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

I'm 👎 on the "pile of trash" note. We may have users who like gconf, or even authored gconf. Being so judgemental gains us nothing risks hurting the feelings of our users, or being extra-annoying when they have to change their system configuration to keep up with NixOS.

What would be useful here is a "what do I do now?" message about how to change their now-broken system in to a working-like-I-want system.

Copy link
Member

@grahamc grahamc Aug 25, 2018

Choose a reason for hiding this comment

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

Note, referring people to #43268 is not even especially helpful: it doesn't have any instructions about what the user should do, just that it is evidently feces. Yes it does ;)

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 did not really mean anything too bad by that, the fact is the majority of software is bad, including all of mine. Though I agree that the comment does not really add anything and some people might be offended by it so I will tone it down.

Copy link
Member

@samueldr samueldr left a comment

Choose a reason for hiding this comment

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

Changing my approval after the quick chat, I thought I didn't care enough to demand the change, but yeah I care enough about the tone of the message to want the change.

NixOS#43268 removed GConf from GNOME 3
package set, let’s add an error for a little while to save people
digging through the commit log.
@jtojnar
Copy link
Contributor Author

jtojnar commented Aug 25, 2018

The error message was now addressed, I have one more concern though. As I wrote in the removal PR:

Eventually, we will probably move it to top-level when gnome2 gets removed (#39976).

We might want to move it now, so the users that still use it do not have to fix that second time. Do you think that moving it to top-level is a good idea? Or should we create a new unmantained/abandoned-by-upstream attribute set?

Copy link
Member

@samueldr samueldr left a comment

Choose a reason for hiding this comment

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

Approving since the actual wanted change has been addressed.

The conversation about doing the gnome2 change preemptively isn't concerning to me.

@jtojnar jtojnar merged commit c429c9a into NixOS:master Aug 25, 2018
@jtojnar jtojnar deleted the gconf-to-error branch August 25, 2018 23:20
@jtojnar
Copy link
Contributor Author

jtojnar commented Sep 3, 2018

Bah, this breaks building gnome3 attribute set:

$ nix-build -A gnome3
error: gconf is deprecated since 2009 and has been removed from the package set. Use gnome2.GConf instead. For more details see https://github.com/NixOS/nixpkgs/pull/43268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: GNOME GNOME desktop environment and its underlying platform 10.rebuild-darwin: 0 10.rebuild-linux: 0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants