Closed
Bug 189154
Opened 22 years ago
Closed 11 years ago
XML bug retrieval needs documentation
Categories
(Bugzilla :: Documentation, defect, P2)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: justdave, Unassigned)
References
()
Details
Attachments
(2 obsolete files)
I'm not sure if the XML stuff even had docs to begin with. If it didn't, it
needs it. If it did, bug 136603 just added new features to it that need to be
documented.
Reporter | ||
Updated•22 years ago
|
Target Milestone: --- → Bugzilla 2.18
Comment 1•22 years ago
|
||
The doc was mozbot, I believe :) But thats old (Hixie hasn't reviewed the latest
version yet), and I suppose I should update it at some point to use bug 136603's
stuff.
Updated•22 years ago
|
Priority: -- → P2
Reporter | ||
Comment 2•21 years ago
|
||
Jake is leaving for a while (Reserve unit got called up), and we don't have a
new docs owner yet. Anyone interested in helping out, please add
documentation@bugzilla.org to your watch list in your email preferences in Bugzilla.
Assignee: jake → documentation
Comment 3•20 years ago
|
||
Patch v1
Documents how to obtain the XML information from Bugzilla.
I figure I should probably document the format of the XML, but am not sure its
needed.
Assignee: documentation → colin.ogilvie
Status: NEW → ASSIGNED
Attachment #188989 -
Flags: review?(documentation)
Comment 4•20 years ago
|
||
For the HTML version of this page, please see
http://landfill.bugzilla.org/csodocs/testing/bugs-as-xml.html
Comment 5•20 years ago
|
||
Comment on attachment 188989 [details] [diff] [review]
Patch v1
Sorry for the delay. This looks good and ready to go in.
I have a couple of nits, but all of them are optional.
The reason for review- is the fact that this is non-commitable: like you can
see in the .html that you generated, the Mozbot link doesn't appear. In
+ <ulink href="http://www.mozilla.org/projects/mozbot/"/>)
you should replace href with url since that's the correct parameter for it.
And now for the mighty optional nits :)
Nit: do we want a dot at the end of the last three sentences listed below? :
+
<para><filename>show_bug.cgi?ctype=xml&id=1000&excludefield=long_desc</
filename>
+ - retrieve the XML content for bug 1000, exlcluding the long_desc
column
+ (as used by Mozbot)</para>
+ <para><filename>show_bug.cgi?ctype=xml&id=1000</filename> -
retrieve
+ the entire XML content for bug 1000</para>
+
<para><filename>show_bug.cgi?ctype=xml&id=1000&id=2000&field=bug_id
&field=delta_ts</filename>
+ - retrieve the bug_id and last changed time for bugs 1000 and
2000</para>
Nit: Section 14.1.2 is not logically contained because I have to look in 14.1.3
to find out that the parameter in the URL is called excludefield. Also I can
only assume that includefield exists as well, although I don't see it in the
documentation. I guess we can leave those out, but it would be nice to note
includefield and excludefield in 14.1.2.
Nit: The strangest sentence for me, a non-native English speaker, was this:
>> will only return data through the XML interface that the user that is running is able to see. <<
Maybe we should say that it will only return data that the user is authorized
to see? Although probably your sentence sounds more accurate.
Attachment #188989 -
Flags: review?(documentation) → review-
Comment 6•20 years ago
|
||
I'll prepare a new patch in the next few days...
(In reply to comment #5)
> I have a couple of nits, but all of them are optional.
>
> The reason for review- is the fact that this is non-commitable: like you can
> see in the .html that you generated, the Mozbot link doesn't appear. In
>
> + <ulink href="http://www.mozilla.org/projects/mozbot/"/>)
>
> you should replace href with url since that's the correct parameter for it.
Whoops, thats what you get for copying from an HTML document :)
> Nit: do we want a dot at the end of the last three sentences listed below? :
>
> +
> <para><filename>show_bug.cgi?ctype=xml&id=1000&excludefield=long_desc</
> filename>
> + - retrieve the XML content for bug 1000, exlcluding the long_desc
> column
> + (as used by Mozbot)</para>
> + <para><filename>show_bug.cgi?ctype=xml&id=1000</filename> -
> retrieve
> + the entire XML content for bug 1000</para>
> +
> <para><filename>show_bug.cgi?ctype=xml&id=1000&id=2000&field=bug_id
> &field=delta_ts</filename>
> + - retrieve the bug_id and last changed time for bugs 1000 and
> 2000</para>
I'm not particularly fussed one way or the other... I guess technically it
should have a . though since they are sentences to an extent...
> Nit: Section 14.1.2 is not logically contained because I have to look in 14.1.3
> to find out that the parameter in the URL is called excludefield. Also I can
> only assume that includefield exists as well, although I don't see it in the
> documentation. I guess we can leave those out, but it would be nice to note
> includefield and excludefield in 14.1.2.
Yes, that would make sense...
> Nit: The strangest sentence for me, a non-native English speaker, was this:
>
> >> will only return data through the XML interface that the user that is
running is able to see. <<
>
> Maybe we should say that it will only return data that the user is authorized
> to see? Although probably your sentence sounds more accurate.
It makes absolutely no sense to me, and I wrote it... your suggestion makes more
sense.
Comment 7•19 years ago
|
||
(In reply to comment #6)
> I'll prepare a new patch in the next few days...
How many days is "next few days" in UK? ;)
Comment 8•19 years ago
|
||
Colin, if you're too busy, I'll do the updates for you.
Comment 9•19 years ago
|
||
(In reply to comment #7)
> How many days is "next few days" in UK? ;)
Helps if you don't forget
(In reply to comment #8)
> Colin, if you're too busy, I'll do the updates for you.
Go ahead...
Comment 10•19 years ago
|
||
Assigning to myself. I'll have a patch "in a few days" :)
Just kidding. should be tomorrow.
Assignee: colin.ogilvie → bugzilla.mozilla
Status: ASSIGNED → NEW
Comment 11•19 years ago
|
||
v2 of the patch. Hopefully all of the nits are satisifed.
Review requested.
Attachment #188989 -
Attachment is obsolete: true
Attachment #208216 -
Flags: review?(documentation)
Comment 12•19 years ago
|
||
Comment on attachment 208216 [details] [diff] [review]
Patch v2
Cancelling review. Need to fix a few mistakes
Attachment #208216 -
Attachment is obsolete: true
Attachment #208216 -
Flags: review?(documentation)
Comment 13•19 years ago
|
||
Which branch must this this patch be applied against?
Comment 14•19 years ago
|
||
OK, I can't get Patch v1 to apply against 1.33 of using.xml. Help?
Updated•19 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Updated•18 years ago
|
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Comment 15•17 years ago
|
||
(In reply to comment #14)
> OK, I can't get Patch v1 to apply against 1.33 of using.xml. Help?
Copy and paste the text in the new using.xml. It's a single block. This should work fine.
Comment 16•16 years ago
|
||
Bugzilla 2.20 is no longer supported. Retargetting to 2.22.
Target Milestone: Bugzilla 2.20 → Bugzilla 2.22
Comment 17•16 years ago
|
||
Bugzilla 2.22 is no longer supported.
Target Milestone: Bugzilla 2.22 → ---
Updated•15 years ago
|
Assignee: raybooysen → documentation
Comment 18•11 years ago
|
||
Getting bugs via XML still works, but any new software written to request data from Bugzilla should be using the API. So I don't think we should or need to document the legacy XML template.
Gerv
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•