Class R10K::Environment::SVN
In: lib/r10k/environment/svn.rb
Parent: R10K::Environment::Base

This class implements an environment based on an SVN branch.

@since 1.3.0

Methods

new   status   sync   sync_modules  

Included Modules

R10K::Logging R10K::Util::Setopts

Attributes

password  [R]  @!attribute [r] password
  @return [String, nil] The SVN password to be passed to the underlying SVN commands
  @api private
remote  [R]  @!attribute [r] remote
  @return [String] The URL to the remote SVN branch to check out
username  [R]  @!attribute [r] username
  @return [String, nil] The SVN username to be passed to the underlying SVN commands
  @api private
working_dir  [R]  @!attribute [r] working_dir
  @api private
  @return [R10K::SVN::WorkingDir] The SVN working directory backing this environment

Public Class methods

Initialize the given SVN environment.

@param name [String] The unique name describing this environment. @param basedir [String] The base directory where this environment will be created. @param dirname [String] The directory name for this environment. @param options [Hash] An additional set of options for this environment.

@option options [String] :remote The URL to the remote SVN branch to check out @option options [String] :username The SVN username @option options [String] :password The SVN password

Public Instance methods

Perform an initial checkout of the SVN repository or update the repository.

If the environment is being created for the first time, it will automatically update all modules to ensure that the environment is complete.

@api public @return [void]

@deprecated @api private

[Validate]