<?xml version="1.0" encoding="utf-8"?>
<!-- name="generator" content="pyblosxom/1.2.1 06/01/2005" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>ddaa bbloggs   </title>
<link>http://ddaa.net/blog/launchpad/bzr-hosting</link>
<description>Some free bits of software.</description>
<language>en</language>
<item>
    <title>Community Bazaar Hosting on Launchpad</title>
    <link>http://ddaa.net/blog/launchpad/bzr-hosting.html</link>
    <description>&lt;p&gt;You could &lt;a class=&quot;reference&quot; href=&quot;http://ddaa.net/blog/launchpad/basic-bzr&quot;&gt;already&lt;/a&gt; register &lt;a class=&quot;reference&quot; href=&quot;http://bazaar-vcs.org/FrontPage&quot;&gt;bzr&lt;/a&gt; branches on &lt;a class=&quot;reference&quot; href=&quot;https://launchpad.net&quot;&gt;Launchpad&lt;/a&gt;, provided you had
some web space to put them on. Now, you can host your bzr branches directly on
Launchpad.&lt;/p&gt;
&lt;p&gt;You can register a bzr branch you are hosting elsewhere using your web browser.
This is called an &lt;em&gt;external branch&lt;/em&gt;, and will be automatically mirrored on a
daily basis.&lt;/p&gt;
&lt;p&gt;To ask Launchpad to host a branch for you, use the bzr tool to connect
to the bazaar.launchpad.net SFTP server and upload your branch. This is
called a &lt;em&gt;hosted branch&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;I have discussed external branches &lt;a class=&quot;reference&quot; href=&quot;http://ddaa.net/blog/launchpad/basic-bzr&quot;&gt;before&lt;/a&gt;. The rest of this article discusses
how to set up and use a hosted branch.&lt;/p&gt;
&lt;p&gt;For this recipe you will need:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;A Launchpad account. If you do not have one yet, you can &lt;a class=&quot;reference&quot; href=&quot;https://launchpad.net/+login&quot;&gt;register&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;A Bazaar branch. If you do not have that yet, there are &lt;a class=&quot;reference&quot; href=&quot;http://bazaar-vcs.org/Tutorials&quot;&gt;tutorials&lt;/a&gt; to get you
started.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Branches are uploaded to Launchpad using the SFTP protocol. Authentication is
done using the SSH public key system. The Ubuntu wiki has a good &lt;a class=&quot;reference&quot; href=&quot;https://wiki.ubuntu.com/SSHHowto&quot;&gt;SSH
Howto&lt;/a&gt; covering &lt;a class=&quot;reference&quot; href=&quot;https://wiki.ubuntu.com/SSHHowto#public-key-auth&quot;&gt;public key&lt;/a&gt; authentication and &lt;a class=&quot;reference&quot; href=&quot;https://wiki.ubuntu.com/SSHHowto#ssh-agent&quot;&gt;ssh-agent&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Once you have a SSH public key, register it in Launchpad: go to your account
page, click on &lt;em&gt;SSH Keys&lt;/em&gt; in the top left corner, and enter your public key in
the form.&lt;/p&gt;
&lt;p&gt;To push a branch to Launchpad, you need three pieces of information.&lt;/p&gt;
&lt;ol class=&quot;arabic simple&quot;&gt;
&lt;li&gt;The name of your account: this is the last part of the URL of your account
page, and you can modify it in the &lt;em&gt;Personal details&lt;/em&gt; form accessible from
your account&apos;s page.&lt;/li&gt;
&lt;li&gt;The name of the Launchpad &lt;a class=&quot;reference&quot; href=&quot;https://launchpad.net/products&quot;&gt;product&lt;/a&gt; the branch belongs to. The name of the
product is the last part of the URL of the product page.&lt;/li&gt;
&lt;li&gt;The name of the branch to publish. This name must be unique for an owner and
product, but the same name can be used by different users in the same
product and by the same user in different products. If you have no idea,
&amp;quot;&lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;dev&lt;/span&gt;&lt;/tt&gt;&amp;quot; is a good name for an all-purposes development branch.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In the following examples, substitute &lt;em&gt;account&lt;/em&gt; with your account name,
&lt;em&gt;product&lt;/em&gt; with a product name, and &lt;em&gt;branch&lt;/em&gt; with the branch name.&lt;/p&gt;
&lt;p&gt;For convenience, you can record your Launchpad account name in your
&lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;~/.ssh/config&lt;/span&gt;&lt;/tt&gt; file, by adding the following lines:&lt;/p&gt;
&lt;blockquote&gt;&lt;pre&gt;
Host bazaar.launchpad.net
    User &lt;i&gt;account&lt;/i&gt;
