When making a formal, stable release of the EpiDoc schema, Guidelines and stylesheets, the following policies and checklist should be followed.

What triggers a release

  1. If the schema is updated a release of all three EpiDoc components should be compiled.
  2. The schema is updated:
    1. whenever the TEI schema and Guidelines are released (currently about twice a year);
    2. when a change agreed on the Markup List or in a project meeting involves loosening or tightening the menu of allowed elements, attributes or content in a certain context;
    3. when a new community's practice is incorporated into EpiDoc usage.
  3. If a significant change in the Guidelines or XSLT behaviour has taken place (whether or not it requires an ODD or schema change) this may also trigger a release, if it is considered important enough to be flagged to the community.
  4. Most releases are minor, and should be reflected by incrementing the second part of the release number, e.g. "8.16" to "8.17".
  5. A major release would normally involve a re-engineering of the Guidelines structure or some other technical feature. For example, the change from "7.x" to "8.0" was triggered by the move from TEI P4 to TEI P5 in 2009. A major release should be reflected by incrementing the first part of the release number, and returning the second part to zero, e.g. "8.19" to "9.0".

How to make a release

Day 0: Last call
  1. At the start of the two week release cycle (day 0) write to Markup to inform the community that a release is imminent, and any changes that have been brewing should be made asap. An example of a Last Call email can be found here
  2. If an element is added, removed or modified in the ODD (or a change inherited from TEI), the Guidelines and Stylesheets should be checked to ensure consistency, and updated if appropriate. At the very least add one example of any new or changed element to the Guidelines, and offer parametrized handling of it in XSLT as appropriate.
Day 6: Feature Freeze
  1. One week into the release cycle (day 6) all development on the Guidelines, XSLT or ODD should be frozen, and only proofreading and bug-fixing take place hereafter. Notification of this "feature freeze" should be also posted to Markup. An example email can be found here.
Day 11: Lock Down
  1. Two days before release (day 11) all changes to the code should be frozen unless a catastrophe occurs
  2. Release Notes: A list of significant changes to the ODD, GLs and XSLT, since the previous release should be compiled and added to a new dated section at the top of /trunk/ReleaseNotes.txt (this file is directly inside the SVN repository, at the same level as the 'guidelines' and 'schema' folders). You may consult the SVN commit log and the <revisionDesc> of the ODD (tei-epidoc.xml), but be judicious and summarise minor changes rather than copying everything. To see the log, you can use from command line

    svn log
    or if you want to see every file which has been changed to figure out what the comments refer to, use
    svn log --verbose

  3. New Schema: If a new schema needs to be generated as a result of ODD changes, use tei-epidoc-full.xml as the file in Roma, but copy over the <schemaSpec> only from that file to tei-epidoc.xml to keep the two files in synch.
  4. To generate the new version of the schema, follow the instructions in trunk/schema/README.txt.
  5. Ask someone with upload rights in Stoa (Gabby, Tom, Hugh, Ryan) to create a new directory at with the value of the new release (as determined above), and to place a copy of the ODD, RelaxNG and README in that location. Similarly, update
  6. Change the <seg type="version"> in the titleStmt of driver.xml to read 8.xx candidate (with current version number in place of "8.xx"). This file should read candidate before being uploaded to dev, then it will change to 8.xx on day 13 and immediately after to post-8.xx dev.
  7. To generate the new version of the Guidelines, follow the instructions in trunk/guidelines/README.txt. This is for you to check, and should not be uploaded to svn at any time. the user with upload rights will regenerate them locally as well.
  8. Note that if the main schema is changed, tei-epidoc-example.rng should also be updated (instructions for which are in trunk/guidelines/README.txt).
  9. Ask someone with upload rights to copy the new version of the Guidelines HTML to, replacing the current version there.
  10. Send a link to the new (numbered) schema release and (dev) Guidelines to the Markup list, with the summary of changes from ReleaseNotes.txt, and ask users to check for changes, incompatibilty and/or other technical problems against their EpiDoc XML in the next 2 days. Ask also to the users of the example XSLT to test them again if any changes have been made.
