Closed barsoosayque closed 4 years ago
Will be looking at this later today, but for the most part this matches what the CDDA devs told me in #1. I may have some copy edits for this PR before it gets merged, but overall it looks good! 🎉
Can't believe I didn't check issues before making this PR. For mods, I'm not sure if COMMITS_SINCE is practical, and I honestly never seen it used in any Cata version. I assume this part of cdda_version can be safely omitted from the specs.
@barsoosayque You are correct in that the numerical part of a git-ref is not equivalent to the build number. As mentioned in #1, we unfortunately can't assume build numbers will always be a reliable reference the the source code revision or version used within a build for a variety of reasons (change in build system, reprovisioning of the same build system without a backup of previous builds, etc). It's safest to just specify the desired revision via a Git ref, SHA, or tag, as that will always guarantee the desired version of the source code you're referencing.
That said, I'm still open to improvements in wording or clarity to what's already here. The only real restriction I'd put on changes aside from technical accuracy is that they try to follow an the RFC style guide (details here) as best they can.
I'll let you decide where you'd like to take this PR, but if you don't have other changes you'd like to include relating to versioning I'd suggest closing this one and opening up a new one for any other changes you'd like to see or make. đź‘Ť
PS: Sorry for the slow response. Civil unrest in my area has been taking up a lot of my attention. Feel free to find my on Discord again if I'm not responsive.
Yeah, fair enough. Although, I would image that is not very convenient for people to use git refs to specify the version. After all, git is not a common knowledge, however, luckily, there are tags for every experimental build, so it might be worth describing here how to link specific experimental version to the commit hash / tag. Do you think the specification is a good place to have such tips, or is it belong somewhere else ?
@barsoosayque The spec is intended for a technical audience, mainly for folks writing software to manage mods or game devs on CDDA who determine how mod files are interpreted. This is a demographic that works with git pretty regularly, so I’m not too worried about explaining that. Furthermore, I think tool usage (git, JSON, editors, Github) are a bit beyond the scope of this project.
That said, I agree that documentation is important and that there are things we can and should do to help interested parties that wish to contribute.
As an example: If this spec does gain traction I believe we can solve the documentation problem you’re describing by updating the “how to make a mod” guides in the CDDA repo. :)
release[-build]
is a de-facto standard for C:DDA versions, so it would be nice to use it in thecdda_version
field as a more accurate way of defining the game version.