Landscape on Code Review

The Landscape guys mentioned three things that I’ve missed in Your Code Sucks and I Hate You.

  • The important thing about code reviews is that they are a conversation. Emphasise this in your team’s code review culture.
  • Don’t speak to the person, speak to the code. “Why …
more ...

From the Hands

Just starting at UDS after a week at Canonical’s Allhands event. Allhands was great, but one of the highlights for me was the Landscape team’s presentation on their development process:

We optimize for fun. If something works really well in theory but it makes things less fun, then …

more ...

Stealth feature

Last release, Tim added a stealth feature to Launchpad. Since it’s incomplete we didn’t announce it on the official blog, but it’s useful enough to share here.

If you browse to https://code.launchpad.net/\~\\(USERNAME/\\)PROJECT, you’ll get a list of all the branches in …

more ...


Time-based releases and love

I believe in time-based releases. I believe in frequent releases. I believe in a trunk branch that is always ready to be a release candidate. Many Free Software developers share my beliefs. For a long time I haven’t questioned it. It’s obviously good to release regularly and often …

more ...

Team +junk branches

Very, very recently, we changed Launchpad to support team +junk branches. So recently, in fact, I don’t think the change has hit the servers yet. Anyway, after the 2.2.3 release on April 1, you’ll be able to push up & create branches in lp:\~your-team-here/+junk/some-branch …

more ...

Trips me every time

etrepum commented on how hash functions need to be idempotent. I pretty much always interpret things about functions and idempotence incorrectly.

When used in computing, saying a function is idempotent generally means you can call it a hozillion times and the state of the system (& thus the return value of …

more ...

brisbane-core

Up in Brisbane, while I was diligently working away on package branches in Launchpad, many of the Bazaar guys were working on their new “brisbane-core” format.

I overheard one of them say in this new format ‘log -v’ is up to twenty times faster.

Want more details? Well, perhaps someone …

more ...


Firefox Smart Bookmark for Branches

You might not know about Firefox smart bookmarks. They let you type something into your URL bar like “twisted 2345” and have Firefox load the Twisted bug page for bug #2345. Lifehacker explains how to create them.

Here’s one to add for Launchpad branches:

Screenshot of Firefox smart bookmarkOnce you’ve added this …

more ...


Why you should have a public location for your branch

I asked this self-same question on the Bazaar mailing list the other day. Here’s the answer:

  • Given that the place you push the branch to (its “push location”) might be different from the place that others get the branch from, branch’s have public locations.
  • Any tool that shares …
more ...




One bird, two stones

Glyph thinks that interfaces are great, and he is right (although I haven’t read the full post, I certainly agree with the title).

One of the natural things you can do with interfaces is this: make a new class Bar that delegates all of the properties of IFoo to …

more ...



Neat trick

In Argentina I hacked up a little command for the ‘launchpad’ Bazaar plugin. It’s a command line tool to open the Launchpad page for your branch in your web browser.

  $ cd ~/src/testresources/expose-reset-bug-271619 $ bzr lp-open Opening https://code.edge.launchpad.net/~jml/testresources/expose-reset-bug-271619 in web browser

… and …

more ...