Loop/Library Upgrades: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Use better link)
(Add a note about what to do.)
Line 3: Line 3:
These links allow us to easily create bugs for upgrading the libraries. Please only create bugs if you work on the team!
These links allow us to easily create bugs for upgrading the libraries. Please only create bugs if you work on the team!


* [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_file_loc=http%3A%2F%2F&bug_ignored=0&bug_severity=normal&bug_status=NEW&cf_backlog=---&cf_feature_b2g=---&cf_fx_iteration=---&cf_fx_points=---&cf_status_firefox41=---&cf_status_firefox42=---&cf_status_firefox43=---&cf_status_firefox44=---&cf_status_firefox_esr38=---&cf_tracking_e10s=---&cf_tracking_firefox41=---&cf_tracking_firefox42=---&cf_tracking_firefox43=---&cf_tracking_firefox44=---&cf_tracking_firefox_esr38=---&cf_tracking_firefox_relnote=---&comment=-%20Libraries%20live%20in%20browser%2Fcomponents%2Floop%2Ftest%2Fshared%2Fvendor%2F%0D%0A%0D%0AFor%20each%20library%3A%0D%0A%0D%0A-%20Review%20the%20ChangeLog%2Frelease%20notes%20from%20the%20current%20library%20version%20to%20the%20new%20version.%0D%0A--%20Look%20out%20for%20any%20significant%20changes%2Fadditions%0D%0A-%20Download%20the%20library%0D%0A-%20Replace%20the%20old%20library%20with%20the%20new%20one.%0D%0A-%20Do%20a%20repository%20mv%20%28e.g.%20hg%20mv%20or%20git%20mv%29%20to%20change%20the%20name%20of%20the%20library%20to%20include%20the%20new%20version%20number%2C%20e.g.%20sinon-1.16.1.js%20to%20sinon-1.17.1.js%29%0D%0A-%20Grep%20for%20the%20old%20library%20filename%20in%20the%20loop%2F%20directory%20and%20replace%20references%20with%20the%20new%20filename.%0D%0A-%20Run%20unit%20tests%0D%0A-%20Ensure%20no%20errors%20occur%2C%20fixing%20them%20if%20they%20do%20occur.%0D%0A%0D%0AOccasionally%20a%20library%20will%20have%20an%20error%20that%27s%20an%20actual%20regression%2C%20and%20if%20so%20it%20then%20needs%20filing%20with%20the%20library%2C%20and%20typically%20we%20hold%20off%20the%20upgrade%20until%20it%20is%20fixed.%0D%0A%0D%0A-%20Once%20all%20of%20the%20test%20libraries%20are%20updated%2C%20submit%20the%20patch%20for%20review%2C%20reference%20any%20of%20the%20major%20changes%20spotted.%0D%0A-%20When%20it%20lands%2C%20send%20notification%20of%20any%20major%20changes%20to%20loop-frontend-dev.%0D%0A%0D%0AChangelogs%20%26%20downloads%3A%0D%0A%0D%0ASinon%0D%0A-%20http%3A%2F%2Fsinonjs.org%2F%0D%0A-%20http%3A%2F%2Fsinonjs.org%2FChangelog.txt%0D%0A%0D%0AMocha%0D%0A-%20http%3A%2F%2Fmochajs.org%2F%20%28install%20somewhere%20via%20npm%2C%20and%20copy%20from%20node_modules%29%0D%0A-%20https%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha%2Fblob%2Fmaster%2FHISTORY.md%0D%0A%0D%0AChai%0D%0A-%20http%3A%2F%2Fchaijs.com%2F%20%28select%20%22browser%22%29%0D%0A-%20https%3A%2F%2Fgithub.com%2Fchaijs%2Fchai%2Fblob%2Fmaster%2FHistory.md%0D%0A%0D%0AChai-as-promised%0D%0A-%20http%3A%2F%2Fchaijs.com%2Fplugins%2Fchai-as-promised%0D%0A-%20https%3A%2F%2Fgithub.com%2Fdomenic%2Fchai-as-promised%2Freleases&component=Client&contenttypemethod=autodetect&contenttypeselection=text%2Fplain&defined_groups=1&flag_type-203=X&flag_type-37=X&flag_type-4=X&flag_type-607=X&flag_type-720=X&flag_type-721=X&flag_type-737=X&flag_type-781=X&flag_type-787=X&flag_type-791=X&flag_type-800=X&flag_type-846=X&flag_type-856=X&flag_type-864=X&flag_type-875=X&flag_type-889=X&flag_type-892=X&form_name=enter_bug&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=All&priority=--&product=Hello%20%28Loop%29&rep_platform=All&short_desc=Update%20Loop%27s%20vendor%20libraries%20for%20unit%20tests%20%28sinon%20version%20%2C%20mocha%20version%20%2C%20chai%20version%20%2C%20chai-as-promised%20version%20%29&target_milestone=---&version=unspecified Unit test library upgrade]
* [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_file_loc=http%3A%2F%2F&bug_ignored=0&bug_severity=normal&bug_status=NEW&cf_backlog=---&cf_feature_b2g=---&cf_fx_iteration=---&cf_fx_points=---&cf_status_firefox41=---&cf_status_firefox42=---&cf_status_firefox43=---&cf_status_firefox44=---&cf_status_firefox_esr38=---&cf_tracking_e10s=---&cf_tracking_firefox41=---&cf_tracking_firefox42=---&cf_tracking_firefox43=---&cf_tracking_firefox44=---&cf_tracking_firefox_esr38=---&cf_tracking_firefox_relnote=---&comment=-%20Libraries%20live%20in%20browser%2Fcomponents%2Floop%2Ftest%2Fshared%2Fvendor%2F%0D%0A%0D%0AFor%20each%20library%3A%0D%0A%0D%0A-%20Review%20the%20ChangeLog%2Frelease%20notes%20from%20the%20current%20library%20version%20to%20the%20new%20version.%0D%0A--%20Look%20out%20for%20any%20significant%20changes%2Fadditions%0D%0A-%20Download%20the%20library%0D%0A-%20Replace%20the%20old%20library%20with%20the%20new%20one.%0D%0A-%20Do%20a%20repository%20mv%20%28e.g.%20hg%20mv%20or%20git%20mv%29%20to%20change%20the%20name%20of%20the%20library%20to%20include%20the%20new%20version%20number%2C%20e.g.%20sinon-1.16.1.js%20to%20sinon-1.17.1.js%29%0D%0A-%20Grep%20for%20the%20old%20library%20filename%20in%20the%20loop%2F%20directory%20and%20replace%20references%20with%20the%20new%20filename.%0D%0A-%20Run%20unit%20tests%0D%0A-%20Ensure%20no%20errors%20occur%2C%20fixing%20them%20if%20they%20do%20occur.%0D%0A%0D%0AOccasionally%20a%20library%20will%20have%20an%20error%20that%27s%20an%20actual%20regression%2C%20and%20if%20so%20it%20then%20needs%20filing%20with%20the%20library%2C%20and%20typically%20we%20hold%20off%20the%20upgrade%20until%20it%20is%20fixed.%0D%0A%0D%0A-%20Once%20all%20of%20the%20test%20libraries%20are%20updated%2C%20submit%20the%20patch%20for%20review%2C%20reference%20any%20of%20the%20major%20changes%20spotted.%0D%0A-%20When%20it%20lands%2C%20send%20notification%20of%20any%20major%20changes%20to%20loop-frontend-dev.%0D%0A%0D%0AChangelogs%20%26%20downloads%3A%0D%0A%0D%0ASinon%0D%0A-%20http%3A%2F%2Fsinonjs.org%2F%0D%0A-%20http%3A%2F%2Fsinonjs.org%2FChangelog.txt%0D%0A%0D%0AMocha%0D%0A-%20http%3A%2F%2Fmochajs.org%2F%20%28install%20somewhere%20via%20npm%2C%20and%20copy%20from%20node_modules%29%0D%0A-%20https%3A%2F%2Fgithub.com%2Fmochajs%2Fmocha%2Fblob%2Fmaster%2FHISTORY.md%0D%0A%0D%0AChai%0D%0A-%20http%3A%2F%2Fchaijs.com%2F%20%28select%20%22browser%22%29%0D%0A-%20https%3A%2F%2Fgithub.com%2Fchaijs%2Fchai%2Fblob%2Fmaster%2FHistory.md%0D%0A%0D%0AChai-as-promised%0D%0A-%20http%3A%2F%2Fchaijs.com%2Fplugins%2Fchai-as-promised%0D%0A-%20https%3A%2F%2Fgithub.com%2Fdomenic%2Fchai-as-promised%2Freleases&component=Client&contenttypemethod=autodetect&contenttypeselection=text%2Fplain&defined_groups=1&flag_type-203=X&flag_type-37=X&flag_type-4=X&flag_type-607=X&flag_type-720=X&flag_type-721=X&flag_type-737=X&flag_type-781=X&flag_type-787=X&flag_type-791=X&flag_type-800=X&flag_type-846=X&flag_type-856=X&flag_type-864=X&flag_type-875=X&flag_type-889=X&flag_type-892=X&form_name=enter_bug&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=All&priority=--&product=Hello%20%28Loop%29&rep_platform=All&short_desc=Update%20Loop%27s%20vendor%20libraries%20for%20unit%20tests%20%28sinon%20version%20%2C%20mocha%20version%20%2C%20chai%20version%20%2C%20chai-as-promised%20version%20%29&target_milestone=---&version=unspecified Unit test library upgrade] (add versions in subject before submitting)

Revision as of 12:56, 2 October 2015

Frequently we update Loop's libraries so that we don't fall a long way behind.

These links allow us to easily create bugs for upgrading the libraries. Please only create bugs if you work on the team!