/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
0.158.2 by Gary van der Merwe
Add documentation on adding hook to remote server.
60
If you keep push branch to the remote location that you upload to, and you only
61
want to upload when the tip of the remote branch changes, you can set the hook
62
on the remote branch.
63
64
     bzr upload ftp://host/ --directory=ftp://host/ --auto 
65
0.155.5 by James Westby
Hook up the --upload option and document it.
66
If you wish to disable this for a branch again then you can use the --no-auto
67
option.
68
69
     bzr upload --no-auto
70
71
will disable the feature for that branch.
72
0.152.36 by Martin Albisetti
Added README
73
74
Collaborating
75
-------------
76
77
While we don't have any platform setup, you can branch from trunk:
78
79
    bzr branch lp:bzr-upload
80
81
And change anything you'd like, and get in touch with any of the authors to 
82
review and add the changes.
83
84
85
Known Issues
86
------------
87
88
 * Symlinks are not supported
89
 * Execution bits aren't currently handled
90
91