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

acme-client: 0.2.5 -> 1.0.1 #88201

Merged
merged 3 commits into from Jun 16, 2020
Merged

acme-client: 0.2.5 -> 1.0.1 #88201

merged 3 commits into from Jun 16, 2020

Conversation

@ruuda
Copy link
Contributor

ruuda commented May 19, 2020

Motivation for this change

A new version has been released upstream.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Initially this pull request was for version 1.0.0, which needed a small patch for a missing include. This has now been fixed upstream in version 1.0.1, and I have updated this pull request accordingly.

The upstream version fails to compile due to a missing limits.h include.
I added a patch to fix that.

I opened a pull request to upstream it too, but the project has moved
from GitHub onto sr.ht and now asks me to send a patch to the mailing
list. My default email client is not really suitable for that, and
getting git-send-email set up will take some work, so in the meantime
it is easier to just patch it here.
@graywolf
Copy link

graywolf commented May 24, 2020

1.0.1 is out and includes your patch. I would also suggest using tar balls from https://data.wolfsden.cz/sources/, it will allow you to skip the autoreconf step in your build process.

I submitted my patch upstream, it was merged, and version 1.0.1 which
includes it has been released. So the patch here is no longer necessary.

Also, the maintainer added a Nixpkgs-based build environment to the
upstream CI setup, so in the future the upstream version will likely
not need any patching.
@ruuda ruuda changed the title acme-client: 0.2.5 -> 1.0.0 acme-client: 0.2.5 -> 1.0.1 May 24, 2020
This was suggested by the upstream maintainer [1], and it is a nice
simplification. Also change the url to sr.ht as the project has moved
there.

[1]: #88201 (comment)
@ruuda
Copy link
Contributor Author

ruuda commented May 24, 2020

1.0.1 is out and includes your patch.

Thanks for the quick release! I updated this pull request.

I would also suggest using tar balls from https://data.wolfsden.cz/sources/, it will allow you to skip the autoreconf step in your build process.

I did not know about these sources, thanks for the suggestion. That is a nice simplification of the package, I added that to this PR.

@pmahoney, could you please take a look?

@nixos-discourse
Copy link

nixos-discourse commented Jun 9, 2020

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/180

Copy link
Contributor

pmahoney left a comment

Looks good.

@graywolf is that URL preferable to, e.g. https://git.sr.ht/~graywolf/acme-client-portable/archive/v1.0.1.tar.gz ? Is it documented somewhere other than your comment above?

@graywolf
Copy link

graywolf commented Jun 14, 2020

In general yes, it is preferable, since it is output of make dist with all
the implications. It is not documented anywhere, which is a good point. I
should probably put the link somewhere.

@Lassulus Lassulus merged commit c56895b into NixOS:master Jun 16, 2020
16 checks passed
16 checks passed
Evaluation Performance Report Evaluator Performance Report
Details
acme-client, acme-client.passthru.tests on aarch64-linux Success
Details
acme-client, acme-client.passthru.tests on x86_64-linux Success
Details
grahamcofborg-eval ^.^!
Details
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
grahamcofborg-eval-darwin nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="bdd706c"; rev="bdd706ccb24375ac1acf8a168f8a9a57b0fc258e"; } ./pkgs/t
Details
grahamcofborg-eval-lib-tests nix-build --arg pkgs import ./. {} ./lib/tests/release.nix
Details
grahamcofborg-eval-nixos nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="bdd706c"; rev="bdd706ccb24375ac1acf8a168f8a9a57b0fc258e"; } ./nixos/
Details
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="bdd706c"; rev="bdd706ccb24375ac1acf8a168f8a9a57b0fc258e"; } ./nixos/
Details
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="bdd706c"; rev="bdd706ccb24375ac1acf8a168f8a9a57b0fc258e"; } ./nixos/
Details
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="bdd706c"; rev="bdd706ccb24375ac1acf8a168f8a9a57b0fc258e"; } ./pkgs/t
Details
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="bdd706c"; rev="bdd706ccb24375ac1acf8a168f8a9a57b0fc258e"; } ./pkgs/t
Details
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="bdd706c"; rev="bdd706ccb24375ac1acf8a168f8a9a57b0fc258e"; } ./pkgs/t
Details
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
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

5 participants
You can’t perform that action at this time.