haxelib
haxelib copied to clipboard
Can't upload my haxelib anymore
Im trying to upload my library FlxAnimate to Haxelib, but when I do it, it just doesn't let me because "I'm not the owner"
I share this library with someone else, but I stopped talking to that person and I believe they stopped working on Haxe for over 2 years ago... is there a way to change the ownership to me?
As a contributor, you should still be able to publish the package, you just cannot change the order of contributors. The owner is the first person in the contributors array.
The usual way for ownership to move is for the original owner to upload a new version with a new owner. I'm not sure if it's possible to change the owner another way.
The thing is that the one who uploaded I lost contact with him and I pretty much stepped up on the thing and now because of the other person being the "owner" of the repo. I can't upload the library and I wanna know if theres a way for it to be forced to me cos I would really like to upload the lib lol
You can upload the library as long as you don't change the contributors field in haxelib.json (might apply to the repo url too?)
Accordng to haxelib.json ( https://lib.haxe.org/p/flxanimate/3.0.4/files/haxelib.json ) there are two contributors DotWith and MrCheemsAndFriends. If the account MrCheemsAndFriends is yours, it should be possible to upload the new version with the permisson given to the account MrCheemsAndFriends Make sure you are using MrCheemsAndFriends , not another similiar account like Cheemsandfriends
You cannot change any of these fields if you're not the owner: https://github.com/HaxeFoundation/haxelib/blob/5a836287828fdaeb6aa91695a5eb399cee0f6640/src/haxelib/server/Repo.hx#L286
But other than that you should be able to upload.
been trying, but istg there's no luck, it still spews to me the "only project owner can change project infos" error message.
Is there no way to get a manual edit of the haxelib so I can upload the thing at least?? if not, I'll try getting in contact and see if he's even online to transfer the ownership
You need to restore haxelib.json to that state: https://lib.haxe.org/p/flxanimate/3.0.4/files/haxelib.json
And only change fields not mentioned by @tobil4sk above (contributors might not change either because of ownerChanged || devsChanged)
I'm gonna go back to this, I copied the file and tried to upload the haxelib, and it didn't let me it's been like 6 months since I can't upload it to haxelib, I tried countless times to contact the guy I worked it with, but he's offline for good and he told me he didn't even remember the haxelib password, so I can't do it through the owner's methods, and the haxelib file always marks me as if I modified something for some reason, even if using the 3.0.4 haxelib json
is there a way to just force push it with the help of someone? At this point the only thing I could do is just make a duplicate haxelib with a different name but it'd be not that great
I'm gonna go back to this, I copied the file and tried to upload the haxelib, and it didn't let me the haxelib file always marks me as if I modified something for some reason, even if using the 3.0.4 haxelib json
Please can you share the exact haxelib.json file you are including in the package upload, along with the error message