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

pump.io 2.1.1 #23568

Closed
wants to merge 5 commits into from
Closed

pump.io 2.1.1 #23568

wants to merge 5 commits into from

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Mar 6, 2017

Motivation for this change

Package was broken and new stable releases have been made.

Could this also be cherry-picked onto release-17.03 please?

Relevant to #23253.

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

@rvl, thanks for your PR! By analyzing the history of the files in this pull request, we identified @svanderburg, @abbradar and @FRidh to be potential reviewers.

@Mic92
Copy link
Member

Mic92 commented Mar 6, 2017

Yes it can be cherry-picked to 17.03. There is also 3.0 already released: https://github.com/pump-io/pump.io/releases

How do I use pumpio? If I start it from commandline:

$ pump
{"name":"pump.io","hostname":"eve","pid":18432,"level":30,"msg":"Listening on 31337 for host 127.0.0.1","time":"2017-03-06T22:06:37.455Z","v":0}

it does not open a socket on localhost:31337.

@rvl
Copy link
Contributor Author

rvl commented Mar 10, 2017

Thanks @Mic92 I will add the 3.0 release to this PR. There are some config file changes for this version which I will need to test. To use pump.io, you need to run a database and configure services.pumpio in NixOS.

rvl added 5 commits March 10, 2017 22:41
The package stopped building for some unknown reason (npm could no
longer fetch a module).

This is one of the build failures listed in NixOS#23253.

    http://hydra.nixos.org/build/49551309
    http://hydra.nixos.org/build/49548753

Easiest fix is to upgrade to latest stable version and regenerate
packages with node2nix.

The databank-memcached dependency needed to be dropped due to
dependency failures.
JS devs found a new way to be annoying - adjust code accordingly.

Have also put this change in PR svanderburg/node2nix#40
These changes are backwards compatible.
Added extra config options to allow reading passwords from file rather
than the world-readable nix store.

The full config.json file is created at service startup.

Relevant to NixOS#18881
@Mic92
Copy link
Member

Mic92 commented Mar 12, 2017

I applied your fixes with some minor style changes and made "localhost" the default value of address again.

@rvl
Copy link
Contributor Author

rvl commented Mar 12, 2017

Most excellent, thanks @Mic92

globin pushed a commit that referenced this pull request Mar 13, 2017
fixes #23568

(cherry picked from commit 41625dc)
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