Closed Bug 137631 Opened 22 years ago Closed 20 years ago

status workflow diagram

Categories

(Bugzilla :: Documentation, defect, P3)

2.10
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: jayvdb, Assigned: jacob)

Details

Attachments

(10 files, 7 obsolete files)

1.27 KB, text/plain
Details
7.34 KB, image/png
Details
51.00 KB, application/octet-stream
Details
119.69 KB, image/jpeg
Details
66.00 KB, application/vnd.visio
Details
1.18 KB, patch
shane.h.w.travis
: review+
Details | Diff | Splinter Review
62.00 KB, image/png
Details
55.08 KB, text/xml
Details
92.92 KB, image/svg+xml
Details
110.16 KB, image/png
Details
A bugzilla status/workflow diagram would be a useful addition to the Bugzilla
documentation.  As well as being a reference for existing Bugzilla users, it
would serve as a simple way of comparing Bugzilla to an existing bug tracking
system, as most proprietary/inhouse systems will have an equivalent diagram.
Attached file Graphviz status graph (obsolete) —
I am not sure this is completely correct, but it should serve as a guide.
Attached image workflow.png - GraphViz output (obsolete) —
I think it is also possible to go from verified -> reopened, yes?

I'm guessing that when customisable resolutions arrive, it will be possible to
auto-generate this workflow diagram??
Attached file workflow.pl
Thanks for pointing that out.  This perl script uses the GraphViz perl module
to generate the dot/png file.

I am sure that this will allow the diagram to be updated to reflect custom
status/resolutions.
Attachment #79348 - Attachment is obsolete: true
Attachment #79349 - Attachment is obsolete: true
I think 'Reopen' is not ASSIGNED -> ASSIGNED , but instead these two:

NEW -> NEW
ASSIGNED -> NEW
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18
Reassigning bugs from barnboy@trilobyte.net to
mbarnson@sisna.com.
Assignee: barnboy → mbarnson
Erm, I'm not exactly sure what to do with this.  Should it just be checked into
the docs area, or am I supposed to use workflow.pl to create a graph to include
with the documentation?
Status: NEW → ASSIGNED
The graph in the attachment "workflow.png" is incomplete and has a wrong edge 
from ASSIGNED to ASSIGNED. I drew a complete state diagram for Bugzilla V2.12 
and will attach it at PNG and VSD (if anybody wants to edit it).
Concerning Matthew's question: 
Yes, please include it in the html-documentation of Bugzilla.
This is on my radar to put in; I don't have a "workflow" section to the Guide
yet, so there's no great spot to put it that it won't stick out.  I'm thinking
and writing and reorganizing though, it's not forgotten!
Matthew is still going to be around to help out, but Jake is taking over the
day-to-day front-line triage type stuff for Documentation
Assignee: matthew → jake
Status: ASSIGNED → NEW
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
Here's another state flow we got on the developer's list. I believe the
original contributor was Arun Kumar. Does he have a Bugzilla account?

I also have a very pretty statechart that I made for my local installation,
complete with explanations, but it's for a modified set of resolutions and
policies than b.m.o uses.

It would be good if we could get the source of this attachment, so that we
could edit it ourselves.
It's not quite correct - for example, bugs can be filed directly as NEW. But
it's cool to have.

