Labs/Bespin/UserGuide: Difference between revisions

Line 120: Line 120:
====vcs clone====
====vcs clone====


The clone command will clone (or check out) a remote repository. This command provides an interface for entering the different parameters needed to get set up. Since clone provides access to remote resources, you will need to enter your keychain password.
The clone command will clone (or checkout) a remote repository. This command provides an interface for entering the different parameters needed to get set up. Since clone provides access to remote resources, you will need to enter your keychain password.


The main fields are:
The main fields are:


;Keychain password: password used to store your remote login credentials securely on the Bespin server
;URL: URL of the repository (generally an http, https or ssh URL)
;URL: URL of the repository (generally an http, https or ssh URL)
;Project name: name of the project to create in Bespin. You can leave this blank, and Bespin will use what comes after the last / in the URL.
;Project name: name of the project to create in Bespin. You can leave this blank, and Bespin will use what comes after the last / in the URL.
;VCS Type: which version control system is used by this repository
;VCS User: For distributed VCSes (Mercurial, Git), what username should appear in your commits for this project. You can also use the global Bespin setting "vcsuser" to set this value.
;Authentication: None (used for read-only access to public repositories), Only for writing (if it's a public repository that you have write access to) and For reading and writing (if it's a private repository)
;Authentication: None (used for read-only access to public repositories), Only for writing (if it's a public repository that you have write access to) and For reading and writing (if it's a private repository)


If you tell Bespin, via the Authentication options, that you have write access to the repository, additional fields will be displayed so that you can configure the write access.
If you tell Bespin, via the Authentication options, that you have write access to the repository, additional fields will be displayed so that you can configure the write access.


;Keychain password: password used to store your remote login credentials securely on the Bespin server
;Push to URL: Sometimes you will use a different URL for pushing than pulling, perhaps using http to pull and ssh to push. This allows you to set the URL for pushing.
;Push to URL: Sometimes you will use a different URL for pushing than pulling, perhaps using http to pull and ssh to push. This allows you to set the URL for pushing.
;Authentication type: Bespin can use SSH for authentication or username/password. See the <tt>vcs getkey</tt> command for more information about Bespin's SSH authentication.
;Authentication type: Bespin can use SSH for authentication or username/password. See the <tt>vcs getkey</tt> command for more information about Bespin's SSH authentication.
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093

edits