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

kind: init at 2ae73f8e #47967

Merged
merged 1 commit into from Oct 27, 2018
Merged

kind: init at 2ae73f8e #47967

merged 1 commit into from Oct 27, 2018

Conversation

offlinehacker
Copy link
Contributor

  • 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.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: kind

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/iazvvlk2is4kk9jbcq76g21nrg8f0z7q-kind-20181003-2ae73f8-bin
shrinking /nix/store/iazvvlk2is4kk9jbcq76g21nrg8f0z7q-kind-20181003-2ae73f8-bin/bin/kind
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/iazvvlk2is4kk9jbcq76g21nrg8f0z7q-kind-20181003-2ae73f8-bin/bin
patching script interpreter paths in /nix/store/iazvvlk2is4kk9jbcq76g21nrg8f0z7q-kind-20181003-2ae73f8-bin
checking for references to /build in /nix/store/iazvvlk2is4kk9jbcq76g21nrg8f0z7q-kind-20181003-2ae73f8-bin...
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
/nix/store/iazvvlk2is4kk9jbcq76g21nrg8f0z7q-kind-20181003-2ae73f8-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: kind

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3lly4rp1rqhkc1grnfbfcxch36f69ng3-kind-20181003-2ae73f8-bin
shrinking /nix/store/3lly4rp1rqhkc1grnfbfcxch36f69ng3-kind-20181003-2ae73f8-bin/bin/kind
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/3lly4rp1rqhkc1grnfbfcxch36f69ng3-kind-20181003-2ae73f8-bin/bin
patching script interpreter paths in /nix/store/3lly4rp1rqhkc1grnfbfcxch36f69ng3-kind-20181003-2ae73f8-bin
checking for references to /build in /nix/store/3lly4rp1rqhkc1grnfbfcxch36f69ng3-kind-20181003-2ae73f8-bin...
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
/nix/store/3lly4rp1rqhkc1grnfbfcxch36f69ng3-kind-20181003-2ae73f8-bin

goPackagePath = "sigs.k8s.io/kind";
excludedPackages = "images/base/entrypoint";

outputs = [ "bin" "out" ];
Copy link
Member

Choose a reason for hiding this comment

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

This is the default I think.

@@ -0,0 +1,28 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
Copy link
Member

Choose a reason for hiding this comment

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

lib is not used


buildGoPackage rec {
name = "kind-${version}";
version = "20181003-${stdenv.lib.strings.substring 0 7 rev}";
Copy link
Member

Choose a reason for hiding this comment

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

According to the manual, the date format is YYYY-MM-DD.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So it is 20181003 = 2018 October 3, the day of referenced commit

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, not sure to understand:/
In fact, I was talking about missing dashes: s/20181003/2018-10-03.

Also, I think the date is more the date of the day you are writing the package since the goal is to have an ordered package name. But in this PR, 10-03 is fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok i understand, i fixed it.

meta = {
description = "Kubernetes IN Docker - local clusters for testing Kubernetes";
homepage = https://github.com/kubernetes-sigs/kind;
maintainers = with stdenv.lib.maintainers; [ offline ];
Copy link
Member

Choose a reason for hiding this comment

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

Could be shortened to with maintainers...

@offlinehacker offlinehacker force-pushed the pkgs/kind/init branch 2 times, most recently from 6d140f5 to e2376d5 Compare October 14, 2018 08:49
@offlinehacker
Copy link
Contributor Author

I have fixed other things, except for one thing noted above, thanks!

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: kind

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/dfgsr6xwyff0myrjl8shx49bvbcg46ps-kind-20181003-2ae73f8-bin
shrinking /nix/store/dfgsr6xwyff0myrjl8shx49bvbcg46ps-kind-20181003-2ae73f8-bin/bin/kind
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dfgsr6xwyff0myrjl8shx49bvbcg46ps-kind-20181003-2ae73f8-bin/bin
patching script interpreter paths in /nix/store/dfgsr6xwyff0myrjl8shx49bvbcg46ps-kind-20181003-2ae73f8-bin
checking for references to /build in /nix/store/dfgsr6xwyff0myrjl8shx49bvbcg46ps-kind-20181003-2ae73f8-bin...
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
/nix/store/dfgsr6xwyff0myrjl8shx49bvbcg46ps-kind-20181003-2ae73f8-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: kind

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bch01xw3i08xzi4p79midvzqlm0pzi5z-kind-20181003-2ae73f8-bin
shrinking /nix/store/bch01xw3i08xzi4p79midvzqlm0pzi5z-kind-20181003-2ae73f8-bin/bin/kind
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/bch01xw3i08xzi4p79midvzqlm0pzi5z-kind-20181003-2ae73f8-bin/bin
patching script interpreter paths in /nix/store/bch01xw3i08xzi4p79midvzqlm0pzi5z-kind-20181003-2ae73f8-bin
checking for references to /build in /nix/store/bch01xw3i08xzi4p79midvzqlm0pzi5z-kind-20181003-2ae73f8-bin...
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
/nix/store/bch01xw3i08xzi4p79midvzqlm0pzi5z-kind-20181003-2ae73f8-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: kind

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/cxd3zkaybd5rgrjp4hlbya493jd1v7dm-kind-2018-10-03-2ae73f8-bin
shrinking /nix/store/cxd3zkaybd5rgrjp4hlbya493jd1v7dm-kind-2018-10-03-2ae73f8-bin/bin/kind
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/cxd3zkaybd5rgrjp4hlbya493jd1v7dm-kind-2018-10-03-2ae73f8-bin/bin
patching script interpreter paths in /nix/store/cxd3zkaybd5rgrjp4hlbya493jd1v7dm-kind-2018-10-03-2ae73f8-bin
checking for references to /build in /nix/store/cxd3zkaybd5rgrjp4hlbya493jd1v7dm-kind-2018-10-03-2ae73f8-bin...
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
/nix/store/cxd3zkaybd5rgrjp4hlbya493jd1v7dm-kind-2018-10-03-2ae73f8-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: kind

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1bhjygmb1xs24n2yx6fl6b4dz4zg8dsg-kind-2018-10-03-2ae73f8-bin
shrinking /nix/store/1bhjygmb1xs24n2yx6fl6b4dz4zg8dsg-kind-2018-10-03-2ae73f8-bin/bin/kind
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1bhjygmb1xs24n2yx6fl6b4dz4zg8dsg-kind-2018-10-03-2ae73f8-bin/bin
patching script interpreter paths in /nix/store/1bhjygmb1xs24n2yx6fl6b4dz4zg8dsg-kind-2018-10-03-2ae73f8-bin
checking for references to /build in /nix/store/1bhjygmb1xs24n2yx6fl6b4dz4zg8dsg-kind-2018-10-03-2ae73f8-bin...
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
/nix/store/1bhjygmb1xs24n2yx6fl6b4dz4zg8dsg-kind-2018-10-03-2ae73f8-bin

@nlewo nlewo merged commit fa5343b into NixOS:master Oct 27, 2018
@nlewo
Copy link
Member

nlewo commented Oct 27, 2018

Thanks!

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