Configuration object

Gervase Markham gerv at mozilla.org
Thu Nov 12 11:48:17 UTC 2009


On 12/11/09 06:46, Max Kanat-Alexander wrote:
> 	To be honest, there really is so much complexity, and so many things
> that are going to possibly be changing about Bugzilla's configuration
> and backend in the future, that I'm not sure I can give a good review on
> this right now. I'd say to use your best judgment (which seems pretty
> good so far for the API stuff) and then if there are specific questions,
> ask those and see if we have some answers.

OK, fair enough :-)

Here are some specific questions:

1) This data in JSON form is 157k for bugzilla.mozilla.org[0], and is
likely to be more for Bugzillas with more products, components or flags.
In particular, as flags are valid per-component, 2/3 of that 157k is
saying which flags are valid for every component.

It could be that people don't always want all the data. So I'd like to
add an option or two that they can add as parameters to not include some
stuff. The question is, what? I've added "flags=0" to remove all flags
stuff. You could still use the resulting data for anything except adding
flags to bugs or attachments. Are there other slices and dices which
might still be useful but of lower volume?

2) Does my reasoning for not wrapping Classifications around Products
make sense?

3) Can you think of any more params we should obviously expose?

4) Should we index the "group" hash by "id" or "name"? Both are unique.

5) Are there any plans to make request_group and grant_group multi-valued?

Gerv

[0] https://bugzilla-stage-tip.mozilla.org/config.cgi?ctype=json
    (note: this is down as I write but should be back soon)
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list