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-packr: init at 1.13.7 #60069

Closed
wants to merge 1 commit into from
Closed

Conversation

edude03
Copy link
Contributor

@edude03 edude03 commented Apr 23, 2019

Motivation for this change

Breaking up #53691 into nice commits / PRs.

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

@tomfitzhenry
Copy link
Contributor

packr has been updated to v2. Should that be packaged instead?

https://github.com/gobuffalo/packr/blob/master/v2/README.md

{ stdenv, buildGoPackage, fetchgit }:

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

Choose a reason for hiding this comment

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

Suggested change
name = "go-packr-${version}";
pname = "go-packr";


goDeps = ./deps.nix;

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.

Please use fetchFromGitHub because

  1. It is more efficient
  2. It allows us to fix GitHub specific issues

};

meta = with stdenv.lib; {
license = licenses.mit;
Copy link
Member

Choose a reason for hiding this comment

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

Please add meta.description and meta.homepage.


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

Choose a reason for hiding this comment

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

Please update to the latest stable version currently "2.7.1".

Suggested change
version = "v1.13.7";
version = "2.7.1";

goDeps = ./deps.nix;

src = fetchgit {
inherit rev;
Copy link
Member

Choose a reason for hiding this comment

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

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

buildGoPackage rec {
name = "go-packr-${version}";
version = "v1.13.7";
rev = "5a2cbb54c4e7d482e3f518c56f1f86f133d5204f";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
rev = "5a2cbb54c4e7d482e3f518c56f1f86f133d5204f";

@edude03
Copy link
Contributor Author

edude03 commented Jan 10, 2020

Hey @ryantm thanks for reviewing the PR, I appreciate the feedback :)

Unfortunately my company has deprecated concourse internally and thus this PR has gone unmaintained.

How would you suggest we proceed? Should we fix these last issues and merge it, or do you think we should close it until someone else finds a need for it?

@ryantm
Copy link
Member

ryantm commented Jan 10, 2020

@edude03 Personally, I think of myself as a radical inclusionist and would want everything packaged if possible, but, I think most people expect packaged things to have a maintainer, so it is probably best to close it until someone else who wants to maintain it adds it back.

@edude03
Copy link
Contributor Author

edude03 commented Jan 14, 2020

Closing because unmaintained

@edude03 edude03 closed this Jan 14, 2020
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