/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
0.152.36 by Martin Albisetti
Added README
1
Bazaar Upload
2
=============
3
4
Overview
5
--------
6
7
bzr-upload is a plugin for Bazaar which lets you upload your working tree to
8
a remote location using ftp/sftp.
9
10
The main target audience is web developers who keep their web pages version
11
controlled with bzr.
12
13
Please report any bugs to: http://bugs.launchpad.net/bzr-upload/
14
15
Our home page is located at: https://launchpad.net/bzr-upload/
16
17
The original authors are:
18
19
Vincent Ladeuil <v.ladeuil+lp@free.fr>
20
Martin Albisetti <argentina@gmail.com>
21
22
23
Quickstart
24
----------
25
26
To get started, it's as simple as running::
27
28
    bzr upload sftp://user@host/location/on/webserver
29
30
This will initially upload the whole working tree, and leave a file on the
31
remote location indicating the last revision that was uploaded, in order to 
32
avoid uploading unnecessary information the next time.
33
34
If you would like to upload a specific revision, you just do:
35
36
    bzr upload -r X  sftp://user@host/location/on/webserver
37
38
bzr-upload, just as bzr does, will remember the location where you upload the 
39
first time, so you don't need to specify it every time.
40
41
If you need to re-upload the whole working tree for some reason, you can:
42
43
    bzr upload --full sftp://user@host/location/on/webserver
44
45
0.155.5 by James Westby
Hook up the --upload option and document it.
46
Automatically Uploading
47
-----------------------
48
49
bzr-upload comes with a hook that can be used to trigger an upload whenever
50
the tip of the branch changes, including on commit, push, uncommit etc. This
51
would allow you to keep the code on the target up to date automatically.
52
53
The easiest way to enable this is to run upload with the --auto option.
54
55
     bzr upload --auto
56
57
will enable the hook for this branch. If you were to do a commit in this branch
58
now you would see it trigger the upload automatically.
59
60
If you wish to disable this for a branch again then you can use the --no-auto
61
option.
62
63
     bzr upload --no-auto
64
65
will disable the feature for that branch.
66
0.152.36 by Martin Albisetti
Added README
67
0.158.8 by Gary van der Merwe
Improve working in README.
68
Upload from Remote Location
69
---------------------------
70
71
If you push your branch to the remote location that you upload to, and you only
72
want to upload when you push to the remote branch, or do any action that changes
73
the tip of the remote branch, you can set bzr-upload to automatically upload
74
from the tip of the remote branch.
75
76
     bzr upload ftp://host/ --directory=ftp://host/ --auto
77
78
Note that the tree that upload creates is not a working tree. As such, you can
79
not do operations such as commit, or merge on the tree.
80
0.152.36 by Martin Albisetti
Added README
81
Collaborating
82
-------------
83
84
While we don't have any platform setup, you can branch from trunk:
85
86
    bzr branch lp:bzr-upload
87
88
And change anything you'd like, and get in touch with any of the authors to 
89
review and add the changes.
90
91
92
Known Issues
93
------------
94
95
 * Symlinks are not supported
96
 * Execution bits aren't currently handled
97
98