If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.
Bug 470233 (bz-moose)

Bugzilla should use Moose (and Mouse)




9 years ago
3 years ago


(Reporter: Max Kanat-Alexander, Unassigned)


(Blocks: 1 bug, {meta})

Dependency tree / graph




9 years ago
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.


9 years ago
Alias: bz-moose


9 years ago
Depends on: 470237

Comment 1

5 years ago
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.
Target Milestone: Bugzilla 4.4 → ---

Comment 2

3 years ago
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.
+1 on using Moo where appropriate.

Comment 4

3 years ago
WONTFIX, per today's meeting: https://wiki.mozilla.org/Bugzilla:Meetings:2014-10-22
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.