/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-19 02:03:54 UTC
  • mfrom: (5757.8.11 knitpackrepo-7)
  • Revision ID: pqm@pqm.ubuntu.com-20110419020354-qu7nt76r2uj4pb5c
(jelmer) Move _KeyRefs from bzrlib.knit to bzrlib.versionedfile. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
For other platforms and to install from source code, see the Download_
30
30
and Installation_ pages.
31
31
 
32
 
.. _installation instructions for Windows: http://bazaar-vcs.org/WindowsDownloads
33
 
.. _installation instructions for Mac OS X: http://bazaar-vcs.org/MacOSXBundle
34
 
.. _Download: http://bazaar-vcs.org/Download
35
 
.. _Installation: http://bazaar-vcs.org/InstallationFaq
 
32
.. _installation instructions for Windows: http://wiki.bazaar.canonical.com/WindowsDownloads
 
33
.. _installation instructions for Mac OS X: http://wiki.bazaar.canonical.com/MacOSXBundle
 
34
.. _Download: http://wiki.bazaar.canonical.com/Download
 
35
.. _Installation: http://wiki.bazaar.canonical.com/InstallationFaq
36
36
 
37
37
 
38
38
Introducing yourself
64
64
 $ mkdir subdirectory
65
65
 $ touch test1.txt test2.txt test3.txt subdirectory/test4.txt
66
66
 
67
 
**Note for Windows users:** use Windows Explorer to create your
 
67
**Note for Windows users**: use Windows Explorer to create your
68
68
directories, then right-click in those directories and select
69
69
``New file`` to create your files.
70
70
 
75
75
If it looks like nothing happened, don't worry. Bazaar has created a
76
76
branch_ where it will store your files and their revision histories.
77
77
 
78
 
.. _branch: http://bazaar-vcs.org/Branch
 
78
.. _branch: http://wiki.bazaar.canonical.com/Branch
79
79
 
80
80
The next step is to tell Bazaar which files you want to track. Running
81
81
``bzr add`` will recursively add everything in the project::
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://bazaar-vcs.org/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.
186
159
 
187
160
.. [#] Use of the ``lp:`` URL scheme requires bzr 0.92 or later.
188
161
 
189
 
**Note:** ``+junk`` means that this branch isn't associated with any particular
 
162
**Note**: ``+junk`` means that this branch isn't associated with any particular
190
163
project in Launchpad.
191
164
 
192
165
Now, anyone can create their own copy of your branch by typing::
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