Jump to content

Calligra/Release Howto: Difference between revisions

From KDE Community Wiki
Cyrille (talk | contribs)
Jstaniek (talk | contribs)
No edit summary
Line 23: Line 23:
* update branch in calligra project page settings: https://projects.kde.org/projects/calligra/settings
* update branch in calligra project page settings: https://projects.kde.org/projects/calligra/settings


= Website update =
=Main=
 
*Update version info in the source code:
Preparation:
**bump version info to '''N''' for libs in calligra/CMakeLists.txt (10 for 2.5, 11 for 2.6...)<br/><tt>set(GENERIC_CALLIGRA_LIB_VERSION "'''N'''.0.0")<br/>set(GENERIC_CALLIGRA_LIB_SOVERSION "'''N'''")</tt>
* announcements/changelog-#{version}.php
**update version info in calligra/libs/main/calligraversion.h:<br/><tt>#define CALLIGRA_VERSION_STRING "<b>x.y Pre-Alpha|Alpha|Beta|RC</b>"<br/>#define CALLIGRA_VERSION_MAJOR '''x'''<br/>#define CALLIGRA_STABLE_VERSION_MINOR <b>y</b><br/>#define CALLIGRA_VERSION_RELEASE '''89 (Pre-Alpha)|90 (Alpha)|91 (Beta)|92 (RC)'''<br/>#define CALLIGRA_ALPHA '''0|1'''<br/>#define CALLIGRA_BETA '''0|1'''<br/>#define CALLIGRA_RC '''0|1'''<br/>#define CALLIGRA_STABLE '''0|1'''<br/></tt>
* announcements/announce-#{version}.php
* Collect changelog items
* releases/#{version}-release.php
* Collect screenshots
* release notes translation:
** Major release: Create tour
* send the release notes a few days before release to kde-i18n-doc at kde.org
** Update version on http://userbase.kde.org/Calligra/Download
* complete the page "announcements/announce-#{version}.php" with link to the translation that are usually hosted on KDE i18n local team websites
** Update info on http://userbase.kde.org/Calligra/Download
 
** Update stable release version at [http://community.kde.org/index.php?title=Template:Calligra/Stable&action=edit community.kde.org]
Last-minute changes:
** Major release: Update stable major version at [http://community.kde.org/index.php?title=Template:Calligra/StableBranch&action=edit community.kde.org]
* releases/index.php
** Major release: Update unstable major version at [http://community.kde.org/index.php?title=Template:Calligra/UnstableBranch&action=edit community.kde.org]
* announcements/index.php
* Write announcement for calligra.org
* site.inc
* Kexi
* news.rdf
** Update kexi-project.org
* menu.inc
*** Add link to the Calligra announcement
*** Update Kexi version on the front page
** Optional: Publish news on http://forum.kde.org/viewforum.php?f=220
** Publish news on http://identi.ca/kexi
** Major release: Publish news on http://www.linkedin.com
* Wikipedia
** Update version at http://en.wikipedia.org/wiki/Calligra

Revision as of 08:51, 11 August 2012

This page contains notes on what needs to be done when releasing a new version of Calligra.

Note

This is work in progress. You can contribute to this page or request updates.


Tarball creation

Branching

Code

git checkout -b calligra/${VERSION}
git push origin calligra/${VERSION}

Translation

Prepare yourself for a lot of suffering:

  • warn the i18n coordinator in advance
  • copy translation to stable-kde4 (use the calligra-release.rb scripts in calligra's release scripts )
  • update scripty for stable translations (edit scripts/get_paths change the get_path function, and check that list_modules contains calligra):
svn+ssh://[email protected]/home/kde/branches/stable/l10n-kde4/scripts

Main

  • Update version info in the source code:
    • bump version info to N for libs in calligra/CMakeLists.txt (10 for 2.5, 11 for 2.6...)
      set(GENERIC_CALLIGRA_LIB_VERSION "N.0.0")
      set(GENERIC_CALLIGRA_LIB_SOVERSION "N")
    • update version info in calligra/libs/main/calligraversion.h:
      #define CALLIGRA_VERSION_STRING "x.y Pre-Alpha|Alpha|Beta|RC"
      #define CALLIGRA_VERSION_MAJOR x
      #define CALLIGRA_STABLE_VERSION_MINOR y
      #define CALLIGRA_VERSION_RELEASE 89 (Pre-Alpha)|90 (Alpha)|91 (Beta)|92 (RC)
      #define CALLIGRA_ALPHA 0|1
      #define CALLIGRA_BETA 0|1
      #define CALLIGRA_RC 0|1
      #define CALLIGRA_STABLE 0|1
  • Collect changelog items
  • Collect screenshots
  • Write announcement for calligra.org
  • Kexi
  • Wikipedia