Changes

Jump to: navigation, search

What to do for a release

730 bytes added, 05:24, 6 August 2015
External links
git pull
cd po
./genpot.sh # or python update_po.py -p # or intltool-update -p , .genpot.sh see [[Translation_environment4|New environment]] and [[Talk:Translation_environment4|differences between tools]]
git diff gramps.pot
If there have been changes, you'll need to commit <tt>gramps.pot</tt> and ask translators to update their <tt>.po</tt> files before you can make a release.
==Release name==
Refer to (and update) the [[Previous releasesof Gramps|list of previous releases]] to select an appropriate name.
==Changelog and NEWS file==
Create the changelog files:
git log gramps-{{version}}.. --pretty --numstat --summary --no-merges | git2cl > ChangeLog
#git log gramps-{{version}}.. --pretty --numstat --summary --no-merges -- po | git2cl > po/ChangeLog git log gramps-4.0*.2.. --pretty --summary --no-merges -- po | git2cl > po/ChangeLog #4.0.2
Using the <tt>Changelog</tt> files generated with <tt>git2cl</tt> in the step above, edit and update the <tt>NEWS</tt> file.
* 4.0.x
Check <tt>gramps/version.py</tt> to indicate an official release:
gedit gramps/version.py
and if need, update the version for the release:
VERSION_TUPLE = (4, 0, 2)
 
Modify <tt>gramps/gen/const.py</tt> to indicate an official release:
- VERSION += get_git_revision(ROOT_DIR)
+ VERSION += "-1"
 
Save change:
git commit -am "make official release"
The version number should be the same on "about" dialog:
python Gramps.py
or
python Gramps.py -v
* 3.4.x
Now run the following and check the version number in the "about" dialog:
./autogen.sh
make
python src/gramps.py
* 4.0.x
bump Bump the version number in <tt>gramps/version.py</tt>
update Update the version for the release: VERSION_TUPLE = (4, 0, 3...) Revert change on <tt>gramps/gen/const.py</tt> to indicate git revision: - VERSION += "-1" + VERSION += get_git_revision(ROOT_DIR)
Save change:
git commit -am "Bump bump to <new version number>"
git push
* 3.4.x
bump Bump the version number in <tt>configure.in</tt> and <tt>src/const.py.in</tt>
Save change:
git commit -am "Bump bump to <new version number>"
git push
Modify <tt>MANIFEST.in</tt>
+ include ChangeLog
+ include po/ChangeLog
Create the official source tarball:
==Making the source tarball available==
* access the "Sourceforge Project Admin->File Manager" page at https://sourceforge.net/projects/gramps/
or via your ''<dev>'' account:
$ sftp <dev>@frs.sourceforge.net
Connecting to frs.sourceforge.net...
Password:
sftp> cd /home/frs/project/gramps
* create a new folder in the "Stable" hierarchy
* upload the <tt>gramps-{{version}}.tar.gz</tt> file to the new folder
* update [[News]] section on this wiki
* update the list of [[Previous releases of Gramps|previous releases]]
* update reference to the new version on the [[Template:Version|wiki template]]
* update [[HeadlineNews]]
* change the topic on the IRC channel #gramps
<pre> /TOPIC #gramps Welcome to Gramps! The latest versions are 4.1.0 and the legacy 3.4.8 || http://www.gramps-project.org/ || Please state OS and Gramps version when asking a question. Understand that replies can take up to 2 days depending on whose watching the channel. Please consider asking on the gramps-users mailing list. </pre>* update the version number at [http://en.wikipedia.org/wiki/GRAMPS Gramps Wikipedia]* announce freshmeat now known as [http://freecode.com/projects/gramps freecode], this is also a feed on the slashdot front page
==Post-release==
=External links=
* https://github.com/gramps-project
* http://gramps-project.org/cpanel
* http://svn.code.sf.net/p/gramps/code/
* http://gramps-project.org/cpanel
* http://sourceforge.net/projects/gramps/
[[Category:Developers/General]]

Navigation menu