Allow bug lists to be shown and/or rolled back to a timestamp
Categories
(bugzilla.mozilla.org :: Search, enhancement)
Tracking
()
People
(Reporter: emceeaich, Unassigned)
References
(Depends on 1 open bug)
Details
RelMan and other customers have a use case where for a given set of bugs (such as bugs in a component found affecting a release train) they would like to see the bugs at snap shots in time.
This could be done as a synthetic search result by requesting a bug list through the API, requesting history
in the returned fields and reverting each change in the history in the reverse order they arrived to get back to the bug's state at a particular time.
Reporter | ||
Comment 1•6 years ago
|
||
Bug histories may be unreliable so using it to roll back to a prior state may not work. See bug 1513955.
:imadueme, is there a more reliable source of truth on bug histories?
Comment 2•6 years ago
|
||
(In reply to Emma Humphries, Bugmaster ☕️🎸🧞♀️✨ (she/her) [:emceeaich] (UTC-8) needinfo? me from comment #0)
[...] requesting
history
in the returned fields and reverting each change in the history in the reverse order they arrived to get back to the bug's state at a particular time.
This is what I'm doing in bugbug (https://github.com/mozilla/bugbug/blob/e84c248e19abc7a349e454c5e1012bff9cf57b19/bugbug/bug_snapshot.py#L1). There are a lot of corner cases though (mostly the ones I filed as blocking bug 1513955).
Comment 3•6 years ago
|
||
(In reply to Emma Humphries, Bugmaster ☕️🎸🧞♀️✨ (she/her) [:emceeaich] (UTC-8) needinfo? me from comment #1)
Bug histories may be unreliable so using it to roll back to a prior state may not work. See bug 1513955.
:imadueme, is there a more reliable source of truth on bug histories?
Sorry for the delay on this. I don't believe there's a more reliable history. the holes the kohei mentioned are present, so a full rewind of history actually may not be possible. We'd probably have to sit down and decide what history can/should be rewinded.
Comment 5•1 year ago
|
||
Description
•