-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
fetchzip: respect the name
argument
#10539
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
Conversation
Without this `fetchzip` breaks if `url` doesn’t end with `zip`, even if proper `name` was given.
Apart from the missing 'rec' to bring 'name' into scope (see travis-ci), I think this actually causes a regression :-( For example, try adding a character to the attic fetchurl name argument (to force rebuild). Then observe:
|
Well, I could of course have given the package in question a name which ends in "zip", but in the case of fetchzip, the result is a directory, not a file, so having name = "foo.zip" when it really is a directory feels weird. |
Ping |
Ugh. Well, then this is a question of unification. Right now, as far as I can tell, |
I have no opinion at the moment. I might re-visit later. |
@kirelagin Despite this being a one line change, I am not convinced of its correctness and this has to do with the specification of the function mentioning that it needs to work for tar and zip and you only talk about zip files. In order to move this forward, please articulate the specific problem that this will solve and how it solves this. When there is no feedback within three months, I am going to ask someone to close this PR. |
@kirelagin As @bjornfor mentioned this currently is simply wrong. So, please make a PR that actually works. PR that do not work, should be prefixed with WIP, if they are in fact a work in progress and not just abandoned. |
I have literally no idea what this is about by now. |
Oh, and, by the way, I am inclined to believe that the problem is articulated rather clearly in the PR referenced in the OP. |
This is a respin of #8795.