(Created page with 'The Fedora Documentation Project maintains the XML source for most Fedora documentation in git repositories on fedorahosted.org. Generally, each repo contains a "master" ...') |
|||
Line 38: | Line 38: | ||
:'''git checkout f12-tx''' | :'''git checkout f12-tx''' | ||
4. copy all the directories for languages other than English (most named '''xx-YY''', a few named '''xxx-YY''' or '''xx-Zzzz-YY''') to a temporary location on your system. Be careful ''not'' to copy the '''pot''' directory or any | 4. copy all the directories for languages other than English (most named '''xx-YY''', a few named '''xxx-YY''' or '''xx-Zzzz-YY''') to a temporary location on your system. Be careful ''not'' to copy the US English directory '''en-US''', the '''pot''' directory, or any directory that is not named with a language code. | ||
5. switch to the f13 branch: | 5. switch to the f13 branch: |
Revision as of 03:48, 31 March 2010
The Fedora Documentation Project maintains the XML source for most Fedora documentation in git repositories on fedorahosted.org. Generally, each repo contains a "master" branch, in which corrections and updates are made, and a set of branches for various Fedora releases. The version of the XML in these branches is stable, and forms the basis for translations by the Fedora Localization Project. We do not generally make incremental changes to the XML in stable branches because to do so would break translations.
Sometime after the release of the Alpha version of a new version of Fedora, we create a new branch for that version, using the updated XML from the master branch and the most recent set of translations from the branch of a previous version of the book.
These instructions are for the leads (maintainers) of formal Fedora documentation.
Once you are sure that the documentation correctly describes the new version of Fedora and that it builds correctly on your system:
Preparation
0.1 Change into the master branch
- git checkout master
0.2 Make sure that your master branch is up-to-date:
- git pull
0.3 Make sure that you have a local copy of the branch with the most recent translations:
- git branch --track f12-tx origin/f12-tx
0.4 Make sure that your Publican installation is the latest version
- sudo yum update publican*
Branching
1. Create the remote branch for Fedora 13. In the master branch, run:
- git push origin origin:refs/heads/f13
2. create a local branch to track the remote branch:
- git branch --track f13 origin/f13
3. switch to the branch with the most recent translations:
- git checkout f12-tx
4. copy all the directories for languages other than English (most named xx-YY, a few named xxx-YY or xx-Zzzz-YY) to a temporary location on your system. Be careful not to copy the US English directory en-US, the pot directory, or any directory that is not named with a language code.
5. switch to the f13 branch:
- git checkout f13
6. copy the translations from the temporary directory that you made in step 4 into the document directory
7. update the document POT files:
- publican update_pot
8. update the PO files for each language:
- publican update_po --langs=all
9. check your changes into the repo:
- git add .
- git commit -m"branch for f13"
- git push
10. bug report on l10n-requests to request that Transifex file submissions be disabled for the f12-tx branch and enabled for the new f13 branch. Make sure to mention the name of the document in your request.