[opensuse-buildservice] request state names
Hi, this is a snippet from a "request": (see http://en.opensuse.org/Build_Service/Concepts/Requests) <state name="foobar" who="poeml" when="2008-03-06T10:14:49" /> <history name="new" who="poeml" when="2008-03-04T23:46:37" /> Would it be more logical to change that to <state name="foobar" who="poeml" when="2008-03-06T10:14:49" /> <statehistory name="new" who="poeml" when="2008-03-04T23:46:37" /> because for <history> it isn't very clear what it's about? With <statehistory>, it is more obvious what "name" means. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
On Thursday 06 March 2008 10:18, Dr. Peter Poeml wrote:
this is a snippet from a "request": (see http://en.opensuse.org/Build_Service/Concepts/Requests)
<state name="foobar" who="poeml" when="2008-03-06T10:14:49" /> <history name="new" who="poeml" when="2008-03-04T23:46:37" />
Would it be more logical to change that to
<state name="foobar" who="poeml" when="2008-03-06T10:14:49" /> <statehistory name="new" who="poeml" when="2008-03-04T23:46:37" />
because for <history> it isn't very clear what it's about?
With <statehistory>, it is more obvious what "name" means.
As "history" (or "statehistory") has exactly the same attributes as "state" I think it would even be desirable to use the same tag here. The current state would be denoted by the highest "when" value. This could be made more explicit by adding an "current=true" attribute or putting it into an extra tag. E.g.: <current> <state name="foobar" who.../> </current> <history> <state name="new" who.../> <state name="old" who../> </history> -- Cornelius Schumacher <cschum@suse.de> --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Cornelius Schumacher
-
Dr. Peter Poeml