Day 13: Release
  1. If there are no complaints or bugs by the time of the deadline, insert a milestone comment in the <revisionDesc> of the ODD file (/trunk/schema/tei-epidoc-full.xml) indicating the current version number, the date, and the TEI version under which the release was generated above the most recent <change>. E.g. <!-- release 8.17: 2013-08-08 - Aligned schema with TEI v. 2.5.0 -->

  2. Ask someone with upload rights to copy the new schema etc. from the numbered release directory to Ask them also to generate a new version of the Guidelines HTML (with any corrections applied since the candidate release if necessary). For this run only, change the parameter $analytics to "on" in the Oxygen scenario (vel sim.), so that GoogleAnalytics is applied to the latest GLs. Change the parameter back to "off" after the final run. Remember to change the <seg type="version"> in the titleStmt of driver.xml to read 8.xx (with current version number in place of "8.xx"). (After the release, this version number should be changed to "post-8.xx dev".)

    1. If a major release (e.g. "8.x" to "9.0"), first create a new directory at with the value of the previous release (the highest increment of the second part of the number), and move the contents of the previous "latest" Guidelines output to that location. Place a copy of the new Guidelines in the "latest" directory.
    2. If a minor release simply copy the newly generated Guidelines to (overwriting or deleting the previous version).
  3. Tag the current revision in the EpiDoc SVN with the current release number. (i.e. copy the schema, guidelines, and epidoc-p5-xslt directories, as well as ReleaseNotes.txt, into a new directory at /tags/<release-no>, using a GUI or the command line)

    1. you can create the new tag directory at the command line with a "svn mkdir" command
    2. if you are not using a GUI, from the command line, once the folder has been created you can enter a command like the following for each of the three folders you want to associate with the new tag (and also for trunk/ReleaseNotes.txt):

      svn cp -m'tag guidelines for release 8.20'

  4. Follow the instructions below to create a ZIP archives of epidoc-p5-xslt and upload it via the SourceForge File Release System
    to the Example Stylesheets folder in the EpiDoc file system on SourceForge.

    1. Make sure you have been added to the user group of the release technicians to be able to click the ADD button mentioned below when time comes.
    2. Use svn export against the rev number associated with the current release tag to get a clean directory tree. This will mean, if you are not using a GUI, to enter a command a like this:

      svn export NameOfYourFolder

    3. In the exported copy of the folder you will have guidelines, xslt and schema which you have uploaded. Rename the example-p5-xslt directory by appending the current release number sequence, e.g., example-p5-xslt-8.17.
    4. ZIP the renamed directory such that the resulting archive shares the same name, with the addition of a ".zip" extension. Delete any other files from the directory (such as Mac OS .DS_Store).
    5. Navigate to the Example Stylesheets folder in the Sourceforge File browser and use the "Add File" button to upload the ZIP file.
    6. Once the file is uploaded, click on the "info" icon to the right of the newly uploaded ZIP file (small italic "i" inside a gray circle) and click "select all" to make this file the "default download" for all operating systems (this sets the "latest download" prompt throughout the Sourceforge File Release system for the EpiDoc project.
  5. Upload also the schema on the schema download page, as well as the Guidelines, zipping the files from the exported folder.
  6. Modify the [LatestRelease] wiki page to address the new release, as follows:
    1. For the Guidelines, link to the new release version online at Stoa.
    2. For the Schema, link to the new release version online at Stoa.
    3. For the Example Stylesheets, link directly to the ZIP file that was uploaded to the Sourceforge file release area in the preceding step.
  7. Also modify the link to the Latest Release wiki page on the Wiki [Home] page by updating the release number. Update the number also on the EpiDoc Schema page.
  8. Write to the Markup list again, informing them of the last three points (updating of /latest/ folder; svn tag; Sourceforge download package).
  9. Ask one of the EpiDoc Facebook Page admins to announce the new release on Facebook, with a link to the [LatestRelease] wiki page.
  10. If a bug is found at any time after the release an emergency release should be uploaded as soon as possible following an abbreviated procedure (only day 13) and it should be numbered 8.xx.x. In the email to the list the bug should be reported for users of the downloaded version to check if they have been affected.

Any further changes to Guidelines or ODD or XSLT will begin to build content toward the next release.


Report Bugs: #126
Home: Guidelines
Home: Home
Home: LatestRelease
Home: MarkupList
Home: Parameters
Home: Schema
Home: Stylesheets
Home: TechDocs

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks