haxelib icon indicating copy to clipboard operation
haxelib copied to clipboard

Be able to remove haxelib project

Open markknol opened this issue 9 years ago • 12 comments

By accident I added this lib http://lib.haxe.org/p/Bar but I really want it to be removed. How can this be done?

markknol avatar Feb 25 '15 11:02 markknol

this would indeed be useful to be able to remove things

wighawag avatar Mar 04 '15 16:03 wighawag

I would like to do this, or at least be able to flag a library as deprecated/renamed

jgranick avatar Mar 05 '15 23:03 jgranick

I think I could implement that, but what's the official position on adding stuff to haxelib? I saw some PRs where @jasononeil and @back2dos were talking about about reworking the architecture before adding new commands, but it's 2015 now and we're still sitting on the same codebase. I'd say, let's just add missing things in the current arch and think about rewriting the whole thing later, when someone comes up who is willing to take the job.

nadako avatar Mar 08 '15 12:03 nadako

There are no official positions in this project I'm afraid. Mine is that removing should not be allowed, only hiding from search, etc. Also, the client code is quite a mess as it is, I prefer adding as little as possible. The necessity for this feature arises every two months or so. Generally I have handled this by hand. I don't know how well the site is moving along, but this kind of administrative stuff should go there.

On Sun, Mar 8, 2015 at 1:43 PM, Dan Korostelev [email protected] wrote:

I think I could implement that, but what's the official position on adding stuff to haxelib? I saw some PRs where @jasononeil https://github.com/jasononeil and @back2dos https://github.com/back2dos were talking about about reworking the architecture before adding new commands, but it's 2015 now and we're still sitting on the same codebase. I'd say, let's just add missing things in the current arch and think about rewriting the whole thing later, when someone comes up who is willing to take the job.

— Reply to this email directly or view it on GitHub https://github.com/HaxeFoundation/haxelib/issues/168#issuecomment-77746786 .

back2dos avatar Mar 08 '15 20:03 back2dos

At the moment I've focused on the site providing a better experience for discovering and learning about projects.

I do intend to add some project management features though. I was mostly thinking about password resets, but deprecating projects is probably important too. I agree it's probably easier to manage through the web interface than yet another command on the haxelib client.

On Mon, Mar 9, 2015 at 4:26 AM, Juraj Kirchheim [email protected] wrote:

There are no official positions in this project I'm afraid. Mine is that removing should not be allowed, only hiding from search, etc. Also, the client code is quite a mess as it is, I prefer adding as little as possible. The necessity for this feature arises every two months or so. Generally I have handled this by hand. I don't know how well the site is moving along, but this kind of administrative stuff should go there.

On Sun, Mar 8, 2015 at 1:43 PM, Dan Korostelev [email protected] wrote:

I think I could implement that, but what's the official position on adding stuff to haxelib? I saw some PRs where @jasononeil https://github.com/jasononeil and @back2dos https://github.com/back2dos were talking about about reworking the architecture before adding new commands, but it's 2015 now and we're still sitting on the same codebase. I'd say, let's just add missing things in the current arch and think about rewriting the whole thing later, when someone comes up who is willing to take the job.

— Reply to this email directly or view it on GitHub < https://github.com/HaxeFoundation/haxelib/issues/168#issuecomment-77746786

.

— Reply to this email directly or view it on GitHub https://github.com/HaxeFoundation/haxelib/issues/168#issuecomment-77772161 .

jasononeil avatar Mar 10 '15 02:03 jasononeil

I agree in general a project should not be removable, since it could break projects which already depend on it. Deprecating the project by submitting a new release with deprecation note with a "deprecated" tag should be good enough.

Exceptional cases, like those are pure mistakes and we've high confidence that no one depends on them, can be removed by request. So, yeah, I've just removed the "Bar" lib.

I'm keeping this open until we document the deprecation/removal process.

andyli avatar Aug 18 '16 20:08 andyli

I think the developer has the "right" to remove a library he wrote, even it is depended on by other users? And I think it is really the lib developer's responsibility to communicate with its user about the removal.

kevinresol avatar Oct 09 '16 16:10 kevinresol

I don't think so. All code published on haxelib is published under a free license, whereby the author relinquishes any kind of ownership from which such a right might stem. The author can't tell you to uninstall the library locally. In fact even if the author had the technical means to remove the code from haxelib, they can't stop you from submitting it yourself.

Since we have no obligation to allow authors to remove code from haxelib, I think we can use that to provide a more reliable eco system (than for example NPM, where hell can break lose because one guy doesn't get to be the princess).

Haxelib should be basically insert only and we should follow that through by disallowing to modify existing versions.

back2dos avatar Oct 09 '16 18:10 back2dos

by disallowing to modify existing versions

Strongly in favor of that. Being able to re-release the same version again is a recipe for disaster (because then you can't actually tell what version of the version you have...).

Gama11 avatar Oct 09 '16 18:10 Gama11

So, the conclusion is: don't allow users to remove projects from haxelib. For deprecation feature see #312

RealyUniqueName avatar Oct 09 '19 12:10 RealyUniqueName

Maybe we can do something simple to prevent accidental submissions? A big fat, red warning text saying that a library cannot be deleted once added? Make the user type the full name of the library to confirm?

Aurel300 avatar Oct 09 '19 20:10 Aurel300

Yeah, something like confirmation prompt should decrease accidents rate.

RealyUniqueName avatar Oct 10 '19 06:10 RealyUniqueName