This page explains how to use gNewSense bazaar server hosted by Savannah to commit changes to it.
Contents
Become Project Member
First of all, you need to become a member of gNewSense Project on http://savannah.nongnu.org/projects/gnewsense.
SSH key
You have to generate a ssh public key to authenticate on savannah's bazaar for committing changes.
On your personnal computer, type:
ssh-keygen
Then, log yourself on to http://savannah.nongnu.org and go to My Account Conf, then Add SSH Key. Copy the previously generated key in the space provided.
Bazaar
In this section, we will commit changes to the docs branch of gNewSense bazaar server.
Bazaar installation
To install bazaar under gNewSense, type:
sudo apt-get update sudo apt-get install bzr
Set your user id
To set your user id, type:
bzr whoami "Name FamilyName <myemailaddress@mymailserver>
For example:
bzr whoami "Jack Sparrow <jack.s@gmail.com>
Get current version of docs branch
First, change directory if you want docs branch be downloaded inside it:
cd mybzrdir
To get current version of the docs branch, type:
bzr branch sftp://mymemberpseudoonsavannah@bzr.savannah.nongnu.org/srv/bzr/gnewsense/docs
or
bzr branch http://bzr.savannah.nongnu.org/r/gnewsense/docs
for anonymous access.
Edit docs branch locally
Example:
mkdir -pv docs/doc-rejected-by-debian/gnu/automake/automake-1.10.1 cp automake.info docs/doc-rejected-by-debian/gnu/automake/automake-1.10.1/
Commit changes
For Bazaar to be aware that changes have been made, run:
bzr add
Then, to commit changes:
bzr commit -m "Added automake 1.10.1 info file." --create-prefix sftp://mymemberpseudoonsavannah@bzr.savannah.nongnu.org/srv/bzr/gnewsense/docs
If it is not the first time you commit changes, you may instead have to run:
bzr commit -m "Added automake 1.10.1 info file."
Finally, to upload newly created files and directories on the savannah server:
bzr push
More on Bazaar
More information can be found on http://doc.bazaar.canonical.com/latest/en/mini-tutorial/.
