HowTo Create A Release for Emle
Overview
Note that previously SourceForge was used by Emle for the source code repository.
Key
- Green - text to be used exactly as shown.
- Red - text to be replaced with actual values.
A fake release name of Emle 3.2-5 (BL0123) is used as the new release in the examples below.
Steps
- Identify changes since previous release, determine new release name, and update the developer notes.
- List exiting release names.
- bzr tags --directory lp:emle
- Use the most recent tag to get changes since it.
- bzr log --revision 'tag:Emle 3.2-4 (BL0122)'.. --line bzr+ssh://bazaar.launchpad.net/~emle-dev/emle/2.0/
- Use the list of changes to determine if the new release is a:
- MajorRelease
- DotRelease
- DashRelease
- Then edit the contents of:
- work/lp:emle/emle/dev/notes.txt
- Commit to bzr.
Use just "Emle 3.2-5 (BL0123)" as the commit comment.
Use these notes in step 1.b.iv below.
- Modify version strings (for example: 3.2-4 -> 3.2-5) in the source code.
- Change these files
- Commit to bzr.
Use just "Emle 3.2-5 (BL0123)" as the commit comment.
There may be more than one occurrence of the release name in some of the files.
These files are located in work/lp:emle/:
- emle/dev/web_site.html
- emle/emle_lab.css
- emle/emle_index.html
- emle/include/menu.htmli
- htdocs/include/index.htmli
- htdocs/include/menu.htmli # emle030405_BL0123.tar, add release_id after Step 8 before web site update.
- htdocs/index_old_versions.html # add link to previous: emle030404_BL0122
- Tag the source code and build the release.
- cd work/emle.sf.net;rm --recursive
- bzr tag 'Emle 3.4-5 (BL0123)' --directory lp:emle
- bzr export --revision 'tag:Emle 3.4-5 (BL0123)' ../emle.sf.net/emle030405_BL0123.tar lp:emle
- Create SourceForge release notes.
This step is done first in order to obtain a release id from SourceForge. It will be
used in links within web pages that are to be part of this release.
- Add a new release to the existing package(emleFF) in SourceForge:
- https://sourceforge.net/project/admin/explorer.php?group_id=45154
- SourceForge.net
EMLE - Electronic Math Lab Equipment
File Manager
[emleFF]
- Create A New Folder
New Folder Name: [3.2-5 (BL0123)]
[OK]
- SourceForge.net
EMLE - Electronic Math Lab Equipment
Step 1: Edit Existing Release - Paste The Change Log In:
Copy and paste from the previous release adding the contents from 1.a.ii above.
- Submit change notes.
Step 1: -> [Submit/Refresh]
- Upload tar release file to SourceForge from work/emle.sf.net.
- Follows steps in 1 above to get the SourceForge create a new release page.
- Step 2: Add Files To This Release
- Follow the "upload new files" link
- In the "Web Upload" section follow the "Web upload page" link.
- Authentication Required...[Login]
- File Release System: Upload a File - Browse
- work/emle.sf.net/emle030205_BL0123.tar
- [Upload File]
- It should list the file in the table titled "The current contents of your uploads dir:"
- Add uploaded file to the new Emle release.
- Follows steps in 1 above to get the SourceForge create a new release page.
- Step 2: Add Files To This Release
- [x]emle030205_BL0123.tar - ... bytes
- [Add Files and/or Refresh View]
- Enter Release info.
- Continue from above.
- Step 3: Edit Files In This Release
- Filename: emle030205_BL0123.tar
- Release: emleFF: 3.4-5 (BL0123)
- Processor: Platform Independent
- Release Date: 2008-06-21
- File Type: Other
- [Update/Refresh]
- Release Emle.
- Continue from above.
- Step 1: Edit Existing Release
- Status: Active
- [Submit/Refresh]
- See that it worked.
- Download - Browse All Packages
- "Latest File Releases" table should have:
"emleFF: 3.4-5 (BL0123) Jun 12, 2008"
- Follow the link "3.4-5 (BL0123)"
- "You have selected to download the 3.4-5 (BL0123) release. "
- Under "Latest 3.4-5 (BL0123) Notes (2008-06-12 10:02)" follow the link "emle030205_BL0123.tar"
- Untar the file and verify it works correctly.
- Follow instructions in SourceForge Project Emle
Developer Documentation "HowTo Update Web Site with a New Release for Emle"
- Follow instructions in SourceForge Project Emle
Developer Documentation "HowTo Setup CVS Sandbox for Emle"
- Update documentation on other sites http://sugarlabs.org/go/User:Cwhii
22-Mar-2010 C.W.Holeman II