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

go-jira: init at 1.0.17 #39363

Merged
merged 1 commit into from Apr 24, 2018
Merged

go-jira: init at 1.0.17 #39363

merged 1 commit into from Apr 24, 2018

Conversation

carlosdagos
Copy link
Member

@carlosdagos carlosdagos commented Apr 23, 2018

Motivation for this change

I borked up #26240 (sorry, I clearly need to learn how to git) where I didn't list any motivations. It's just a nice-enough program.

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
    • 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/)
  • [] Fits CONTRIBUTING.md.

Additionally, this is an updated version to what was intended in the previous PR at #26240.

@@ -0,0 +1,22 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
Copy link
Member

Choose a reason for hiding this comment

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

Could you remove useless attributes?

sha256 = "0ap5dzikp934mawigmv7ighajr5yxpck2gpnb2cmkc1p6qa6gn4v";
};

meta = {
Copy link
Member

Choose a reason for hiding this comment

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

Would you like to become the maintener of this packet? In this case, could you add yourself to the maintainers list?

{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
name = "go-jira-v1-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

I think the name should be go-jira-${version}.


goPackagePath = "gopkg.in/Netflix-Skunkworks/go-jira.v1";

src = fetchgit {
Copy link
Member

Choose a reason for hiding this comment

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

Could you use the tag as rev? Something such as rev = "v${version}".

@carlosdagos
Copy link
Member Author

Thanks for reviewing @nlewo. I've added the changes as you suggested and added myself as a maintainer.

buildGoPackage rec {
name = "go-jira-${version}";
version = "1.0.17";
rev = "b98da3612d6ab0f3872b64ff36e6cf93219fb4d4";
Copy link
Member

Choose a reason for hiding this comment

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

rev is then useless

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @nlewo :) This has been amended now.

@nlewo
Copy link
Member

nlewo commented Apr 24, 2018

@carlosdagos Thanks. One last thing, can you squash your commits and remove (using go2nix) from your commit message?

@carlosdagos
Copy link
Member Author

Sure thing @nlewo. All done now :)

@carlosdagos carlosdagos changed the title go-jira: init at 1.0.17 (using go2nix) go-jira: init at 1.0.17 Apr 24, 2018
@nlewo
Copy link
Member

nlewo commented Apr 24, 2018

@GrahamcOfBorg build go-jira

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: go-jira

Partial log (click to expand)

/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/200scrum.t: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/140basic-attach.t: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/400project.t: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/120custom-commands.t: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/000setup.t: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/100basic.t: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/yn7b42inhdn68n4ds21423p5pnnnz55l-go-jira-1.0.17...
/nix/store/scfil8ydy0q3rz3qgss05gppjgy7ai18-go-jira-1.0.17-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: go-jira

Partial log (click to expand)

/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/140basic-attach.t: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/200scrum.t: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/300kanban.t: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/400project.t: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/500process.t: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/t/600task.t: interpreter directive changed from "/bin/bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/vendor/golang.org/x/sys/unix/mkall.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
/nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17/share/go/src/gopkg.in/Netflix-Skunkworks/go-jira.v1/vendor/golang.org/x/sys/unix/mkerrors.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/s9k078n256vg5i6427s0bgqc530s6f4f-go-jira-1.0.17...
/nix/store/93lk5ls7wjfvjcc6c2smd93abn8b6wfb-go-jira-1.0.17-bin

@nlewo
Copy link
Member

nlewo commented Apr 24, 2018

@carlosdagos Thanks!

@nlewo nlewo merged commit e095629 into NixOS:master Apr 24, 2018
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

3 participants