Merge lp:~barry/bzr-alldocs/debuntu into lp:bzr-alldocs

Proposed by Barry Warsaw
Status: Merged
Merged at revision: 47
Proposed branch: lp:~barry/bzr-alldocs/debuntu
Merge into: lp:bzr-alldocs
Diff against target: 128 lines (+96/-1)
3 files modified
plugins-registry.ini (+7/-1)
plugins/en/debuntu.txt (+88/-0)
plugins/en/index.txt (+1/-0)
To merge this branch: bzr merge lp:~barry/bzr-alldocs/debuntu
Reviewer Review Type Date Requested Status
Bazaar Developers Pending
Review via email: mp+36357@code.launchpad.net

Description of the change

Adds the bzr-debuntu plugin.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins-registry.ini'
2--- plugins-registry.ini 2010-09-22 16:01:36 +0000
3+++ plugins-registry.ini 2010-09-22 18:21:48 +0000
4@@ -6,7 +6,7 @@
5 # Usage Tips:
6 # 1. Please keep plugins in alphabetical order.
7 # 2. The only required values are 'purpose' and 'link.branch'.
8-# 3. purpose needs to be consise as it appears in the Guide's Contents.
9+# 3. purpose needs to be concise as it appears in the Guide's Contents.
10 # 4. link.branch is where the code lives. Use lp:xxx if appropriate.
11 # Other link.xxx settings you may wish to define:
12 # * link.home is the home page. If not set and link.branch=lp:xxx,
13@@ -190,6 +190,12 @@
14 platform.mac-osx = False
15 platform.windows = False
16
17+[plugin debuntu]
18+purpose = Shortcuts for referencing Ubuntu and Debian source branches on Launchpad
19+link.branch = lp:bzr-debuntu
20+owner = barry
21+platform.gnulinux = True
22+
23 [plugin depend]
24 purpose = Show versions of installed libraries used by Bazaar
25 link.branch = lp:bzr-depend
26
27=== added file 'plugins/en/debuntu.txt'
28--- plugins/en/debuntu.txt 1970-01-01 00:00:00 +0000
29+++ plugins/en/debuntu.txt 2010-09-22 18:21:48 +0000
30@@ -0,0 +1,88 @@
31+``debuntu`` - Shortcuts to Ubuntu and Debian source branches on Launchpad
32+=========================================================================
33+
34+================ ============================================================
35+Version Not specified
36+Branch `lp:bzr-debuntu <https://code.launchpad.net/bzr-debuntu>`_
37+Home page `<https://launchpad.net/bzr-debuntu>`_
38+Owner `barry <https://launchpad.net/~barry>`_
39+GNU/Linux Yes
40+Windows Unknown
41+Mac OS X Unknown
42+================ ============================================================
43+
44+debuntu
45+-------
46+
47+**Purpose**
48+
49+Debian and Ubuntu source branch access.
50+
51+**Usage**
52+
53+``bzr branch ubuntu:gtimelog``
54+
55+**Options**
56+
57+None
58+
59+**Description**
60+
61+This plugin provides some convenient shortcuts for getting to Debian and
62+Ubuntu source branches on Launchpad. It uses the `launchpad plugin
63+<launchpad-plugin.html>`_ to resolve the URLs, so you must have that plugin
64+available and set up.
65+
66+By using the ``ubuntu:`` or ``debian:`` URL schemes, you can easily access the
67+source branch for a project on Launchpad for the given distribution. You can
68+also specify a *distroseries* by naming it in the first path parameter. For
69+example, to access the
70+`Ubuntu Maverick <https://launchpad.net/ubuntu/maverick>`_
71+version of the
72+`GTimeLog Time Tracker <https://code.launchpad.net/ubuntu/maverick/+source/gtimelog>`_
73+project, you could use::
74+
75+ bzr branch ubuntu:maverick/gtimelog
76+
77+Without a distroseries specification, the source package for the *current*
78+distroseries is used (as determined by Launchpad).
79+
80+The plugin supports abbreviations for both the distro and distroseries.
81+``u:`` is an abbreviation for ``ubuntu:`` and ``d:`` is an abbreviation for
82+``debian:``. Abbreviations for distroseries are also available, e.g:
83+
84+Ubuntu:
85+
86+ * m -> maverick
87+ * l -> lucid
88+ * k -> karmic
89+ * j -> jaunty
90+ * h -> hardy
91+ * d -> dapper
92+
93+Debian:
94+
95+ * l -> lenny
96+ * s -> squeeze
97+
98+**Examples**
99+
100+Here are some example usages for accessing the source branches for project
101+``foo``:
102+
103+=================== ==========
104+bzr branch expands to
105+=================== ==========
106+ubuntu:foo lp:ubuntu/foo
107+ubuntu:maverick/foo lp:ubuntu/maverick/foo
108+ubuntu:m/foo lp:ubuntu/maverick/foo
109+u:foo lp:ubuntu/foo
110+u:maverick/foo lp:ubuntu/maverick/foo
111+u:m/foo lp:ubuntu/maverick/foo
112+debian:foo lp:debian/foo
113+debian:squeeze/foo lp:debian/squeeze/foo
114+debian:s/foo lp:debian/squeeze/foo
115+d:foo lp:debian/foo
116+d:squeeze/foo lp:debian/squeeze/foo
117+d:s/foo lp:debian/squeeze/foo
118+=================== ==========
119
120=== modified file 'plugins/en/index.txt'
121--- plugins/en/index.txt 2010-03-31 09:17:09 +0000
122+++ plugins/en/index.txt 2010-09-22 18:21:48 +0000
123@@ -123,6 +123,7 @@
124 bzrtools-plugin
125 colo-plugin
126 custom-url-schemes-plugin
127+ debuntu
128 grep-plugin
129
130

Subscribers

People subscribed via source and target branches