-
Notifications
You must be signed in to change notification settings - Fork 47
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
Single-source the version number #343
Comments
This should be possible using a "replacement" as described in Section 26.9 of the asciidoc userguide. |
Hi all, so it looks like we actually have 2 things in this issue:
(1) sounds necessary to me; (2) sounds like a good idea. Is anybody willing to champion 1 or both of these? I would support it! |
Dear all Thanks for pointing it out, Leon @adigitoleo. I think @zklaus is right that we could add a "replacement" i.e. a sort of macro in AsciiDoc for the current version number, so that only one occurrence needed to be changed. I am not familiar with the build process so I won't volunteer to do that. Is there a checklist for making a new version, to which this could be added? I think @davidhassell must know. As Daniel @erget says, it would be easy to fix the typo, and I'm sure we would approve the change as a defect issue for it . But could we agree to modify the live 1.9 document immediately? There would be no point in agreeing a defect correction to 1.9 which wasn't going live until 1.10 in this case! Best wishes and happy 2022 to the CF community Jonathan |
I added a draft PR in #344 that addresses (2). If we decide to tackle (1) separately, the list of changes in that PR should give a good overview of the places that need changing. |
Thanks @zklaus, the PR looks pretty cool. Also yes, happy new year everybody! :) I've requested also the input of @davidhassell since he's more heavily involved in the release process. @JonathanGregory, I propose that we proceed as follows:
What do you think? |
Dear @zlaus, @erget, @davidhassell et al. Thanks for the PR, Klaus. I agree that you've provided a neat solution, as Daniel says in other words. I agree with renaming the top-level anchor of the conformance document. It's probably more useful if generic anyway. I note that you have helpfully made this change in an example in ch7. Is this the only example in the whole document which includes the Daniel suggests defining Is there a reason why we should not release 1.10 with this change as soon as we've agreed it, and any others agreed since 1.9, and then start preparing 1.11 for release in the summer? Cheers Jonathan |
@JonathanGregory I see the typo in the following places:
There are no other examples with the Convention attribute. Looking at the built artifacts from that PR, there are no more version number typos that I can see. |
Discussion in review comments of #344 reproduced here for the record. (May I politely and respectfully remind everyone that the CF practice is to keep substantive discussions about text in the issue, not the PR, so we have a single place to look for the history. Thanks. 😄 ) Might it make sense to do this?:
And then remove I had this locally at some point, but I removed it again because I felt that it looked odd in the
and in the text where this attribute is described, for example
Hence my suggestion to add a second But I am happy to use the simpler solution :) I don't have overly strong feelings here, but in the absence of Sturm und Drang from other corners my preference would be to go with using
and thus it would be easier to maintain, and also more obvious that one is working with a draft. |
@JonathanGregory thanks for bringing us back on track!
I think that would make sense. |
I agree with putting |
Personally, I'm more for the terser formulation of |
I prefer the more terse formulation. Replacing the space with a dash, so |
From @zklaus in #344 (comment):
I think this is pretty elegant - IMO in order to make this perfect the way to go would be to change the build workflow to run with |
Dear @zklaus As @adigitoleo says, there are no examples in the document which contain the Best wishes Jonathan |
It took me awhile to understand the meaning of the term I like the definitive nature of updating the version from |
Re workflow, that was exactly my thinking. I have added this now to #344. Re removing the attribute from the examples, I am not so sure. I think we should probably consider categorizing examples in the conventions as either "full examples" or "simple examples"/"excerpts" and then rather add the attribute to all full examples and possibly some excerpts as appropriate. My reasoning is that I think many first time producers of data files will follow closely some examples and if we leave out this attribute, they might too. Re @ethanrd's comment on the naming of the attribute, I completely agree, |
Dear @zklaus I don't think there are any "full examples" in the document. (This new issue is relevant to this.) That is probably because full examples are not what we need to illustrate particular points. I will propose the deletion of the Best wishes Jonathan |
Thanks, @JonathanGregory, your points make sense to me. Let's take that discussion in the other issue and move forward here with the corrected attributes in place. |
Dear @zklaus I've done a pull request to delete the Best wishes Jonathan |
Dear @JonathanGregory, such a clash is called a Cheers |
Thanks for the heads-up, @JonathanGregory. I have updated #344 accordingly. I have also addressed @ethanrd's suggestion of making the attribute name more explicit. |
Reminder set. If you have a problem, speak in the next 3w or forever hold your peace! |
The current published standard (v1.9) contains a typo in section 1.4 Overview:
So, the version number was not incremented in that paragraph. This could be avoided by somehow reading the version number from a central location when building the document, if that is possible.
Just something I noticed when reading through again today.
6 Jan 2022. I'm adding the enhancement label, because we are considering #344 as a solution, and that's a substantive change. @JonathanGregory
The text was updated successfully, but these errors were encountered: