Hi,
I'm trying to update my addon using Tortoise SVN, but I cannot checkout the current addon from the server, it gets to the FuBarPlugin lib and errors about a repository not existing at the required directory.
I tried to commit the new files but it all got really messy. Is there any way to remove the files from the repository and upload them all from scratch? The embedded libs also seem to be saved in a list server-side which I can't access, as that's whats stopping me clearing it out and reuploading it all.
On CurseForge, information about which libraries should be embedded is (or should be) stored in a ".pkgmeta" file. On every other SVN for addon development I'm aware of, this information is stored in the standard SVN externals property field. CurseForge is different because it likes to be special, and because it allows developers to use not just SVN, but Git and HG/Mercurial as well, and needs to be able to embed files from different types of repos.
For development, you should check out without externals. You should then check both the SVN properties (right-click on the folder > SVN submenu > Properties > look for "externals" in the list) and delete those if they exist, or for a file named ".pkgmeta" in the addon folder -- and correct the paths to each lib you want to embed. Then you can delete or overwrite the checked out addon files and commit all of the changes in one step.
Also, telling us which addon you're trying to update would get you more specific and relevant assistance.
Excellent, thanks a lot. Yes I read up about the .pkgmeta files, but my addon was originally on the wowace svn so it had the svnexternals property set. I could view the properties list but wasn't able to edit it for some reason (I don't know how I was accessing it but it certainly wasn't the right way), accessing it from right click-> properties allows me to delete the externals and set them correctly in a pkgmeta file. The only problem was creating the file itself; it's a hassle to create a pkgmeta file in windows since it doesn't let you type a filename with an extension and no name. I ended up copying the file from another addon and editing it accordingly.
I didn't include the addon name since it doesn't really seem relevant but for reference it's ShamanBuffBars. I tried a download from curseforge and it's got all the files, (libs included) in the zip. Now to tag it and go experience Northrend! Thanks for your help Phanx!
I'm trying to update my addon using Tortoise SVN, but I cannot checkout the current addon from the server, it gets to the FuBarPlugin lib and errors about a repository not existing at the required directory.
I tried to commit the new files but it all got really messy. Is there any way to remove the files from the repository and upload them all from scratch? The embedded libs also seem to be saved in a list server-side which I can't access, as that's whats stopping me clearing it out and reuploading it all.
For development, you should check out without externals. You should then check both the SVN properties (right-click on the folder > SVN submenu > Properties > look for "externals" in the list) and delete those if they exist, or for a file named ".pkgmeta" in the addon folder -- and correct the paths to each lib you want to embed. Then you can delete or overwrite the checked out addon files and commit all of the changes in one step.
Also, telling us which addon you're trying to update would get you more specific and relevant assistance.
I didn't include the addon name since it doesn't really seem relevant but for reference it's ShamanBuffBars. I tried a download from curseforge and it's got all the files, (libs included) in the zip. Now to tag it and go experience Northrend! Thanks for your help Phanx!