On Mon, Oct 6, 2008 at 1:17 PM, dd-b <[EMAIL PROTECTED]> wrote:
> On Oct 3, 5:00 pm, "Brian Mathis" <[EMAIL PROTECTED]> wrote:
>> On Fri, Oct 3, 2008 at 5:24 PM, dd-b <[EMAIL PROTECTED]> wrote:
>
>> > For me, source control doesn't address the same problem.  I'm using
>> > source control on my puppet files collection, but I periodically need
>> > access to old versions intermediate between when I have now and what I
>> > last committed.  Except for Sun's old (and otherwise disastrous) NSE
>> > and a small-company product called DRTS that I don't think exists any
>> > more either, I haven't run into a version-control system that handles
>> > that case decently.
>>
>> It sounds like you need to be committing more often.  There should
>> never be a time when you have a config that you find useful (ie:
>> something that you are satisfied is working) that is not committed.
>> If you find that you need revisions that are "in between" two commits,
>> then you didn't commit often enough.
>
> Sometimes I need access to versions more recent than the last commit
> during periods when the code wasn't even compiling cleanly (never mind
> "working") -- clearly such code should *not* be checked in to the
> public repository!  (The thing with NSE and DRTS was that you had a
> private repository as well as one or more layers of public ones, so I
> could check into my private one as often as you (and I) think is
> useful without exposing my intermediate states to the world. I've
> since my previous post seen that GIT, which is actually current and
> even relevant to Puppet, may also support that working style.)
>
> Also, I have to make a conscious decision to commit, and it's easier
> to just version the saves than to do manual commits and make up
> comments and so forth that frequently.

Although it looks like we aren't going to be able to convince you, I
will add to the argument. I was a heavy user of backup files until I
started using an SCM. Then I still used backup files and made the same
complaints. Then some people who were smarter/more experienced than me
suggested I was using the SCM incorrectly, so I tried it their way for
awhile.

I've never looked back.

Seriously. Try it.

--Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to