Last Comment Bug 470233 - (bz-moose) Bugzilla should use Moose (and Mouse)
(bz-moose)
: Bugzilla should use Moose (and Mouse)
Status: RESOLVED WONTFIX
: meta
Product: Bugzilla
Classification: Server Software
Component: Bugzilla-General (show other bugs)
: 3.3
: All All
: -- enhancement (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: default-qa
Mentors:
Depends on: 470237
Blocks: bz-majorarch
  Show dependency treegraph
 
Reported: 2008-12-18 08:30 PST by Max Kanat-Alexander
Modified: 2014-10-22 08:44 PDT (History)
3 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Max Kanat-Alexander 2008-12-18 08:30:49 PST
Moose ( http://search.cpan.org/dist/Moose ) is a modern Object-Oriented system for Perl. I used it to write VCI ( http://search.cpan.org/dist/VCI ), and it is great.

I'd like to see Bugzilla start to use Moose. However, currently Moose is gigantic in terms of dependencies and compile time, so we can't use it in mod_cgi.

There is another module called Mouse ( http://search.cpan.org/dist/Mouse ) that provides almost all the features of Moose, but is very lightweight. We can start off by using Mouse.

At first, people unfamiliar with Moose may not see or understand the advantages of switching to it, but I can promise that it will give us (a) much more power over what we can do with our objects and (b) a much, much better and more powerful plugin system than we have now.
Comment 1 Frédéric Buclin 2012-08-25 02:32:06 PDT
We are going to branch for Bugzilla 4.4 next week and this bug is either too invasive to be accepted for 4.4 at this point or shows no recent activity. The target milestone is reset and will be set again *only* when a patch is attached and approved.

I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else.
Comment 2 Frédéric Buclin 2014-10-21 18:49:15 PDT
Moose is slow and has tons of dependencies. We should rather use Moo, which we already depend on via Email::Sender. Either that or WONTFIX.
Comment 3 Dylan William Hardison [:dylan] 2014-10-21 21:12:58 PDT
+1 on using Moo where appropriate.
Comment 4 Frédéric Buclin 2014-10-22 08:44:15 PDT
WONTFIX, per today's meeting: https://wiki.mozilla.org/Bugzilla:Meetings:2014-10-22

Note You need to log in before you can comment on or make changes to this bug.