decentralization

Vitaly Fedrushkov willy at lukoil.uu.ru
Sun May 11 17:48:27 UTC 2003


Good $daytime,

> Date: Sat, 10 May 2003 00:11:55 +0100
> From: Gervase Markham <gerv at mozilla.org>
> To: developers at bugzilla.org
> Subject: Re: decentralization

> > bugzilla://bugs.debian.org/?project=gnome-theme-manager&bugnumber=N

> Or http://bugzilla.mozilla.org?show_bug.cgi?id=12345 ? :-)

> > "bugnumber" would be gnome-theme-manager (on bugs.debian.org) specific. 
> > Global variables are bad.  I suggest some type of scoping, even if it
> > doesn't follow my suggestion exactly.

There's little in identifying anything but a bug ID, as all other
attributes, including product, may change.

> Date: Fri, 9 May 2003 19:14:59 -0400 (EDT)
> From: Jason Pyeron <jason at pyeron.com>

>  bug 42 at bugzilla.mozilla.org

> this way a domain name can serve as a authoritative project
> identifier.  This should prevent collisions. this is kinda link
> sun's java package naming rules.

Hostname + bug ID simply not enough.  There should be a way to
distinguish separate Bugzilla instances on the same host.  It looks
natural to make bug URIs resemble their respective user-visible URIs
like

  http://bugzilla.example.org/path/to/bugzilla?show_bug.cgi?id=12345

This specific syntax is not the best because it puts method
(e.g. show_bug) before object, and perfect URI would name the object
instead and then would allow different entry points to be modelled
like:

  http://bugzilla.example.org/path/to/bugzilla/ID/12344/
  http://bugzilla.example.org/path/to/bugzilla/ID/12344/show
  http://bugzilla.example.org/path/to/bugzilla/ID/12344/xml-show
  http://bugzilla.example.org/path/to/bugzilla/ID/12344/update-deps?...

Here "bug URI" is a plain HTTP URI , and various methods are "just"
verbs appended.

As a side effect, this approach makes bugs cache-friendly and may
reduce server load, as not all methods use parameters.

On the implementanion side, Apache can help with its URL-rewriting
capabilities, etc.  Not sure about other servers.

  Regards,
  Willy.

--
No easy hope or lies        | Vitaly "Willy the Pooh" Fedrushkov
Shall bring us to our goal, | Control Systems and Processes Division
But iron sacrifice          | LUKOIL Company, Chelyabinsk Branch
Of Body, Will and Soul.     | willy at lukoil.uu.ru  +7 3512 620367
                  R.Kipling | VVF1-RIPE





More information about the developers mailing list