User Tools

Site Tools


dev:committing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:committing [2023/11/09 12:18] – [Committing patches with database upgrade scripts] tmccannadev:committing [2023/11/09 18:30] (current) – [Committing patches with database upgrade scripts] clarification about backporting sandbergja
Line 10: Line 10:
   - Edit the upgrade script to make sure there is an uncommented evergreen.upgrade_deps_block_check line with the upgrade script number.   - Edit the upgrade script to make sure there is an uncommented evergreen.upgrade_deps_block_check line with the upgrade script number.
   - Change the file name of the upgrade script to start with the number.   - Change the file name of the upgrade script to start with the number.
-  - In 002.schema.config.sql, update the config.upgrade_log value to match the upgrade script number.  Update the comment at the end to include the nicknames of the people involved in the patch. +  - In 002.schema.config.sql, update the config.upgrade_log value to match the upgrade script number.  Update the comment at the end to include the nicknames of the people involved in the patch (this is around line 95).{{:dev:002-screenshot.png?600|}}
-{{:dev:002-screenshot.png?600|}}+
   - Commit the upgrade script and 002.schema.config.sql changes, using a commit message like "Stamp upgrade script"   - Commit the upgrade script and 002.schema.config.sql changes, using a commit message like "Stamp upgrade script"
 +
 +If backporting the upgrade script to a release branch, use the same sequence number as you did in the main branch. For example, if you commit an upgrade script number 1234 to main, it should also be numbered 1234 in release branches.
dev/committing.1699550302.txt.gz · Last modified: 2023/11/09 12:18 by tmccanna

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.