ypkg icon indicating copy to clipboard operation
ypkg copied to clipboard

Support for multiple sources with the same target file name

Open mixedCase opened this issue 8 years ago • 4 comments

Currently there's no way to handle this situation.

Real example:

https://github.com/elm-lang/elm-compiler/archive/0.18.0.zip https://github.com/elm-lang/elm-make/archive/0.18.0.zip https://github.com/elm-lang/elm-package/archive/0.18.0.zip https://github.com/elm-lang/elm-reactor/archive/0.18.0.zip https://github.com/elm-lang/elm-repl/archive/0.18.0.zip

This is the tooling for the Elm language, it's released in multiple repos simultaneously on a new language version. All the zip files have this version as the file name.

As a reference, Arch's PKGBUILDs handle this with an optional prefix: elm-compiler.0.18.0.zip::https://github.com/elm-lang/elm-compiler/archive/0.18.0.zip

mixedCase avatar Jun 13 '17 19:06 mixedCase

Currently a known issue with ypkg. The alternative option is to re-host them on the solus-project site. @ikeydoherty can you please re-host the zip files and provide the links to them for @mixedCase

Justinzobel avatar Jun 14 '17 05:06 Justinzobel

No - that's a workaround, and I specifically spoke with @mixedCase on IRC so we can actually fix this issue :)

ikeydoherty avatar Jun 14 '17 11:06 ikeydoherty

Ahh excellent! Minetest will be a good test-case as it's got a 0.4.16 out.

Justinzobel avatar Jun 15 '17 02:06 Justinzobel

I would like to help on this feature as need it to build apple Swift with the same names on github. I have seen Arch PKGBUILD way and it works well.

tommyshem avatar Mar 13 '18 14:03 tommyshem