~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/mini-tutorial/index.txt

  • Committer: John Arbash Meinel
  • Date: 2011-05-11 11:35:28 UTC
  • mto: This revision was merged to the branch mainline in revision 5851.
  • Revision ID: john@arbash-meinel.com-20110511113528-qepibuwxicjrbb2h
Break compatibility with python <2.6.

This includes auditing the code for places where we were doing
explicit 'sys.version' checks and removing them as appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
    Initial import
141
141
 
142
142
 
143
 
Publishing your branch with sftp
144
 
================================
145
 
 
146
 
There are a couple of ways to publish your branch. If you already have
147
 
an SFTP server or are comfortable setting one up, you can publish your
148
 
branch to it.
149
 
 
150
 
Otherwise, skip to the next section to publish with Launchpad_, a free
151
 
hosting service for Bazaar.
152
 
 
153
 
.. _Launchpad: https://launchpad.net/
154
 
 
155
 
Let's assume you want to publish your branch at ``www.example.com/myproject``::
156
 
 
157
 
 $ bzr push --create-prefix sftp://your.name@example.com/~/public_html/myproject
158
 
 2 revision(s) pushed.
159
 
 
160
 
Bazaar will create a ``myproject`` directory on the remote server and
161
 
push your branch to it.
162
 
 
163
 
Now anyone can create their own copy of your branch by typing::
164
 
 
165
 
 $ bzr branch http://www.example.com/myproject
166
 
 
167
 
**Note**: to use sftp, you may need to install ``paramiko`` and
168
 
``pyCrypto``. See http://wiki.bazaar.canonical.com/InstallationFaq for details.
169
 
 
170
 
 
171
 
Publishing your branch with Launchpad
172
 
=====================================
173
 
 
174
 
Launchpad is a suite of development and hosting tools for free
175
 
software projects. You can use it to publish your branch.
 
143
Publishing your branch on Launchpad
 
144
===================================
 
145
 
 
146
Launchpad is a suite of development and hosting tools for
 
147
software projects. You can use it to publish your branch.  (You can 
 
148
also publish branches onto your own server or other hosting services.)
176
149
 
177
150
If you don't have a Launchpad account, follow the `account signup guide`_
178
151
and `register an SSH key`_ in your new Launchpad account.
197
170
history, at https://code.launchpad.net/people/+me/+junk/myproject
198
171
 
199
172
 
 
173
 
 
174
 
200
175
Creating your own copy of another branch
201
176
========================================
202
177