RE: stalling commits until approval
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 26 Jan 2010 16:10:54 -0500
> Does anyone know of a, relatively, simple way to block commits,
I thought I had made a suggestion on how you could create an approval process... perhaps you didn't see the email.
I think a lot depends on if you are looking for a security boundary here or just a warning type system.
Your first set of steps is doable but you would have to implement much more of it. Since you don't really want a pre-commit hook to create such a long wait state.
Your second set up steps is probably more workable. Having a checkin of a file with a certain property in a "approval" branch trigger and email or notification of some type to an admin/aprovver... but I would just make step3/step4 be manual so once approved the admin commits the file to the release branch.
As far as metadata... yes, you can create a version property which would trigger your commit script to disallow a check in of certain files. OF course, those properties would be modifyable for the most part which might be ok if you don't need this to be a security boundary.
BOb
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.