&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;Then you can push a branch on Launchpad using the following command:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
  &lt;strike&gt;bzr push --create-prefix sftp://bazaar.launchpad.net/~&lt;i&gt;account&lt;/i&gt;/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;&lt;/strike&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; As Jamesh Henstridge &lt;a class=&quot;reference&quot; href=&quot;http://blogs.gnome.org/view/jamesh/2006/09/06/0&quot;&gt;reported&lt;/a&gt;, it is no longer necessary to use the
--create-prefix option when pushing to bazaar.launchpad.net. &lt;/small&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
  bzr push sftp://bazaar.launchpad.net/~&lt;i&gt;account&lt;/i&gt;/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;After the push, the branch appears on the Launchpad web site and you can use it
to set a title, description, and various other attributes of the branch. The
Launchpad page for the branch will be found at this URL:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strike&gt;&lt;code&gt;
https://launchpad.net/+people/&lt;i&gt;account&lt;/i&gt;/+branches/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;
&lt;/code&gt;&lt;/strike&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; The URL structure of the web site changed, /+people/name was
replaced by /~people. &lt;/small&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;
https://launchpad.net/~&lt;i&gt;account&lt;/i&gt;/+branches/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;
&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;After pushing, the branch data will be published at this URL, advertised on the
branch page:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;
http://bazaar.launchpad.net/~&lt;i&gt;account&lt;/i&gt;/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;.
&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;strike&gt; There is some latency between the time a branch is pushed to SFTP and
the time when the data published by HTTP is updated. This latency is currently
one day, but new code will be deployed soon bringing this down to a few
minutes. &lt;/strike&gt;&lt;/p&gt;
&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; The latency reduction work has been deployed &lt;/small&gt;&lt;/p&gt;
&lt;p&gt;It can be a few minutes between the time a branch is pushed to SFTP and the
time when the data published by HTTP is updated. Usually, this delay is two
minutes.&lt;/p&gt;
&lt;p&gt;Now, a more negative note, the things you &lt;em&gt;cannot&lt;/em&gt; currently do with branches
on Launchpad:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;Push to a &lt;em&gt;external branch&lt;/em&gt; that was registered on the Launchpad web site.&lt;/li&gt;
&lt;li&gt;Convert a branch between hosted and external. Once the branch is created, it
will either be mirrored from an external URL, or published from the SFTP
area.&lt;/li&gt;
&lt;li&gt;Use the bzr repository feature. At the moment, each hosted branch must be
self contained.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A branch can also be owned by a team, allowing multiple users to commit. More
on this next time!&lt;/p&gt;
&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; James Henstridge talked about &lt;a class=&quot;reference&quot; href=&quot;http://blogs.gnome.org/view/jamesh/2006/08/17/1&quot;&gt;shared branches&lt;/a&gt; and Andrew
Bennetts emphasized how &lt;a class=&quot;reference&quot; href=&quot;http://andrew.puzzling.org/diary/2006/October/9/20061009&quot;&gt;Bazaar checkouts&lt;/a&gt; are useful. &lt;/small&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Thanks to Malcolm Cleaton, James Henstridge, and Stuart Bishop for
proof-reading this article and suggesting numerous improvements.&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;</description>
  </item>
	    <item>
      <title>Community Bazaar Hosting on Launchpad</title>
      <link>http://ddaa.net/blog/launchpad/bzr-hosting/launchpad/bzr-hosting</link>
      <description>&lt;p&gt;You could &lt;a class=&quot;reference&quot; href=&quot;http://ddaa.net/blog/launchpad/basic-bzr&quot;&gt;already&lt;/a&gt; register &lt;a class=&quot;reference&quot; href=&quot;http://bazaar-vcs.org/FrontPage&quot;&gt;bzr&lt;/a&gt; branches on &lt;a class=&quot;reference&quot; href=&quot;https://launchpad.net&quot;&gt;Launchpad&lt;/a&gt;, provided you had
some web space to put them on. Now, you can host your bzr branches directly on
Launchpad.&lt;/p&gt;
&lt;p&gt;You can register a bzr branch you are hosting elsewhere using your web browser.
This is called an &lt;em&gt;external branch&lt;/em&gt;, and will be automatically mirrored on a
daily basis.&lt;/p&gt;
&lt;p&gt;To ask Launchpad to host a branch for you, use the bzr tool to connect
to the bazaar.launchpad.net SFTP server and upload your branch. This is
called a &lt;em&gt;hosted branch&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;I have discussed external branches &lt;a class=&quot;reference&quot; href=&quot;http://ddaa.net/blog/launchpad/basic-bzr&quot;&gt;before&lt;/a&gt;. The rest of this article discusses
how to set up and use a hosted branch.&lt;/p&gt;
&lt;p&gt;For this recipe you will need:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;A Launchpad account. If you do not have one yet, you can &lt;a class=&quot;reference&quot; href=&quot;https://launchpad.net/+login&quot;&gt;register&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;A Bazaar branch. If you do not have that yet, there are &lt;a class=&quot;reference&quot; href=&quot;http://bazaar-vcs.org/Tutorials&quot;&gt;tutorials&lt;/a&gt; to get you
started.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Branches are uploaded to Launchpad using the SFTP protocol. Authentication is
done using the SSH public key system. The Ubuntu wiki has a good &lt;a class=&quot;reference&quot; href=&quot;https://wiki.ubuntu.com/SSHHowto&quot;&gt;SSH
Howto&lt;/a&gt; covering &lt;a class=&quot;reference&quot; href=&quot;https://wiki.ubuntu.com/SSHHowto#public-key-auth&quot;&gt;public key&lt;/a&gt; authentication and &lt;a class=&quot;reference&quot; href=&quot;https://wiki.ubuntu.com/SSHHowto#ssh-agent&quot;&gt;ssh-agent&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Once you have a SSH public key, register it in Launchpad: go to your account
page, click on &lt;em&gt;SSH Keys&lt;/em&gt; in the top left corner, and enter your public key in
the form.&lt;/p&gt;
&lt;p&gt;To push a branch to Launchpad, you need three pieces of information.&lt;/p&gt;
&lt;ol class=&quot;arabic simple&quot;&gt;
&lt;li&gt;The name of your account: this is the last part of the URL of your account
page, and you can modify it in the &lt;em&gt;Personal details&lt;/em&gt; form accessible from
your account&apos;s page.&lt;/li&gt;
&lt;li&gt;The name of the Launchpad &lt;a class=&quot;reference&quot; href=&quot;https://launchpad.net/products&quot;&gt;product&lt;/a&gt; the branch belongs to. The name of the
product is the last part of the URL of the product page.&lt;/li&gt;
&lt;li&gt;The name of the branch to publish. This name must be unique for an owner and
product, but the same name can be used by different users in the same
product and by the same user in different products. If you have no idea,
&amp;quot;&lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;dev&lt;/span&gt;&lt;/tt&gt;&amp;quot; is a good name for an all-purposes development branch.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In the following examples, substitute &lt;em&gt;account&lt;/em&gt; with your account name,
&lt;em&gt;product&lt;/em&gt; with a product name, and &lt;em&gt;branch&lt;/em&gt; with the branch name.&lt;/p&gt;
&lt;p&gt;For convenience, you can record your Launchpad account name in your
&lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;~/.ssh/config&lt;/span&gt;&lt;/tt&gt; file, by adding the following lines:&lt;/p&gt;
&lt;blockquote&gt;&lt;pre&gt;
Host bazaar.launchpad.net
    User &lt;i&gt;account&lt;/i&gt;
&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;Then you can push a branch on Launchpad using the following command:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
  &lt;strike&gt;bzr push --create-prefix sftp://bazaar.launchpad.net/~&lt;i&gt;account&lt;/i&gt;/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;&lt;/strike&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; As Jamesh Henstridge &lt;a class=&quot;reference&quot; href=&quot;http://blogs.gnome.org/view/jamesh/2006/09/06/0&quot;&gt;reported&lt;/a&gt;, it is no longer necessary to use the
--create-prefix option when pushing to bazaar.launchpad.net. &lt;/small&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
  bzr push sftp://bazaar.launchpad.net/~&lt;i&gt;account&lt;/i&gt;/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;After the push, the branch appears on the Launchpad web site and you can use it
to set a title, description, and various other attributes of the branch. The
Launchpad page for the branch will be found at this URL:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strike&gt;&lt;code&gt;
https://launchpad.net/+people/&lt;i&gt;account&lt;/i&gt;/+branches/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;
&lt;/code&gt;&lt;/strike&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; The URL structure of the web site changed, /+people/name was
replaced by /~people. &lt;/small&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;
https://launchpad.net/~&lt;i&gt;account&lt;/i&gt;/+branches/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;
&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;After pushing, the branch data will be published at this URL, advertised on the
branch page:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;
http://bazaar.launchpad.net/~&lt;i&gt;account&lt;/i&gt;/&lt;i&gt;product&lt;/i&gt;/&lt;i&gt;branch&lt;/i&gt;.
&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;strike&gt; There is some latency between the time a branch is pushed to SFTP and
the time when the data published by HTTP is updated. This latency is currently
one day, but new code will be deployed soon bringing this down to a few
minutes. &lt;/strike&gt;&lt;/p&gt;
&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; The latency reduction work has been deployed &lt;/small&gt;&lt;/p&gt;
&lt;p&gt;It can be a few minutes between the time a branch is pushed to SFTP and the
time when the data published by HTTP is updated. Usually, this delay is two
minutes.&lt;/p&gt;
&lt;p&gt;Now, a more negative note, the things you &lt;em&gt;cannot&lt;/em&gt; currently do with branches
on Launchpad:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;Push to a &lt;em&gt;external branch&lt;/em&gt; that was registered on the Launchpad web site.&lt;/li&gt;
&lt;li&gt;Convert a branch between hosted and external. Once the branch is created, it
will either be mirrored from an external URL, or published from the SFTP
area.&lt;/li&gt;
&lt;li&gt;Use the bzr repository feature. At the moment, each hosted branch must be
self contained.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A branch can also be owned by a team, allowing multiple users to commit. More
on this next time!&lt;/p&gt;
&lt;p&gt;&lt;small&gt;&lt;strong&gt;Update:&lt;/strong&gt; James Henstridge talked about &lt;a class=&quot;reference&quot; href=&quot;http://blogs.gnome.org/view/jamesh/2006/08/17/1&quot;&gt;shared branches&lt;/a&gt; and Andrew
Bennetts emphasized how &lt;a class=&quot;reference&quot; href=&quot;http://andrew.puzzling.org/diary/2006/October/9/20061009&quot;&gt;Bazaar checkouts&lt;/a&gt; are useful. &lt;/small&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Thanks to Malcolm Cleaton, James Henstridge, and Stuart Bishop for
proof-reading this article and suggesting numerous improvements.&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;</description>
      <category domain="http://www.sauria.com">launchpad</category>
      <dc:date>2006-06-15T17:19:47Z</dc:date>
    </item>
   </channel>
</rss>