Closed
Bug 281590
Opened 20 years ago
Closed 20 years ago
Stop using RelationSet
Categories
(Bugzilla :: Bugzilla-General, enhancement, P3)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: mkanat, Assigned: mkanat)
References
(Blocks 1 open bug)
Details
RelationSet is confusing, and I don't think it will be easy to make it modern,
modular Bugzilla code. It was helpful once upon a time, but we don't really
depend on it anymore.
We should factor it out of modern Bugzilla code, and then remove it.
The diff_arrays function in bug 281550 should be very helpful in many of the
cases where we wanted to use RelationSet.
Assignee | ||
Comment 1•20 years ago
|
||
For reference, here are all the places currently using RelationSet, from a quick
grep:
Bugzilla/Bug.pm:use Bugzilla::RelationSet;
Bugzilla/Bug.pm: my $ccSet = new Bugzilla::RelationSet;
Bugzilla/BugMail.pm:use Bugzilla::RelationSet;
Bugzilla/BugMail.pm: my $ccSet = new Bugzilla::RelationSet();
globals.pl:use Bugzilla::RelationSet;
process_bug.cgi:use Bugzilla::RelationSet;
userprefs.cgi:use Bugzilla::RelationSet;
userprefs.cgi: my $watcheduserSet = new Bugzilla::RelationSet;
userprefs.cgi: my $origWatchedUsers = new Bugzilla::RelationSet;
userprefs.cgi: my $newWatchedUsers = new
Bugzilla::RelationSet($cgi->param('watchedusers'));
Assignee | ||
Comment 2•20 years ago
|
||
OK, all the dependencies have patches awaiting review. Once they are complete
and checked-in, RelationSet just needs to be removed from the repo. :-)
My, how simple that was. :-)
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•20 years ago
|
||
This has no patch, because it only requires RelationSet being moved to the
attic, and I don't know how to do that in a patch. Once bug 281550 lands, this
can be done.
Flags: approval?
Assignee | ||
Updated•20 years ago
|
Target Milestone: --- → Bugzilla 2.20
Assignee | ||
Updated•20 years ago
|
Priority: -- → P3
Updated•20 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 4•20 years ago
|
||
BAM!
Removing Bugzilla/RelationSet.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/RelationSet.pm,v <-- RelationSet.pm
new revision: delete; previous revision: 1.10
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•