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

ping: init 0.6.0 #56428

Merged
merged 2 commits into from Mar 2, 2019
Merged

ping: init 0.6.0 #56428

merged 2 commits into from Mar 2, 2019

Conversation

@xiorcale
Copy link
Contributor

@xiorcale xiorcale commented Feb 26, 2019

Motivation for this change

Since Pantheon desktop has recently been added to Master, adding some "curated" apps from Elementary AppCenter seems to be a good idea to complete it.

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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.


src = fetchFromGitHub {
owner = "jeremyvaartjes";
repo = "ping";
Copy link
Contributor

@worldofpeace worldofpeace Feb 27, 2019

Choose a reason for hiding this comment

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

Suggested change
repo = "ping";
repo = pname;

@@ -9016,6 +9016,8 @@ in

phantomjs2 = libsForQt5.callPackage ../development/tools/phantomjs2 { };

ping = callPackages ../development/web/ping { };
Copy link
Contributor

@worldofpeace worldofpeace Feb 27, 2019

Choose a reason for hiding this comment

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

Suggested change
ping = callPackages ../development/web/ping { };
ping = callPackage ../development/web/ping { };

Copy link
Contributor

@worldofpeace worldofpeace Feb 27, 2019

Choose a reason for hiding this comment

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

Also I don't think this belongs in development/web.

This is a gui application that is useful for debugging web API's, so maybe applications/networking.

Note that our organization in nixpkgs is kinda questionable at times

Copy link
Contributor Author

@xiorcale xiorcale Feb 27, 2019

Choose a reason for hiding this comment

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

I put it in development/web because postman was there, which is more or less the same application than ping

Furthermore, it's a tool used for debugging API which are under development, so I think it makes sense to keep it here.

Copy link
Contributor

@worldofpeace worldofpeace Feb 27, 2019

Choose a reason for hiding this comment

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

Manual says that for things under development should be

it’s used to support software development

And then goes on to mention libraries, compilers, and build-managers.
None on which will ever become a gui application.

You could say that an application like this would support software development, but so could an IDE, and they never should go under development.

I'd say that things like postman should be moved to a new place under applications/ and the closest thing we have currently is something like applications/networking.

Copy link
Contributor Author

@xiorcale xiorcale Feb 28, 2019

Choose a reason for hiding this comment

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

I totally agree with you, I actually wanted to put the app under applications/networking before I discover that postman was under development/web

What should I do then ? Keeping consistency with the actual organization or move ping under applications/networking to better agree with the manual ?

Copy link
Contributor

@worldofpeace worldofpeace Feb 28, 2019

Choose a reason for hiding this comment

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

I'd say applications/networking would be the best place currently.

We usually clean up the actual organization eventually.

Copy link
Contributor Author

@xiorcale xiorcale Mar 1, 2019

Choose a reason for hiding this comment

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

Alright, I will move it to the right place then!

Also, I was wondering, wouldn't it be more convenient to have the curated apps from Elementary App Center organized under desktop/pantheon in a special directory for them? Because some of these apps seem to be tightly coupled with some part of the desktop (e.g. Wingpanel, ...).

Copy link
Contributor

@worldofpeace worldofpeace Mar 1, 2019

Choose a reason for hiding this comment

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

Alright, I will move it to the right place then!

Exclamation here confused me.

Also, I was wondering, wouldn't it be more convenient to have the curated apps from Elementary App Center organized under desktop/pantheon in a special directory for them? Because some of these apps seem to be tightly coupled with some part of the desktop (e.g. Wingpanel, ...).

I thought of this too, and I've decided that apps that specifically won't function without some part of the pantheon desktop can be organized there.
I've also patched granite so that they work outside pantheon (not needing wingpanel).
And even if they don't work I'd like them to default to not needing their desktop.
See: ac2546b

Copy link
Contributor Author

@xiorcale xiorcale Mar 2, 2019

Choose a reason for hiding this comment

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

Exclamation here confused me.

well, I was maybe a bit too enthusiastic that we found an agreement 😄

I had no idea about granite, but it makes sense yes. And the idea of the flag to default to not needing their desktop seems convenient too. Thanks for the details.

@worldofpeace
Copy link
Contributor

@worldofpeace worldofpeace commented Feb 27, 2019

Can you also pull adding yourself to the maintainers-list into a separate commit?

maintainers: add kjuwi

@worldofpeace worldofpeace changed the title Ping init 0.6.0 ping: init 0.6.0 Feb 27, 2019
Copy link
Contributor

@worldofpeace worldofpeace left a comment

Everything's good, and I'll merge once the history is cleaned up to just having the two commits.

maintainers: add kjuvi
ping: init at 0.6.0

pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
pkgs/top-level/all-packages.nix Outdated Show resolved Hide resolved
xiorcale added 2 commits Mar 2, 2019
ping: init at 0.6.0

Update pkgs/development/web/ping/default.nix

Co-Authored-By: Kjuvi <quentin.vaucher@protonmail.com>

Update pkgs/development/web/ping/default.nix

Co-Authored-By: Kjuvi <quentin.vaucher@protonmail.com>

Update pkgs/development/web/ping/default.nix

Co-Authored-By: Kjuvi <quentin.vaucher@protonmail.com>

Update pkgs/development/web/ping/default.nix

Co-Authored-By: Kjuvi <quentin.vaucher@protonmail.com>

Update pkgs/development/web/ping/default.nix

Co-Authored-By: Kjuvi <quentin.vaucher@protonmail.com>

Update maintainers/maintainer-list.nix

Co-Authored-By: Kjuvi <quentin.vaucher@protonmail.com>

Update maintainer-list.nix

ping: init at 0.6.0
fix missing glib

Fix missing import: hicolor-icon-theme

move ping under applications/networking

ping: init at 0.6.0

ping: init at 0.6.0

maintainers: add kjuvi
@GrahamcOfBorg GrahamcOfBorg requested a review from worldofpeace Mar 2, 2019
@worldofpeace worldofpeace merged commit 1560d5f into NixOS:master Mar 2, 2019
10 checks passed
@worldofpeace
Copy link
Contributor

@worldofpeace worldofpeace commented Mar 2, 2019

Hope you found the review informative @Kjuvi , and thank you for your contribution

@xiorcale xiorcale deleted the ping-init-0.6.0 branch Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants