what if tracker url changes?

Martin Pool mbp at canonical.com
Wed Nov 17 04:30:41 GMT 2010


On 17 November 2010 14:31, David Muir <davidkmuir at gmail.com> wrote:

> The URL is a part of the revision data and cannot be changed. URLs are
> used because they are unique identifiers, and are usable without
> additional configuration, whereas the aliases passed at commit time may
> be assigned differently by different people, or may not be set up at all
> for many people viewing the Bazaar branch.
>
> Why not store both, and allow the user to override the stored url with a
> user configured alias?

For that matter, you might as well allow the user to apply a rewrite
map to URLs after the fact.  Then in the common case that URLs are
stable in the medium term, or they move but with an http-level
redirect things are simple; and if they change but in a mechanically
recognizable way it's still possible.

In my experience it's a bit more common for projects to change
bugtrackers entirely (thus getting new bug numbers, or discarding
their old bugs) than to keep the same tracker at a new URL, though
that can also happen.

-- 
Martin



More information about the bazaar mailing list