The limits of VCS (the "no good Perl jobs"/"no good Perl programmers" myth)

Tielman de Villiers tvilliers at gmail.com
Wed Aug 9 15:43:02 BST 2006


On 09/08/06, Adrian Howard <adrianh at quietstars.com> wrote:
>
> On 9 Aug 2006, at 14:39, Tielman de Villiers wrote:
> [snip]
> >
> > How about using "cp" for release management? So you use a VCS for
> > development, but when deploying the code to a staging/production
> > environment, you tar it up, copy it over and and untar in the
> > deployment directory.
> >
> > Good, bad or scary?  (Presuming a trusted and private network, so
> > security is not the issue here.)
>
> Rollback?
>

rm -fR ./new_code
mv ./old_code new_code

And given that "release branches" are used in your VCS, something like:
             /      /
         rel1   rel2
           /      /
---main------------------------------->

so if rel2 is rolled back to rel1, you'd know where the production code is.


More information about the london.pm mailing list