Closed Bug 1243051 Opened 10 years ago Closed 10 years ago

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

Categories

(bugzilla.mozilla.org :: Administration, task)

Production
task
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

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
Attached patch 1243051_1.patchSplinter Review
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+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git 8c1c37e..6a9eda8 master -> master
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: