NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Knowledge > DataKnowledge > CreatingNewGbtidlVersion
   Readme | Changes | Index | Search | Go

Problem

How do I initiate a new GBTIDL release?

Solution

Notes:

Instructions:

1. Make sure that the motd and init_guide_struct have the correct version number. These should be the same and integration should now reflect this upcoming release's version number. After verifying that these changes work in your sandbox, commit those changes. Also, edit the master version of the web pages to include any changes appropriate to this release. Finally, edit the overview pages for the reference manual documentation. They contain one line identifying the current version number. Commit those changes as well.

2. Log on to the gbtidl machine as gbtidl. This will work only if you are part of the gbtidl group.

ssh -l gbtidl gbtidl

3. Confirm there are no locally modified files in the integration directory by running cvs status. If you edited any files in step 1 update those files in the integration tree before proceding with this step.

$ cd /export/users/gbtidl/integration/gbtidl
$ cvs status > status.txt

Search the resulting status file for "Locally Modified" or "Needs Merge" files. Files with these statuses need to have whatever action is appropriate taken to make them become "Up to Date". File with status "Needs Patch" are ok.

If any actions are needed to update integration, then this CV integration directory should be copied to GB.

4. Run the tests as the last check to make sure the current state of integration is healthy. If the below tests produce errors, these should be resolved before proceeding.

5. Tag the files in the integration directory using the cvs tag command. Note that this step has failed in the past due to the quota limit being exceeded for the monctrl account in Green Bank. If that happens, consult with other members of the SDD group about removing files from the disk(s) where the quota limit has been exceeded.

$ cd /export/users/gbtidl/integration/gbtidl
$ cvs tag release_2_4
$ cvs tag -b release_2_4_patches .

6. Create the new source directory and cd to it.

$ cd /home/gbtidl
$ mkdir 2.4
$ cd 2.4
$ cvs -d :ext:gbtidl@cvs.gb.nrao.edu:/cvs checkout -P -r release_2_4_patches gbtidl
$ cd gbtidl

The "-P" will prevent previously removed (aka "empty") directories from being checked out.

7. Change calling script and message of the day:

8. Run the unit tests again. Make sure these all pass before before proceeding. All errors must be resolved.

9. Build the release docs

$ cd /home/www.gb.nrao.edu/content/gbt/DA/gbtidl
$ mkdir release2pt4

10. Copy new directory from CV to GB. Do this in a similar fashion as the nightly rsyncs for integration:

It does not take very long for the .pro files to copied. However, finishing the tests directory can take much longer.

11. Go to the new GB source tree, and run the tests one more time!. Make sure these all pass before before proceeding. All errors must be resolved.

12. Repeat steps 10 and 11 for AOC (use "jasmine" as the host at the AOC). The root directory at the AOC is /users/gbtidl. Watch for quota limits at the AOC and remove older versions of gbtidl (but not the previous release) to make space for the new version as necessary.

13. To switch to the new version is very simple. In both CV, AOC, and GB, switch the symbolic link release to point to the new version directory (in /home/gbtidl in CV and GB and in /users/gbtidl at the AOC). In GB switch the symbolic link release in the documentation directory to point to the new version documentation (in /home/www.gb.nrao.edu/content/gbt/DA/gbtidl). This step may be deferred until the actual release time.

14. To prepare the tar file for the sourceforge.net file release, from GB or CV first comment out the .compile of the tests scripts from init_gbtidl. The files to be excluded from the tar file are listed in gbtidl/buildExcludeFile.

15. Create the tar file:

16. Compress the tar file:

17. Uncomment the lines underneath the 'unit tests' comment in init_gbtidl and verify that gbtidl still starts up without errors.

18. Upload this file to Sourceforge.net using rsync and your sourceforge username and password:

19. Access sourceforge's File Release System interface.

20. Create a file release within the GBTIDL package, for this specific release and attach the file(s) you uploaded to that file release.

21. Download the tar ball and step through the installation notes to make sure everything is working.

22. Upload the new web pages to the site by simply copying them to the appropriate local directory

23. When you're ready to make it public, send the release announcment to the list below:

24. If this new release comes with a new Quick Reference, collect all old QR's (primarily in the Control Room), and replace them with the new ones.

WebForm
TopicClassification: NoDisclosure
OperatingSystem:
OsVersion:

Topic CreatingNewGbtidlVersion . { Edit | Attach | Ref-By | Printable | Diffs | r1.28 | > | r1.27 | > | r1.26 | More }
Revision r1.28 - 04 Aug 2008 - 19:40 GMT - BobGarwood
Parents: WebHome > DataKnowledge
Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.