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 |
||
|
0.158.18
by Vincent Ladeuil
Give a less controversial example for uploading from remote branch. |
71 |
It is possible to upload to a remote location from another remote location by |
|
0.158.24
by Vincent Ladeuil
Tweak Gary's tweaks :) |
72 |
specifying it with the --directory option: |
|
0.158.18
by Vincent Ladeuil
Give a less controversial example for uploading from remote branch. |
73 |
|
74 |
bzr upload ftp://public.example.com --directory sftp://private.example.com |
|
75 |
||
|
0.158.24
by Vincent Ladeuil
Tweak Gary's tweaks :) |
76 |
This, together with --auto, can be used to upload when you push to your |
77 |
central branch, rather than when you commit to your local branch. |
|
|
0.158.22
by Gary van der Merwe
Point out how to add hook that upload on push in README. |
78 |
|
79 |
Note that you will consume more bandwith this way than uploading from a local |
|
80 |
branch. |
|
|
0.158.8
by Gary van der Merwe
Improve working in README. |
81 |
|
|
0.152.36
by Martin Albisetti
Added README |
82 |
Collaborating
|
83 |
-------------
|
|
84 |
||
85 |
While we don't have any platform setup, you can branch from trunk: |
|
86 |
||
87 |
bzr branch lp:bzr-upload |
|
88 |
||
89 |
And change anything you'd like, and get in touch with any of the authors to |
|
90 |
review and add the changes. |
|
91 |
||
92 |
||
93 |
Known Issues
|
|
94 |
------------
|
|
95 |
||
96 |
* Symlinks are not supported
|
|
97 |
||
98 |