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

git-appraise: init unstable at 2018-02-26 #46781

Merged
merged 1 commit into from Sep 18, 2018

Conversation

vdemeester
Copy link
Member

@vdemeester vdemeester commented Sep 17, 2018

Signed-off-by: Vincent Demeester vincent@sbr.pm

Motivation for this change

Package up a recent version of https://github.com/google/git-appraise… That's why it's starting from master (a.k.a. unstable-2018-02-26)

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.


buildGoPackage rec {
name = "git-appraise-unstable-${version}";
version = "2018-02-26";
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like the commit was on February 27th.

Copy link
Member Author

Choose a reason for hiding this comment

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

@haslersn weird… go2nix did put this 🤔 but indeed GitHub shows Feb. 27th

Copy link
Member Author

Choose a reason for hiding this comment

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

ah… because of my timezone I guess

git show 2414523
commit 2414523905939525559e4b2498c5597f86193b61 (HEAD -> master, origin/master, origin/HEAD)
Merge: 0cd354a 7c60f9d
Author: Omar Jarjur <ojarjur@google.com>
Date:   Mon Feb 26 21:36:54 2018 -0500

@@ -0,0 +1,23 @@
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove unused fetchers. :)


goPackagePath = "github.com/google/git-appraise";

src = fetchgit {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any reason to not use fetchFromGitHub here? It saves a lot of bandwidth.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really, it's just how go2nix did it. I'll update 😉


meta = {
description = "Distributed code review system for Git repos";
homepage = "https://github.com/google/git-appraise";
Copy link
Contributor

Choose a reason for hiding this comment

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

Prefer unquoted urls when you're not doing subtitutions within them

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
@vdemeester
Copy link
Member Author

@srhb updated 👼

@srhb
Copy link
Contributor

srhb commented Sep 18, 2018

@GrahamcOfBorg build gitAndTools.git-appraise

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gitAndTools.git-appraise

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/m63mr83fsdy9qp1v763v1c41yi6m2p9i-git-appraise-unstable-2018-02-26-bin
shrinking /nix/store/m63mr83fsdy9qp1v763v1c41yi6m2p9i-git-appraise-unstable-2018-02-26-bin/bin/git-appraise
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m63mr83fsdy9qp1v763v1c41yi6m2p9i-git-appraise-unstable-2018-02-26-bin/bin
patching script interpreter paths in /nix/store/m63mr83fsdy9qp1v763v1c41yi6m2p9i-git-appraise-unstable-2018-02-26-bin
checking for references to /build in /nix/store/m63mr83fsdy9qp1v763v1c41yi6m2p9i-git-appraise-unstable-2018-02-26-bin...
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/m63mr83fsdy9qp1v763v1c41yi6m2p9i-git-appraise-unstable-2018-02-26-bin

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: gitAndTools.git-appraise

Partial log (click to expand)

find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
find: '/nix/store/i5s5bpa1ba03mwk30mwdr3gc44lvyc5r-git-appraise-unstable-2018-02-26': No such file or directory
/nix/store/pavqij0sdb4jyz3dsw9r2p9rp1ymh7xr-git-appraise-unstable-2018-02-26-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gitAndTools.git-appraise

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/v5ng36n65xp0hf14mnvjv0pgzvj1q5ic-git-appraise-unstable-2018-02-26-bin
shrinking /nix/store/v5ng36n65xp0hf14mnvjv0pgzvj1q5ic-git-appraise-unstable-2018-02-26-bin/bin/git-appraise
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/v5ng36n65xp0hf14mnvjv0pgzvj1q5ic-git-appraise-unstable-2018-02-26-bin/bin
patching script interpreter paths in /nix/store/v5ng36n65xp0hf14mnvjv0pgzvj1q5ic-git-appraise-unstable-2018-02-26-bin
checking for references to /build in /nix/store/v5ng36n65xp0hf14mnvjv0pgzvj1q5ic-git-appraise-unstable-2018-02-26-bin...
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/v5ng36n65xp0hf14mnvjv0pgzvj1q5ic-git-appraise-unstable-2018-02-26-bin

@srhb
Copy link
Contributor

srhb commented Sep 18, 2018

Thanks!

@srhb srhb merged commit 108de37 into NixOS:master Sep 18, 2018
@vdemeester vdemeester deleted the new-git-appraise branch September 18, 2018 08:12
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

4 participants