Azdle
August 13, 2015, 3:25pm
1
Is it possible to rename a repo for a published library?
I’ve renamed my https://github.com/exosite-garage/SparkCore-Exosite to https://github.com/exosite-garage/particle_exosite_library . Is there any way to now update the library in the web IDE? When I try to use the new repo name it says that the name is already taken. When I try to use the old name it the validation page is just blank.
Do I just need to rename it to the old repo name to get it to update? Or is there a way to delete the old library so I can publish from the new repo?
Also, side note. It doesn’t seem to like it when I renamed spark.json
to particle.json
like the docs said I should.
@Azdle , have you changed the version number in your json file? It won’t update unless you bump the version number.
Azdle
August 13, 2015, 4:10pm
3
Yep, the web IDE is showing 0.0.1 and my json file has 0.0.2.
Azdle
August 18, 2015, 1:45pm
4
So, I guess that means no?
@Azdle , I am having the same problem and raised the problem to the Particle team.
Azdle
August 18, 2015, 1:50pm
6
Awesome, thanks @peekay123 .
suda
August 18, 2015, 3:21pm
7
Hi Patrick,
to do this you have to delete the library first , then import and publish new version.
1 Like
Azdle
August 21, 2015, 4:43pm
8
@suda It won’t let me delete it because others are using it, “Library has 25 apps that still include it, please bring this to zero to proceed.”
Azdle
August 21, 2015, 4:46pm
9
Okay, so I’m dumb. Apparently I have two different accounts and had originally published that library under the account that I had forgotten about. I went and tried to publish it again, with the new name for the repo, on the other account and it worked just fine.
1 Like