We have branches for each released major version of the software, which is still actively supported. To check in any of these branches, an error identifier is required - this is done by scmbug , which not only verifies that the comment is a prefix of the error identifier, but also searches for this error in the error database, makes sure that it is assigned to the committer and, possibly, checks other criteria (for example, that the "Commit to branches" field is the branch that is assigned).
One of the products has more potential to compromise the way, and for verification, this requires not only an error identifier, but also code verification. However, the code verification criteria are processed in our error database - we have custom fields for this, and the error cannot be accepted and closed until it is considered. For me, this works from a conceptual level - it might be better to check the code that is believed to work in the repository, not considered, and then reopen the error and change it if necessary, and not postpone the fix until you You will be sure it is ready for release.
Other than that, there is no explicit policy for the trunk (although, of course, the general principles of verification often do not interrupt the assembly, including good descriptive commit messages, while still checking in units of work).
Andrzej doyle
source share