[Tracker-discuss] [issue73] Issue numbering

Brett Cannon brett at python.org
Mon Jan 15 22:55:38 CET 2007


On 1/15/07, Erik Forsberg <metatracker at psf.upfronthosting.co.za> wrote:
>
> Erik Forsberg added the comment:
>
> > Roché Compaan added the comment:
>
> > Is it not an option to use a prefix for sourceforge bug ids, say SF, and
> > then restart with a lower number for bugs generated in Roundup?
>
> Here's one idea:
>
> 1) Add a new property to the issue class, sf_id=Number()
>
> 2) Rewrite importer to set sf_id to the original sourceforge id of
>    each issue, but don't set the roundup ID to the sourceforge id -
>    instead, allocate issue IDs on the go, beginning with 1, ending
>    with about 9940 (that's the number of issues currently in the sf
>    database).
>
> 3) Add ability to search for sourceforge ID in search interface.
>
> 4) Make sf bug redirector aware of the mechanism, so that
>    python.org/sf/<id> redirects to the correct issue.
>
> This will break the one to one mapping between the sourceforge
> artifact IDs and the new roundup issue ids, but it might be a better
> solution for day to day use.
>
> Comments?

So if I am following this correctly this would internally store the SF
number but externally number starting at 1 for Roundup numbers?  As
long as you still have www.python.org/sf/ still do its redirect
properly (or your suggestion of a query field) that seems good to me
as eventually we won't care too much about the SF numbers.

-Brett


More information about the Tracker-discuss mailing list