Gerv
(In reply to comment #14)
> It would be good if we could get the source of this attachment, so that we
> could edit it ourselves.
Let me know if I can help in modifying the source to accomodate the changes you 
are looking for.

The greatest problem is that there are *no* Visio viewers or editors for Linux,
that I know of. Is there any compatible format that we could get it in, like an
SVG or something?
Oh, Arun wasn't on the CC list. :-) Arun, read my last comment. :-)
(In reply to comment #18)
> The greatest problem is that there are *no* Visio viewers or editors for 
Linux,
> that I know of. Is there any compatible format that we could get it in, like 
an
> SVG or something?
Yeah, I know. I did it on my work PC [don't have linux on it :( ]. And Visio 
doensn't support exporting into SVG.

If it's a problem, I can redo this in Dia (Linux at home :)) using Dia. Just 
let me know.
Yeah, let's try to get it in Dia, so that other contributors (most of whom are
using *nix) could edit it in the future. In the mean time, we can put the jpeg
statechart as an image into the docs.

I think it might be really helpful on queryhelp.cgi, too.
Assignee: documentation → arun.kumar
Status: NEW → ASSIGNED
Wow, this has been a while...  any progress on getting this in Dia format?
Attached image Produced with dia (obsolete) —
Dia actually isn't that hard to use... I just installed it today and produced
this image. I have one of those sneaking suspisions that I missed something,
but here's a PNG. Once we're sure it's complete, I'll upload the project file.
FWIW, I do like the progmatically generated one, too. It will be extra useful if
we ever get around to including custom statuses :).
That's cool, but for it to be useful perhaps the arrows need descriptive labels?

Gerv
Attached image Dia v2: Added descriptive labels. (obsolete) —
Assignee: arun.kumar → jake
Attachment #168403 - Attachment is obsolete: true
Attachment #168471 - Attachment is obsolete: true
Attached file Dia source for attachment 168524 (obsolete) —
Haven't been any negative comments on this so I'll assume that you're ready for
the Dia XML file (note, I didn't save in compressed format so that it would
make sence for cvs diff).
This patch adds the aforementioned image to the docs (as well as a link to the
XML Source).

It requires that attachment 168524 [details] and attachment 168682 [details] be in your "images"
directory.
Attachment #168686 - Flags: review?(documentation)
Comment on attachment 168686 [details] [diff] [review]
Documentation Patch

>+          <imagedata fileref="../images/bzLifecycle.png" scale="66" />

I feel the need to explain this line. I originally tried it w/out any scale.
When I generated the PDF file, the image was quite a bit bigger than the page,
even though every bit of mental comparison told me that it should be about the
same size as an 8.5x11 sheet of paper and probably a little smaller. It also
looked horrible, which told me that it was being scaled by the PDF engine and
not actually included at 100% scale (which is what the docs seem to imply:
http://www.docbook.org/tdg/en/html/imagedata.html). Anyway, I decided to
consult Google and found a website where they stated that images all seem to be
25% larger when included in a PDF for no apparent reason. Their recomendation
was to scale at 66%, which works great :).

On my local DocBook setup, the PDF generated w/out this patch is 707k and with
it is 740k.
Two things missing on attachment 168524 [details] -- you forgot LATER and REMIND as 
possible resolutions. Fix that, and r+ on the diagram itself.

I know that this is the 'using' section, but perhaps you could use this 
omission as a springboard for a short comment in the actual documentation 
patch: you mention that the flow is hardcoded, but you could also mention that 
some changes are easier than others (like adding/removing resolutions, a la 
what has been done on bmo). That's a suggestion/nit, though, and will not 
prevent r+ of the patch once the diagram is fixed.

Nice work -- been needed for a long time. Good job everyone who contributed to 
it, and thanks to Jake for bringing it in for a landing!
Bug 193242 is about adding documentation for (among other things) customizing
resolutions. When that is fixed, an <xref/> should be added to this section to
those instructions.

An r= for attachment 168686 [details] [diff] [review] will be considered an r= for this file, too (as
it's a required part of the doc patch).
Attachment #168524 - Attachment is obsolete: true
An r= for attachment 168686 [details] [diff] [review] will also be considered an r= for this file as it
is linked from attachment 1168686 and the source used to generate attachment
169032 [details].
Attachment #168682 - Attachment is obsolete: true
Comment on attachment 168686 [details] [diff] [review]
Documentation Patch

+      repsentation of this life cycle. If you wish customize this image for

"... if you wish *to* customize..."

The above is trivial and can be fixed on check-in; other than that, the patch
now looks complete and ready to go. 

I would have one concern that you're putting a diagram in the middle of what is
otherwise HTML/text-only documentation. The one other place that we have a
diagram (the database schema) it's in its own appendix. I think that this might
be worthy of its own appendix too, and would ask that you consider putting it
into one... but I don't feel strongly enough about it to deny an r+ to an
otherwise fine (and needed) patch. 

Good job, Jake!
Attachment #168686 - Flags: review?(documentation) → review+
(In reply to comment #34)
> "... if you wish *to* customize..."

Oops :)

> I would have one concern that you're putting a diagram in the middle of what is
> otherwise HTML/text-only documentation. The one other place that we have a
> diagram (the database schema) it's in its own appendix. I think that this might
> be worthy of its own appendix too, and would ask that you consider putting it
> into one... but I don't feel strongly enough about it to deny an r+ to an
> otherwise fine (and needed) patch. 

Truth be told, I personally have no objection to images being used elsewhere in
the guide where it's appropriate. Besides, if we ever get the guide published as
a book, you need to have a figure or two in the mix ;).

Fixed in tip, 2.18, and 2.16 (even though it's a slightly different place).

RCS file: /cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.png,v
done
Checking in images/bzLifecycle.png;
/cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.png,v  <-- 
bzLifecycle.png
initial revision: 1.1
done
RCS file: /cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.xml,v
done
Checking in images/bzLifecycle.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.xml,v  <-- 
bzLifecycle.xml
initial revision: 1.1
done
Checking in xml/using.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/xml/using.xml,v  <--  using.xml
new revision: 1.25; previous revision: 1.24
done



Checking in xml/using.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/xml/using.xml,v  <--  using.xml
new revision: 1.21.2.4; previous revision: 1.21.2.3
done
Checking in images/bzLifecycle.png;
/cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.png,v  <-- 
bzLifecycle.png
new revision: 1.1.2.1; previous revision: 1.1
done
Checking in images/bzLifecycle.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.xml,v  <-- 
bzLifecycle.xml
new revision: 1.1.2.1; previous revision: 1.1
done



Checking in images/bzLifecycle.png;
/cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.png,v  <-- 
bzLifecycle.png
new revision: 1.1.4.1; previous revision: 1.1
done
Checking in images/bzLifecycle.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/images/bzLifecycle.xml,v  <-- 
bzLifecycle.xml
new revision: 1.1.4.1; previous revision: 1.1
done
Checking in xml/using.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/xml/using.xml,v  <--  using.xml
new revision: 1.10.2.9; previous revision: 1.10.2.8
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The Dia version is a real mess when opened in Inkscape, but I think I can do it, so that this workflow is available in SVG format. Here is the PNG version (colorization is funky).
> The Dia version is a real mess when opened in Inkscape, but I think I can do
> it, so that this workflow is available in SVG format. Here is the PNG version
> (colorization is funky).

  Nice! Could you attach this to a new bug?
Here a SVG version of the colorized Bugzilla lifecycle.

It's been re-designed by Inkscape, Aqua-ified, there is a spelling mistake fix, and some texts have been relocated.
...and its PNG sister.
Attachment #281490 - Attachment is obsolete: true
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: