source: CIVL/notes/release.txt@ dfb0fef

1.23 2.0 main test-branch
Last change on this file since dfb0fef was f31e3b1, checked in by Ziqing Luo <ziqing@…>, 12 years ago

svn server testing

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1359 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 3.7 KB
Line 
1
2 How to release a new version of CIVL
3
41. Working with your local copy of trunk, make sure all tests pass.
5
62. Edit the fields named "version" and "date" in interface
7edu.udel.cis.vsl.civl.config.CIVLConstants to use the new version and today's date.
8Also, edit README to change the version number and the changes of
9the new version. Updates CIVL manual accordingly (there is also version number and
10date referenced in the manual, and they need to be consistent with the release).
11
123. Commit your trunk or make sure there are no uncommitted
13modifications.
14
154. Create the tag: to create version 0.2, for example:
16
17svn copy svn://vsl.cis.udel.edu/civl/trunk svn://vsl.cis.udel.edu/civl/tags/0.2
18
195. Create a new config file for autotest: check out
20svn://vsl.cis.udel.edu/scripts if you have not already, or update it
21if you already have a local copy. Create a new file config_civl-0.2.sh
22(for example) based on one of the other config_civl configuration
23files. There are 3 points that must be changed: (1) BRANCH should be
24set to 0.2 (for example); this is the name that will be assigned to
25this branch, (2) REPO needs to be changed to point to the new tagged
26version, e.g. svn://vsl.cis.udel.edu/civl/tags/0.2, and (3)
27WORKER_CONFIG needs to be changed to refer to the same configuration
28file you are creating, i.e., ${WORKER_SCRIPT_DIR}/config_civl-0.2.sh
29in this example. Save this file and commit it.
30
316. Update the autotest scripts on nikolai:
32ssh tester@nikolai.cis.udel.edu
33cd repos/scripts/
34svn update
35
367. Update the autotest scripts on vsl:
37ssh vsl.cis.udel.edu
38eecis_su svn
39cd ~/scripts/
40svn update
41
428. On vsl.cis.udel.edu, eecis_su svn, and edit
43/home/svn/repositories/civl/hooks/post-commit by changing the second
44autotest command to refer to the new version configuration file. (You
45could also add a completely new autotest command; it will work either
46way.)
47
489. The autotest script will create the release at the next CIVL commit
49(to any part of CIVL). If you don't want to wait, you can trigger it
50manually by executing from vsl, in ~/scripts/autotest:
51
52 ./run_manager.sh FullPathTo/config_civl-0.2.sh 121
53
54where 121 is whatever the revision number was for the release.
55
5610. If there are any problems, you can continue to modify the branch.
57For example, to incorporate changes from the trunk, update or check
58out a fresh local copy of the whole project, change into the branch
59directory, and type svn merge svn://vsl.cis.udel.edu/civl/trunk See
60the Subversion Book for details on merging changes. Then commit these
61changes as usual. After each commit, autotest should run automatically
62and produce the new release. Here is an example:
63
64First, check out the tagged branch somewhere:
65 svn co svn://vsl.cis.udel.edu/civl/tags/0.4
66Second, go to the directory you download:
67 cd 0.4
68Third, merge changes from the trunk:
69 svn merge svn://vsl.cis.udel.edu/civl/trunk
70Forth, commit:
71 svn ci -m"Merged updated README from trunk."
72
7311. Test the release: download it from the web page, move the
74executable file "civl" somewhere in your path (e.g., /tools/bin)
75and execute it on an example, e.g., "civl verify examples/barrier.cvl".
76
7712. Update Trac milestones: go to https://vsl.cis.udel.edu/trac/civl/,
78log in, click on Roadmap, click on the milestone name (v0.2, for
79example), and edit it to indicate completed. You can also indicate
80that open tickets for that milestone be pushed to the next milestone.
81Update other milestones (for example, pushing the dates forward) as
82desired.
83
8413. Update default milestone/version: go to https://vsl.cis.udel.edu/trac/civl/,
85log in, click on Admin, click on Milestones, choose a new milestone as the default,
86click Apply changes. Ditto for setting the default version.
87
8814. Send an email to civl-dev and civl-users announcing the new release.
Note: See TracBrowser for help on using the repository browser.