Issue #3082 has been updated by Alan Barrett.

This looks very useful, and I suppose that with version control systems where 
there's almost always a 1:1 relationship between repositories and working 
copies (e.g. git) it makes sense to have a puppet type that blurs the 
distinction between a reposititory and a working copy.  But in centralised 
version control systems, a repository and a working copy are very different 
things.

I see that, depending on the parameters, a vcsrepo resource can manage either a 
subversion repository (e.g. using "svnadmin create") or a subversion working 
copy (e.g. using "svn checkout" or "svn update"), but I worry that people will 
accidentally forget the "source" parameter and turn their working copy into a 
repository.  Even if there are safety checks to prevent accidental loss of data 
from using the wrong parameters, it feels odd to manage a working copy using a 
puppet resource that implies that it's a repository.

Could you rename it to just "vcs" to remove the implication that it's only for 
repositories and not for working copies?  I know people can read the 
documentation and see that it's useful for both purposes, but I still think 
that the name matters.
----------------------------------------
Feature #3082: Repository management type and provider
http://projects.puppetlabs.com/issues/3082

Author: James Turnbull
Status: Closed
Priority: Normal
Assigned to: Luke Kanies
Category: newfeature
Target version: 
Affected version: 0.25.4rc1
Keywords: repository svn git type provider
Branch: 


There should a type for managing repositories with providers for git/svn/other?:

<pre>
repo { "myrepository":
    url = "git://???"|"svn://"|etc
    ensure => present|absent|latest|revision
}
</pre>

Should support at least SVN and Git.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

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

Reply via email to