-
Notifications
You must be signed in to change notification settings - Fork 4
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
Move those files to Unvanquished ? #21
Comments
Not sure, but they certainly could be with https://github.com/Unvanquished/validate-release. |
Yes |
I thought about this a bit, and seen #24. I'm thinking that if we want to make cmake able to build a dpk it could be useful to adapt those scripts if needed instead of writting yet another implementation. So moving this to the unv repo would be useful if we want to reuse it (CC @bmorel since you were talking about cmake dpk yesterday) |
Also the git clone https://github.com/Unvanquished/release-scripts.git
git clone --recurse-submodules https://github.com/Unvanquished/Unvanquished.git
cd Unvanquished/
../release-scripts/build-release vm That looks overly complicated to me. We could just do: git clone --recurse-submodules https://github.com/Unvanquished/Unvanquished.git
cd Unvanquished/
utils/build-release vm |
Also we don't need “one repo per script” or almost that. |
Since I was mentioned... |
The Docker script downloads the Unvanquished repository inside the container. So to use it, you would perversely have to download the Unvanquished repo once to get the Dockerfile and then a 2nd time inside the container. I'm not saying this is a killer argument against merging them, but putting it here for your consideration. |
We could update the docker script to mount the current directory instead of cloning the git repo |
For me part of the appeal of the Docker script is that it ensures that the builder doesn't have uncommitted junk or the wrong submodules checked out. You know you're getting what's actually in Git. |
The dæmon repo is also a good candidate as this script is to build both dæmon engine and dæmon-based games. In fact, right now the only hardcoded mentions to Unvanquished in this script is some macos stuff that may even be redesigned to be more agnostic. Anyway getting this in Unvanquished would already be a good step forward.
Even not considering we need to download the Unvanquished repo for macOS (if we find way to avoid that, I'm in to remove that restriction), yes there are some convenience in the fact the docker file is in a small repo. This If I'm right the docker file runs this script, not the other way, so we may even move this script to Unvanquished or Dæmon and get the Dockerfile run the script from there. I see less needs for the other scripts to be moved into Unvanquished or Dæmon. The other one for making the unizip has less urge as well. People are complaining for long time doing a mod isn't easy, |
I'm usually a strong opponent to submodule (ab)use, but, one of the advantages this have is to pull dependencies. Currently, I think the CI stuff is inside unvanquished repo (appveyot), and I usually consider this as an entirely different project, which modifications have very little in common with the actual program (thankfully on unvanquished the code history is not too polluted by changes there... for some projects there are most CI stuff than code stuff I feel!).
could possibly be a single repo (unv-build?), that would also contain CI, and have unvanquished + the pkg/ stuff as submodules. It's role would be to handle everything lined to CI/CD and releases, possibly also the scripts @necessarily-equal did for the generation of servers and nightly maintenance. |
Docker and build-release should definitely not live in different repos as they are tightly coupled. Having them be together is much more important than not downloading the repo twice, which is more of an aesthetic issue than a real problem. I haven't heard of any project putting CI in a different repo and I don't see how it could work. We need CI to trigger on changes to the Unvanquished or Daemon repos; having those as submodules of a CI repo would mean that the references to test would be hard-coded. |
I always find annoying that those files are in a separate repository.
Also some scripts versions may be somewhat version-specific (we modify the script and commit the modification when the game requires it).
The text was updated successfully, but these errors were encountered: