Skip to content

Commit eb74919

Browse files
Merge branch 'master' into trishaoconnor_tcw22
2 parents 17ff58b + 9ec2509 commit eb74919

File tree

3 files changed

+73
-30
lines changed

3 files changed

+73
-30
lines changed

TCW/tcw20.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ $LastChangedRevision: 8769 $
6363
<p>This document is intended to set out the way things are
6464
currently managed in the
6565
editing of the TEI Guidelines. General notes on the rationale
66-
for this state -- <emph>why</emph> it is the way it is -- may be added here
66+
for this state<emph>why</emph> it is the way it ismay be added here
6767
later. The intention is to provide information for Council
6868
members wishing to contribute actively to the continued
6969
development and maintenance of the text of the Guidelines. </p>

TCW/tcw22.xml

Lines changed: 68 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
intellectual responsibility, rather than as an actual
2121
editor. —Syd, 2021-04-16 -->
2222
<editor xml:id="SDB">Syd Bauman</editor>
23-
<editor xml:id="POC">Patricia O Connor</editor>
24-
<!-- Note: I'm listing myself as an editor solely because I added a change to update the document -->
23+
<editor xml:id="POC">Patricia O Connor</editor>
2524
</titleStmt>
2625
<publicationStmt>
2726
<publisher>TEI Technical Council</publisher>
@@ -33,6 +32,9 @@
3332
</sourceDesc>
3433
</fileDesc>
3534
<revisionDesc>
35+
<change when="2025-09-06" who="#EBB">Added guidance to check links in release notes, including links to latest corrected version of past release notes.</change>
36+
<change when="2025-08-27" who="#SDB">Per HBS, move “merge into "released"” steps up to immediately after the push into the "release-X.X.X" step.</change>
37+
<change when="2025-03-31" who="#POC">Revised and updated procedure as some checking steps are currently listed after the released branch is created. Moved steps 6 and 7 to after step 14.</change>
3638
<change when="2025-01-22" who="#RV">Removed any mentions of Jenkins 3, now defunct.</change>
3739
<change when="2024-11-02" who="#EBB">Clarified where to check on the Vault for the current releases of Stylesheets and Guidelines needed for building the oXygen plugin.
3840
Revised instructions on how to update the table of releases for the GitHub website.</change>
@@ -169,7 +171,6 @@
169171
have to retrace your steps. It's best to start first thing in the morning, and prepare
170172
to be busy all day.</item>
171173
</list>
172-
173174
</div>
174175

175176
<div xml:id="issueHandlingGuidelines">
@@ -203,7 +204,7 @@
203204
and is actually handled by Peter Stadler, this step is not necessary. (JL, 2020-02-13) -->
204205
<item><hi rend="bold">Communicate with the TEI Council chair to make sure that the P5/ReleaseNotes/readme-X.X.X.xml
205206
is compiled</hi><lb/> Normally, this will be created by the TEI Council chair at the
206-
point when the repository moved from its "alpha" stage to "beta", following these steps: <list>
207+
point when the repository moved from its "alpha" stage to "beta", following these steps: <list type="bulleted">
207208
<item>Confirm the version number for the new release in consultation with Council. TEI
208209
version numbers are based on the Unicode Consortium system (<ref target="http://www.unicode.org/versions/"
209210
>http://www.unicode.org/versions/</ref>) but with the first digit for major
@@ -258,7 +259,12 @@
258259
<code>git pull origin</code> (to make sure your copy knows about the release branch)<lb/>
259260
<code>git checkout --track origin/release-X.X.X</code>
260261
</item>
261-
<item>Check the release notes for typos or other glaring errors, one last time.</item>
262+
<item>Check the release notes for typos, link issues, or other glaring errors, one last time. If the current release notes
263+
mention revision of past release notes, check that the link URL is pointing to the current release in the Vault,
264+
which will contain the full collection of release notes. For example, for a revision to release notes in 4.10.0 in release 4.10.2,
265+
the URL should be:
266+
<ref target="https://www.tei-c.org/Vault/P5/4.10.2/doc/tei-p5-doc/readme-4.10.0.html">https://www.tei-c.org/Vault/P5/<hi rend="bold">4.10.2</hi>/doc/tei-p5-doc/<hi rend="bold">readme-4.10.0.html</hi></ref>.
267+
</item>
262268
<item><hi rend="bold">Edit the P5/VERSION file to the correct number</hi><lb/> This file
263269
consists only of the bare version number, followed by "alpha" or "beta":<lb/>
264270
<code>2.8.2beta</code><lb/> For the release process, you need to remove the letters from
@@ -273,11 +279,11 @@
273279
<hi rend="bold">Note:</hi> Tests may need to be updated after copying the updated p5subset.xml file to the Stylesheets/source directory of the Stylesheets release-X.X.X branch. It is recommended to use <code>make DIFFNOW=0 test</code> as this will generate all the actual results and then compare against the expected results afterwards. Once the actual results are generated, you have to manually compare the expected-results and actual-results folders (both under Stylesheets\Test\) and check through all of the files containing differences.</item>
274280
<item><hi rend="bold">Announce a freeze on pushes to the release branch on the
275281
TEI Technical Council mailing list</hi></item>
276-
<item><hi rend="bold">Merge the release branch into <code>released</code></hi>. <lb/>
277-
<code>git checkout released</code><lb/>
278-
<code>git merge --no-ff -m "YOUR COMMIT MESSAGE" release-X.X.X</code></item>
279-
<item><hi rend="bold">Repeat the steps above for the Stylesheets</hi> (have a stylesheets expert on hand
280-
when releasing Stylesheets to help debug problems):
282+
283+
<item><hi rend="bold">Commit your changes to the P5 release branch <code>release-X.X.X</code></hi>. <lb/>
284+
</item>
285+
286+
<item><hi rend="bold">Complete the following steps for the Stylesheets</hi> (have a stylesheets expert on hand to help debug problems):
281287
<list type="ordered">
282288
<item>Edit the Stylesheets/VERSION number to the correct release number (usually just
283289
remove the 'a').</item>
@@ -289,11 +295,12 @@
289295
</item>
290296
</list>
291297
</item>
298+
<!-- Steps 5 and 6 which instruct on how to merge the release branch into the released branch were originally here, but for the Jan 2025 creating the released branch at this point proved to be too early in the process and have now been moved after step 14 -->
292299
<item><hi rend="bold">Push your changes</hi> for both P5 and the Stylesheets to the git
293-
repository, <code>git push origin released</code><lb/> and watch Jenkins build P5 for you.<lb/>
300+
repository, <code>git push origin release-X.X.X</code><lb/> and watch Jenkins build P5 for you.<lb/>
294301
This should be the final push for this version, and it will trigger the Jenkins servers
295302
to rebuild the TEI packages. As a reminder, you can find the Jenkins servers here:
296-
<list>
303+
<list type="bulleted">
297304
<item><ref target="https://jenkins.tei-c.org">https://jenkins.tei-c.org</ref></item>
298305
<item><ref target="https://jenkins2.tei-c.org">https://jenkins2.tei-c.org</ref></item>
299306
</list>
@@ -312,6 +319,29 @@
312319
the Stylesheets build may fail after the TEI release is complete, so it is better to wait
313320
until the TEI release is complete before doing the Stylesheets release. (Council is considering
314321
changing how the dependency is managed).</item>
322+
323+
<item>
324+
<hi rend="bold">Merge the release branch into <code>dev</code> and <code>released</code></hi>.
325+
<list type="ordered">
326+
<item><code>git checkout released</code></item>
327+
<item><code>git merge --no-ff -m "YOUR COMMIT MESSAGE" release-X.X.X</code></item>
328+
<item><code>git checkout dev</code></item>
329+
<item><code>git merge --no-ff -m "YOUR COMMIT MESSAGE" release-X.X.X</code></item>
330+
<item>and don’t forget to <code>git checkout released</code></item>
331+
</list>
332+
</item>
333+
334+
<item>
335+
<hi rend="bold">Repeat the steps above for the Stylesheets</hi>:
336+
<list type="ordered">
337+
<item><code>git checkout released</code></item>
338+
<item><code>git merge --no-ff -m "YOUR COMMIT MESSAGE" release-X.X.X</code></item>
339+
<item><code>git checkout dev</code></item>
340+
<item><code>git merge --no-ff -m "YOUR COMMIT MESSAGE" release-X.X.X</code></item>
341+
<item>and don’t forget to <code>git checkout released</code></item>
342+
</list>
343+
</item>
344+
315345
<item><hi rend="bold">Ensure all changes have been committed, built, and successfully
316346
passed tests on the continuous integration server</hi><lb/> When all builds have
317347
completed on all Jenkins servers, click on the job number of the last build for each of the
@@ -328,10 +358,11 @@
328358
<code>curl https://raw.githubusercontent.com/TEIC/TEI/dev/P5/Utilities/tei-install.sh -o ~/tei-install.sh</code>.
329359
<lb/> (If you'll need to tweak that script later during the install process please make
330360
sure to feed the changes back to the original script in the TEI repo.)
331-
<lb/> Do the following three steps: <list>
361+
<lb/> Do the following three steps:
362+
<list type="bulleted">
332363
<item>Install on tei-c.org: <code>./tei-install.sh --package=TEIP5 --version=X.X.X
333364
--sfuser=username --install</code> and then <emph>go test the version this puts in
334-
the Vault</emph>.</item>
365+
the <ref target="https://www.tei-c.org/Vault/P5/">Vault</ref></emph>.</item>
335366
<item>If that looks good and everyone agrees then: <code>./tei-install.sh
336367
--package=TEIP5 --version=X.X.X --sfuser=username --makecurrent</code> and
337368
then <emph>test that it appears on website correctly</emph>.</item>
@@ -345,9 +376,11 @@
345376
the URL of the other server if necessary with the --Jenkins parameter, e.g.
346377
--Jenkins=http://jenkins2.tei-c.org/. Make sure the script completes successfully each time
347378
changing the final parameter from --install, to --makecurrent, and then --upload. </item>
348-
349-
<item><hi rend="bold">Repeat the steps above for the Stylesheets</hi>, remembering that the version number is the Stylesheets version, which will be different from
350-
the Guidelines version:
379+
380+
<item><hi rend="bold">Repeat the steps above for the
381+
Stylesheets</hi>, remembering that the version number is
382+
the Stylesheets version, which will be different from the
383+
Guidelines version:
351384
<lb/><code>./tei-install.sh --package=Stylesheets
352385
--version=X.X.X --sfuser=username --install</code>
353386
<lb/><code>./tei-install.sh --package=Stylesheets
@@ -419,7 +452,7 @@
419452
Finally, close the current Milestone (do not delete it).</item>
420453

421454
<item><hi rend="bold">Update the Debian Package repository with the new release</hi><lb/>
422-
The TEI Debian packages are regularily created during each Jenkins build.
455+
The TEI Debian packages are regularly created during each Jenkins build.
423456
For each release you need to update the TEI Debian repository at
424457
<ref target="http://packages.tei-c.org/deb/">http://packages.tei-c.org/deb/</ref>
425458
which can be done by simply running <code>ant</code> on the TEI server within the
@@ -436,15 +469,19 @@
436469
will do.-->
437470
</item>
438471

439-
<item><hi rend="bold">Update the table of previous releases of P5 in the GitHub repo for the TEI-C website</hi>. The table is found in the src/guidelines/p5 markdown page,
440-
published at <ref target="https://tei-c.org/guidelines/p5/#releases">https://tei-c.org/guidelines/p5</ref>.<lb/>
441-
Add the new release information and links to the top of the release table.</item>
472+
<item>
473+
<hi rend="bold">Update the table of previous releases of P5 in the GitHub repo for the TEI-C website</hi>.
474+
The table is found in the <q>src/guidelines/p5.md</q> file
475+
in the <ref target="https://github.com/TEIC/website">website</ref> repository; it is published at <ref
476+
target="https://tei-c.org/guidelines/p5/#releases">https://tei-c.org/guidelines/p5</ref>.
477+
<lb/>Add the new release information and links to the top
478+
of the release table.</item>
442479

443480
<item><hi rend="bold">Update the oXygen-ready distribution of TEI.</hi><lb/> This involves
444481
building the new package of oxygen-tei, and then updating the distribution file on the
445482
TEI server so that the oXygen software knows about the new release. You may request to
446483
hand this off to one of the maintainers (currently Syd Bauman, James Cummings, or Martin
447-
Holmes) to do this for you if you're not familiar with the project. <list>
484+
Holmes) to do this for you if you're not familiar with the project. <list type="bulleted">
448485
<item>Check that you have ant (at least version 1.8) installed on your machine.</item>
449486
<!-- MDH 2021-04-19: Added release="8" to javac call in framework/build.xml, and this now seems to
450487
build fine with Java 14. Commenting out this step. -->
@@ -474,9 +511,15 @@
474511
updateSite.oxygen file from the tei-c.org site, and asks the user to provide the new
475512
version number before creating a new version of updateSite.oxygen. </item>
476513

477-
<item>Go to the GitHub repo and create a new release, using the <code>Draft new release</code>
478-
button. Copy the previous release info (tag, title and text), and tweak the versions as appropriate. The tag should be <code>vx.x.x</code>, the title will be
479-
<code>Release x.x.x</code>, and the text <quote>Release number X of the oXygen TEI plugin, based on TEI P5 x.x.x and Stylesheets x.x.x.</quote></item>
514+
<item>Go to the TEIC/oxygen-tei GitHub repo and create
515+
a new release, using the <code>Draft new release</code>
516+
button. Copy the previous release info (tag, title, and
517+
text), and tweak the versions as appropriate. The tag
518+
should be <code><emph>v</emph>x.x.x</code> (don’t forget
519+
the <q>v</q>!), the title will be <code>Release
520+
x.x.x</code>, and the text <quote>Release number X of
521+
the oXygen TEI plugin, based on TEI P5 x.x.x and
522+
Stylesheets x.x.x.</quote></item>
480523

481524
<item>Attach the zip file you just created in the build process, which will be named
482525
something like <code>oxygen-tei-x.x.x-x.x.x.zip</code>, with the numbers from

TCW/tcw32.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
target="http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/"
4343
>How to Install and Use the Linux Bash Shell on Windows 10</ref>”. Once you’re in a
4444
terminal window, you can clone the TEI repos thus:
45-
<lb/><code>git clone git@github.com:TEIC/TEI.git</code> and
46-
<lb/><code>git clone git@github.com:TEIC/Stylesheets.git</code>
45+
<lb/><code lang="sh">git clone git@github.com:TEIC/TEI.git</code> and
46+
<lb/><code lang="sh">git clone git@github.com:TEIC/Stylesheets.git</code>
4747
</p>
4848
<p>It’s probably a good idea to keep these side-by-side. I put mine in a directory called:
4949
<code>/Users/hcayless/Development/TEIC</code>. As you will see, it’s a good idea to do
@@ -67,7 +67,7 @@
6767
The directory containing your repositories will be mapped to a directory in the container
6868
(which is why it’s easier to put them side-by-side). You’ll run the test container with a
6969
command like:
70-
<lb/><code>docker run --name tei -v /Users/hcayless/Development/TEIC:/tei -it -e TZ=America/New_York
70+
<lb/><code lang="sh">docker run --name tei -v /Users/hcayless/Development/TEIC:/tei -it -e TZ=America/New_York
7171
teic/teidev-docker</code>
7272
<lb/>which will put you in a Bash shell inside the container (named 'tei'), at the root directory.
7373
The directory on your local file system where you cloned the TEI and
@@ -102,7 +102,7 @@
102102
of tests you want to troubleshoot (e.g. <code>make test-oddity</code> in
103103
<code>Stylesheets/Test</code> to test ODD-conversion methods). The targets are all defined
104104
in the <code>Makefile</code>s.</p>
105-
<p>The <ref target="http://www.tei-c.org/Guidelines/P5/get.xml">Using the TEI GitHub
105+
<p>The <ref target="https://tei-c.org/guidelines/p5/using-the-tei-github-repository/">Using the TEI GitHub
106106
Repository</ref> document has more detail on all the processes you can run, and very
107107
meager information on how to get set up to run them—but you just bypassed all that.
108108
Besides the <code>make</code> targets listed there, both the TEI and Stylesheets repos

0 commit comments

Comments
 (0)