|
From: Jason H. <jh...@ap...> - 2012-03-26 23:28:28
|
On Mar 26, 2012, at 6:11 PM, Dave Yu wrote: > Is there a proper process for removing a tpkg from a repository? No: http://sourceforge.net/apps/trac/tpkg/ticket/16 > We have an accidentally uploaded tpkg causing problems because the version number is newer than it should be. Is it safe to just delete the file from the repository server? Yes, you can just delete it from the repository and re-run tpkg -x. The reason we're somewhat cautious about allowing easy deletes is that users tend to abuse it for cases where they should just bump the version number. I.e. a bad use case for deleting a package is: * User releases foo-1.0-1.pkg * User realizes 1.0-1 is broken * User wants to delete 1.0-1 and replace it with a correct package The user should just release 1.0-2, but novice packagers are often reluctant to leave broken versions in the repository. A good use case is the case you have where the version number is completely bogus, the package hasn't been available for very long so few, if any, users will have picked it up, etc. In that case the right thing is to delete the bogus package and release a correct version. In my experience that is infrequent enough that we just made it a manual operation, track down a tpkg admin and ask them to delete the package manually. However I would like this to be supported functionality at some point in the future. Jason |