tpkg / client

tpkg client code
MIT License
5 stars 7 forks source link

Allow pkgs to be deprecated or deleted #15

Open jheiss opened 12 years ago

jheiss commented 12 years ago

I have a tpkg I set up, but I ended up splitting it into 2 packages and I don't want anyone to use the old packages. Currently there is no way to mark (tag) packages as "Dear God don't use this" or to delete the package completely from the repo. I'm looking for either one of those solutions.

Was: https://sourceforge.net/apps/trac/tpkg/ticket/16

jheiss commented 12 years ago

There's some synergy with the functionality requested in https://github.com/tpkg/client/issues/11 but this feature would be useful on its own. Specifically, in Frank's case he could have marked his two new packages as replacing the old single package if we had the "replaces" functionality requested in https://github.com/tpkg/client/issues/11. However, there are cases where there's no replacement, we've just deprecated the old package because it is broken, has security problems, etc. and want folks to take some completely different approach. In that case folks would just want to deprecate the old packages.

I'm opposed to deleting packages unless they were uploaded by mistake and have screwball versions or whatnot that mess things up forever. Otherwise I prefer just bumping the version, fixing the problem and uploading a new package that supersedes the bad package. (And perhaps marking the bad package as deprecated for good measure.)

Was: https://sourceforge.net/apps/trac/tpkg/ticket/16#comment:1