Last Comment Bug 1243051 - Create one off script to output cpanfile with all modules and their current versions to be used for version pinning
: Create one off script to output cpanfile with all modules and their current v...
Classification: Other
Component: Administration (show other bugs)
: Production
: Unspecified Unspecified
-- normal (vote)
: ---
Assigned To: David Lawrence [:dkl]
Depends on:
  Show dependency treegraph
Reported: 2016-01-26 10:10 PST by David Lawrence [:dkl]
Modified: 2016-01-31 09:05 PST (History)
1 user (show)
See Also:
Due Date:
QA Whiteboard:
Iteration: ---
Points: ---

1243051_1.patch (4.58 KB, patch)
2016-01-26 11:35 PST, David Lawrence [:dkl]
dylan: review+
Details | Diff | Splinter Review

Description User image David Lawrence [:dkl] 2016-01-26 10:10:41 PST
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.

Comment 1 User image David Lawrence [:dkl] 2016-01-26 11:35:09 PST
Created attachment 8712325 [details] [diff] [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 './ --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?

Comment 2 User image Dylan Hardison [:dylan] 2016-01-28 12:32:35 PST
Comment on attachment 8712325 [details] [diff] [review]

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

Comment 3 User image David Lawrence [:dkl] 2016-01-31 09:05:48 PST
To ssh://
   8c1c37e..6a9eda8  master -> master

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