I'm fairly new to repositories and how to use them, but I've managed to figure out much of it on my own. However, there's still one thing I can't seem to figure out. When listing the libraries to import in the .pkgmeta file, is there a way to have it put a single .lua file into the main folder of the addon rather than making a whole new folder and putting multiple files into that new folder?
So far, I've tried just copying the files into my addon and not listing them in the .pkgmeta file, but that caused problems with my addon because a red message appeared at the top of the page saying the project was in an abnormal state due to hard-embedded libraries. Once that was resolved, I tried making the .pkgmeta file pull in the files, but every combination I've tried hasn't worked. Either what I type causes an error, or it just imports the entire repository into my addon.
Basically I want to know if there's a way to have the .pkgmeta file just import certain .lua files into the main folder of my addon. If there isn't a way, what should I do? Will just copying them and renaming them work? I don't want to have hard-embedded library problems again. I don't know for sure yet, but I may want to eventually make changes to these libraries, depending on how I decide to edit the code. I don't know if that makes any difference in how I should go about setting up my repository, but I'll just throw that out there.
Will just copying them and renaming them work? I don't want to have hard-embedded library problems again.
Since all of the libraries in the repository you mentioned are LibStub-based, you don't need to (and probably shouldn't) rename them. Just copy the files into your repository. LibStub will handle any version conflicts if someone is running your addon and another addon that includes the same libraries, exactly like it would if the libraries weren't hard-embedded.