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

jo: 1.1 -> 1.2 #61040

Merged
merged 1 commit into from May 9, 2019
Merged

jo: 1.1 -> 1.2 #61040

merged 1 commit into from May 9, 2019

Conversation

matthiasbeyer
Copy link
Contributor

The "src.rev" was changed because upstream tag does not have the "v"
prefix for this version.

A little bit of code formatting was done as well.

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 (centos 7)
  • 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 nix-review --run "nix-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.

@matthiasbeyer
Copy link
Contributor Author

@GrahamcOfBorg build jo

@ghost
Copy link

ghost commented May 6, 2019

Looks fine to me, I built and tested the result and didn't encounter any issues 👍

@c0bw3b
Copy link
Contributor

c0bw3b commented May 7, 2019

It has a small test suite that can be enabled by adding doCheck = true;

Also jo -v still reports being v1.1 but it's only because upstream tagged as "1.2" the commit just before bumping the version number in configure.ac

@@ -1,15 +1,14 @@
{stdenv, fetchFromGitHub, autoreconfHook}:

stdenv.mkDerivation rec {
name = "jo-${version}";
version = "1.1";
name = "jo-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

hmm, I'm no big fan of this alignment.

  1. It wastes more space
  2. If we, for example, change name to pname, we either generate diff noise or leave it inconsistent.

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 will change it to pname right away and fix alignment.

Copy link
Contributor

@tomberek tomberek left a comment

Choose a reason for hiding this comment

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

Builds, runs, functions as expected. Pending other reviews, this looks good.

sha256="1gn9fa37mfb85dfjznyfgciibf142kp0gisc2l2pnz0zrakbvvy3";
owner = "jpmens";
repo = "jo";
rev = "${version}";
Copy link
Contributor

Choose a reason for hiding this comment

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

it's not necessary to interpolate version

Suggested change
rev = "${version}";
rev = version;

sha256="1gn9fa37mfb85dfjznyfgciibf142kp0gisc2l2pnz0zrakbvvy3";
owner = "jpmens";
repo = "jo";
rev = version;
Copy link
Member

@Lassulus Lassulus May 8, 2019

Choose a reason for hiding this comment

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

also alignment here

The "src.rev" was changed because upstream tag does not have the "v"
prefix for this version.

A little bit of code formatting was done as well.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@marsam marsam merged commit c955bdb into NixOS:master May 9, 2019
@marsam
Copy link
Contributor

marsam commented May 9, 2019

Tested locally on NixOS and darwin.
Thanks!

@matthiasbeyer matthiasbeyer deleted the update-jo branch May 9, 2019 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants