PlanetUbuntu

Differences between revisions 2 and 21 (spanning 19 versions)
Revision 2 as of 2006-08-04 10:11:11
Size: 1583
Editor: host-87-74-55-236
Comment: for multi-participant branches, checkout is better than get/push
Revision 21 as of 2007-02-20 17:59:45
Size: 2726
Editor: 137
Comment: Edited username to make it more obvious that they need to use their own username
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
To add your feed to [http://planet.ubuntu.com Planet Ubuntu], you must be an Ubuntu Member[[FootNote(You must either be one of the UbuntuMembers on Launchpad, or be in one of its member teams.)]], and your ssh key must be included in your Launchpad account information. To add your feed to [http://planet.ubuntu.com Planet Ubuntu], you must be an Ubuntu Member[[FootNote(You must either be one of the [https://launchpad.net/~ubuntumembers Ubuntu Members], or be in one of its member teams. See http://www.ubuntu.com/community/processes/newmember for details.)]], and your ssh key must be included in your Launchpad account information.
Line 3: Line 3:

Subscribed feeds must be at least ''occasionally'' relevant to Ubuntu, and we ask that you make use of your software's category or tag features to control which posts will appear on [http://planet.ubuntu.com Planet Ubuntu]. We reserve the right to remove any feed that is inaccessible, flooding the page with off-topic entries, or otherwise interfering with the operation of the Planet.
Subscribed feeds ought to be at least ''occasionally'' relevant to Ubuntu, although the only hard and fast rule is "don't annoy people." We reserve the right to remove any feed that is inaccessible, flooding the page, or otherwise interfering with the operation of the Planet.
Line 8: Line 7:
To add your feed, first check out the configuration files from the launchpad bzr tree: You first need to add an SSH public key to your launchpad account, if you haven't done so already. If your launchpad username is {{{yourusername}}}, then you would go to:

{{{https://launchpad.net/people/yourusername/+editsshkeys}}}

Then to add your feed, first install the "bzr" and "paramiko" packages if you haven't done so already:
{{{
$sudo apt-get install bzr python-paramiko
}}}

Next, check out the configuration files from the launchpad bzr tree.
Line 11: Line 19:
$ bzr checkout sftp://bazaar.launchpad.net/~planet-ubuntu/config/main $ bzr checkout sftp://yourusername@bazaar.launchpad.net/~planet-ubuntu/config/main planet-ubuntu
$ cd planet-ubuntu/
Line 14: Line 23:
Next, place your hackergotchi into the {{{heads/}}} subdirectory: /!\ If this checkout fails with a "No branch found" message, it is likely that you are not listed as an [https://launchpad.net/~ubuntumembers Ubuntu Member.] Read more about how the [http://www.ubuntu.com/community/processes/newmember new member process] works. If the checkout fails with a Permission denied error, it is likely that your SSH key isn't in Launchpad, or that you have your username wrong.

Next, place your hackergotchi[[FootNote(Your hackergotchi should be scaled to roughly 100x100 pixels, give or take.)]] into the {{{heads/}}} subdirectory:
Line 17: Line 28:
$ cp ~/hackergotchi.png heads/jrhakr.png
$ bzr add heads/jrhakr.png
$ cp ~/hackergotchi.png heads/yourusername.png
$ bzr add heads/yourusername.png
}}}
If you don't have a hackergotchi to add right away, comment out the line (using # at the beginning) or leave the entire line out.

Once you've done that, add a stanza like the following to the end of the {{{config.ini}}} file:

{{{
[http://blog.example.com/~yourusername/feed?category=ubuntu-only]
name = Your Name Here
face = yourusername.png
nick = yourusername
Line 21: Line 42:
Once you've done that, add a stanza like the following to the end of the {{{members/config.ini}}} file:

{{{
[http://blog.example.com/~jrhakr/feed?category=ubuntu-only]
name = J. Random Hacker
fake = jrhakr.png
nick = jrhakr
}}}
/!\ Please use your real name at least somewhere in the 'name' field.
Line 33: Line 47:
$ bzr commit -m "Added jrhakr to Planet Ubuntu" $ bzr commit -m "Added yourusername to Planet Ubuntu"

To add your feed to [http://planet.ubuntu.com Planet Ubuntu], you must be an Ubuntu MemberFootNote(You must either be one of the [https://launchpad.net/~ubuntumembers Ubuntu Members], or be in one of its member teams. See http://www.ubuntu.com/community/processes/newmember for details.), and your ssh key must be included in your Launchpad account information.

Subscribed feeds ought to be at least occasionally relevant to Ubuntu, although the only hard and fast rule is "don't annoy people." We reserve the right to remove any feed that is inaccessible, flooding the page, or otherwise interfering with the operation of the Planet.

Adding Your Feed

You first need to add an SSH public key to your launchpad account, if you haven't done so already. If your launchpad username is yourusername, then you would go to:

https://launchpad.net/people/yourusername/+editsshkeys

Then to add your feed, first install the "bzr" and "paramiko" packages if you haven't done so already:

$sudo apt-get install bzr python-paramiko

Next, check out the configuration files from the launchpad bzr tree.

$ bzr checkout sftp://yourusername@bazaar.launchpad.net/~planet-ubuntu/config/main planet-ubuntu
$ cd planet-ubuntu/

Warning /!\ If this checkout fails with a "No branch found" message, it is likely that you are not listed as an [https://launchpad.net/~ubuntumembers Ubuntu Member.] Read more about how the [http://www.ubuntu.com/community/processes/newmember new member process] works. If the checkout fails with a Permission denied error, it is likely that your SSH key isn't in Launchpad, or that you have your username wrong.

Next, place your hackergotchiFootNote(Your hackergotchi should be scaled to roughly 100x100 pixels, give or take.) into the heads/ subdirectory:

$ cp ~/hackergotchi.png heads/yourusername.png
$ bzr add heads/yourusername.png

If you don't have a hackergotchi to add right away, comment out the line (using # at the beginning) or leave the entire line out.

Once you've done that, add a stanza like the following to the end of the config.ini file:

[http://blog.example.com/~yourusername/feed?category=ubuntu-only]
name = Your Name Here
face = yourusername.png
nick = yourusername

Warning /!\ Please use your real name at least somewhere in the 'name' field.

When you are satisfied that your entry is correct, it's time to check in your changes:

$ bzr commit -m "Added yourusername to Planet Ubuntu"

Warning /!\ Please note that Planet runs from cron, and it relies on the work of some periodic events on the Launchpad server. Your changes could take up to two hours to take effect.

PlanetUbuntu (last edited 2024-02-20 14:35:36 by merlijn-sebrechts)