The default bug view has changed. See this FAQ.

Create one off script to output cpanfile with all modules and their current versions to be used for version pinning

RESOLVED FIXED

Status

()

bugzilla.mozilla.org
Administration
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: dkl, Assigned: dkl)

Tracking

Production

Details

Attachments

(1 attachment)

(Assignee)

Description

a year ago
We need a script that will output a cpanfile that contains the required/recommended module dependencies. If installed it should add the versions of the currently installed modules to the file so that those versions will be chosen when building a new system. Another reason for doing this is so we can move away from self-built RPMs and use known working modules on all new BMO webheads.

dkl
(Assignee)

Comment 1

a year ago
Created attachment 8712325 [details] [diff] [review]
1243051_1.patch

Basically lifted code mostly from Bugzilla::Install::Requirements. The end-goal of this would be we would have:

1) Ops run this script on the production webheads
2) Check the resulting cpanfile into git and use that in future new installs instead of './checksetup.pl --cpanfile'.
3) At periodic intervals, we update our test instance to the latest modules, run the full test suite, and check in a new cpanfile with the updated versions.

Sound good?

dkl
Attachment #8712325 - Flags: review?(dylan)
Comment on attachment 8712325 [details] [diff] [review]
1243051_1.patch

Review of attachment 8712325 [details] [diff] [review]:
-----------------------------------------------------------------

r=dylan
Attachment #8712325 - Flags: review?(dylan) → review+
(Assignee)

Comment 3

a year ago
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   8c1c37e..6a9eda8  master -> master
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.