-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support addons hosted on git repositories #13
Comments
QA nightmare. Git repos don't have standard structure plus most of them don't include required libraries. |
That's a user problem, not a support problem. By its nature, addons from a git repository would be more of a pro user thing. |
I will think how to implement it. |
Adding to Cephel's thought, an option to add a github repository manually would be nice, but concerning general support, you could provide some sort of check an author could put in their repository that flags their addon on github as a "standard install". Many authors already use pkgmeta files and other markers for projects. |
I would argue if "standard install" even exist. Yes - there are some standards but they don't guarantee repository structure. And I think adding something that will detect it is out-of-scope for this project. Considering that will be power user feature I'm rather thinking about approach where user set repo directories/symlinks manually and CurseBreaker just execute I still think about it. |
What I meant by "standard install" is that pulling the repo as-is would be exactly how the addon is supposed to be installed into Interface\AddOns, as in the repo has the necessary libs, folders, files, and .toc. The detect flag would put the responsibility of a correct install on the author and not CB. In any case, I look forward to what you'll do with github support. |
I was thinking about using GitHub releases but it is somewhat messy and still have the same issue as cloning bare repo. I will stick with my original idea to automate |
I would prefer if by default, CurseBreaker assumes the addon repository is directly hosted on the source tree, so the root folder has the .toc file and such, meaning you can check it out directly into the interface/addons folder. Then, a flag should exist to specifiy subfolders within the repository, in case the repository root starts with a folder, ie. Supporting these two use cases would make almost every addon hosted on git viable to be imported. |
This make sense but I rather implement something that will detect TOC and structure automatically. |
There is also third popular scenario. Two addons in repo - one TOC directly in root of repo and second in sub-directory. Quite common scenario if addon have separate options addon. I'm starting to think that proper support of GitHub is not worth the time investment needed to implement that in civilized way. |
After long consideration I not found any way of supporting it in a way that I like. |
It would be pretty nice if you could have it install and maintain an addon by installing it via its repository URL.
The text was updated successfully, but these errors were encountered: