Curse (Curseforge and Wowace) Packaging, svn + git
I have recently been added to the Enchant Check project at WowAce as the original author is no longer playing WoW. The repository is SVN but one of the libraries it uses (LibItemUpdateInfo-1.0) is a GIT repository.
The new format for .pkgmeta (and svn:externals) uses HTTPS:// for everything instead of SVN:// and GIT:// and I don't know how to include the GIT repository as an external to the SVN project. Can anyone here help or point me to an SVN project that uses GIT externals that I can study? BTW, I've temporarily solved the problem by "git clone"ing the LibItemUpdateInfo-1.0 project into my working SVN copy and then manually adding the files needed into the SVN repository. |
svn:externals only allows for referencing subversion paths. It does not support referencing git or mercurial repositories.
I don't know anything about curseforge's new packager only supporting https:// in .pkgmeta (if true, that'd be a silly change from them), but more likely your issue is that the paths to all of their repositories changed, so if you are trying to use .pkgmeta check what the project's repository url is now. |
Quote:
To update the URLs, you will need to look up the library on either Curseforge or Wowace, then click the Source button, and there is the new link. For your externals, list them as you have always done. And remember, if you use a Libs folder (a good idea), preface the section accordingly. Code:
Libs/LibWhoo-1.0: url.com/url/etc Code:
externals: |
Quote:
Code:
https://repos.wowace.com/wow/libitemupgradeinfo-1-0 Libs/LibItemUpgradeInfo-1.0 I put the line: Code:
Libs/LibItemUpgradeInfo-1.0: https://repos.wowace.com/wow/libitemupgradeinfo-1-0 |
There is no such thing as SVN:externals, and there never has been. There is only externals, exactly as I have written above. The externals supports SVN, Hg, and Git, but you never specify, because it does not matter, and never has mattered.
|
For reference, I am posting my .pkgmeta (or pkgmeta.yaml if you use the file name like that) for SmartRes2. As you can see, there is both CF/WA urls and a Github url.
Code:
package-as: SmartRes2 |
Also, this is tripping you up, but it trips up a lot of people. There is some discussion to clean up the Source as printed on web pages. The emphasized and coloured part is a misprint, as it were.
Quote:
|
Quote:
Thanks for your help! I now have the Curse packager working properly for this project. |
Quote:
|
All times are GMT -6. The time now is 03:41 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI