Closed
Bug 599539
Opened 14 years ago
Closed 14 years ago
Update the mod_perl.pl code for Apache2::SizeLimit 0.92
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: mkanat, Assigned: mkanat)
Details
Attachments
(1 file, 2 obsolete files)
2.52 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
In SizeLimit 0.92, the syntax for Apache2::SizeLimit changed. The old syntax remains for backwards-compatibility, so we don't have to update old branches, but we should update our latest code and require 0.92.
Also, the docs seem to indicate that Apache2::SizeLimit now works on Windows.
Assignee | ||
Comment 1•14 years ago
|
||
I ran into this bug while I was working on this:
https://rt.cpan.org/Ticket/Display.html?id=61622
Assignee | ||
Comment 2•14 years ago
|
||
This should be all that's required. Not asking for review yet, because I'm waiting for the bug report to be addressed.
Assignee: general → mkanat
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•14 years ago
|
||
The SizeLimit maintainers have fixed the bug and it will be released as part of 0.93.
![]() |
||
Comment 4•14 years ago
|
||
(In reply to comment #3)
> The SizeLimit maintainers have fixed the bug and it will be released as part of
> 0.93.
0.93 has been released 2 months ago.
Assignee | ||
Comment 5•14 years ago
|
||
Comment on attachment 478472 [details] [diff] [review]
v1
All right, then this patch is ready.
Attachment #478472 -
Flags: review?(LpSolit)
Assignee | ||
Updated•14 years ago
|
Target Milestone: --- → Bugzilla 4.0
![]() |
||
Comment 6•14 years ago
|
||
(In reply to comment #0)
> but we should update our latest code and require 0.92.
Shouldn't your patch also require 0.92?
Assignee | ||
Comment 7•14 years ago
|
||
Ah, probably yes it should. :-)
Assignee | ||
Comment 8•14 years ago
|
||
Attachment #478472 -
Attachment is obsolete: true
Attachment #495510 -
Flags: review?(LpSolit)
Attachment #478472 -
Flags: review?(LpSolit)
Assignee | ||
Updated•14 years ago
|
Attachment #495510 -
Flags: review?(LpSolit) → review?(glob)
Comment on attachment 495510 [details] [diff] [review]
v2
The docs state that in order for this to work on windows, Win32::API needs to be installed. If we're to include support for Windows with this patch, we also need to ensure that module is installed.
Attachment #495510 -
Flags: review?(glob) → review-
Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 495510 [details] [diff] [review]
v2
Actually, Bugzilla already requires Win32::API in order for checksetup to even run. (See Bugzilla::Install::Util.) We can't even check requirements safely on Windows without having Win32::API already installed.
Attachment #495510 -
Flags: review- → review?(glob)
Comment 11•14 years ago
|
||
> Actually, Bugzilla already requires Win32::API in order for checksetup to even
> run. (See Bugzilla::Install::Util.)
the code in Bugzilla::Install::Util treats Win32::API as optional:
# Win32::API ships with ActiveState by default, though there could
# theoretically be a Windows installation without it, I suppose.
if (ON_WINDOWS and eval { require Win32::API }) {
Win32::API isn't referenced anywhere else.
i'd be happy to just make Win32::API mandatory :)
Assignee | ||
Comment 12•14 years ago
|
||
Ah, you're totally right. Okay, here's a patch that adds Win32::API to the optional requirements if we're on Windows. I figure we don't need to make it mandatory unless it really does become mandatory for us.
Attachment #495510 -
Attachment is obsolete: true
Attachment #497293 -
Flags: review?(glob)
Attachment #495510 -
Flags: review?(glob)
Comment 13•14 years ago
|
||
Comment on attachment 497293 [details] [diff] [review]
v3
r=glob
Attachment #497293 -
Flags: review?(glob) → review+
Assignee | ||
Updated•14 years ago
|
Flags: approval4.0+
Assignee | ||
Comment 15•14 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified mod_perl.pl
modified Bugzilla/Install/Requirements.pm
modified template/en/default/pages/release-notes.html.tmpl
Committed revision 7636.
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/4.0/
modified mod_perl.pl
modified Bugzilla/Install/Requirements.pm
modified template/en/default/pages/release-notes.html.tmpl
Committed revision 7503.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•