map distro package name to branch

Bug #87945 reported by Martin Pool
This bug report is a duplicate of:  Bug #91579: associate branch with source package. Edit Remove
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Medium
Jonathan Lange

Bug Description

For the benefit of distro developers, we would like to an indirection from source package name to the main upstream branch (typicall imported). This could be used by the lp: protocol,

 bzr log lp:libgtk1.2

Tags: lp-code
Revision history for this message
Celso Providelo (cprov) wrote :

Martin,

We might find useful to store this relation as '$DISTRIBUTION/$NAME/$VERSION' or something similar.
This way we are sure that it will cope appropriately with "derivation" in Soyuz.

What do you think ?

Revision history for this message
Martin Pool (mbp) wrote :

btw the lp: url just rewrites the url into the code.launchpad.net namespace.

So like this?

http://code.launchpad.net/ubuntu/gtk+1.2/1.2.10-18

That would be ok however I think we'd also want a url for whatever is the current version in the distro, and in a particular version. Something like

 /ubuntu/gtk+1.2/
 /dapper/gtk+1.2/

or

 /ubuntu/dapper/gtk+1.2

I don't know if distro releases are pillar names?

Revision history for this message
Celso Providelo (cprov) wrote :

No, distroreleases are not pillar names.

But the "current source package release" depends on a distrorelease, as you pointed:

   /ubuntu/dapper/gtk+1.2

Looks like you need to store:

 * source name in LP: "gtk+1.2"
 * multiple targets in LP: "ubuntu/dapper"/"debian/sid"/"guadalinux/foo"

I don't know about version, if they would be different across targets.

Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → thumper
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

It would be annoying to have to type lp:ubuntu/hardy/gtk+1.2 all the time, but if /ubuntu/gtk+1.2/+branches redirected to /ubuntu/CURRENT/gtk+1.2/+branches where CURRENT is the current development distroseries so that we could just do lp:ubuntu/gtk+1.2, then that would work.

Revision history for this message
Tim Penhey (thumper) wrote :

This fits more under jml's source package branch work.

Changed in launchpad-bazaar:
assignee: thumper → jml
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.