Editing Git For Garage

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
== Requesting Git for your Garage project ==
== Requesting Git for your Garage project ==
-
=== New Projects ===
+
As all Git projects currently start out with a Subversion repository, you must request conversion to a Git repository. Send an email to [mailto:ferenc@maemo.org Ferenc], from the email account that is registered in your Garage profile, including the name of your Garage project in the request.
-
 
+
-
When you start a new project at garage you can select "git" to be the default version control system. At the bottom of the request form you can pick between "svn" and "git". Your new project will automatically have a "git" repository.
+
-
 
+
-
=== Old Project Can Request Conversion ===
+
-
 
+
-
This feature has not been advertized, but it is possible to convert an existing subversion repository to a "git" repo. All you need to do is to go to the "Admin" page of your project's SCM section and click the "Convert to git repository" button.
+
-
 
+
-
Your request will be scheduled and you can monitor the progress through a link that will be shown to you as soon as you hit the button.
+
-
 
+
-
The conversion works the best (tm) with svn repositories that have "standard layout". Standard layout means that the root of the subversion repo has:
+
-
 
+
-
-trunk
+
-
 
+
-
-branches
+
-
 
+
-
-tags
+
-
 
+
-
Branches and tags will be converted to proper git branches, while trunk will be the master branch.
+
-
 
+
-
If your project has a 'www' directory in its root, then it is also supposed to be converted.
+
-
 
+
-
Conversion also works for repositories that do not have the standard layout. However this features was just recently introduced, so bugs might surface.
+
-
 
+
-
If the conversion was OK, then your subversion repo will be disabled, meaning that no further can commits can go into it. However it will remain safe on our servers and if you remember the URL than you can even read it.
+
-
 
+
-
If you are unhappy with the result of the conversion then please request to restore it. We will revert your svn repository just like it was at the time of your conversion request.
+
-
 
+
-
If the conversion FAILED, then the system will not do any changes to your project settings and your svn repo remains usable.
+
-
 
+
-
In case you have questions, feedback or experience problems please report them through bugzilla, or just send an email to "garage at maemo dot org".
+
== Garage-specific information ==
== Garage-specific information ==
Line 39: Line 9:
Git on Garage uses the https access method via cURL (most Git installations use Git over ssh, and this is currently under development for Garage). This may cause problems due to the security certificate on https://vcs.maemo.org, so if you experience any issues with 'git clone' or 'git push' please try to set the <code>GIT_SSL_NO_VERIFY</code> environment variable to 1, for example:
Git on Garage uses the https access method via cURL (most Git installations use Git over ssh, and this is currently under development for Garage). This may cause problems due to the security certificate on https://vcs.maemo.org, so if you experience any issues with 'git clone' or 'git push' please try to set the <code>GIT_SSL_NO_VERIFY</code> environment variable to 1, for example:
  export GIT_SSL_NO_VERIFY=1
  export GIT_SSL_NO_VERIFY=1
-
in a terminal on Linux using bash.
+
in a terminal on [[Linux]] using bash.
For proxy users, the <code>https_proxy</code> environment variable must be set, for example:
For proxy users, the <code>https_proxy</code> environment variable must be set, for example:
Line 48: Line 18:
  login __garage user name__
  login __garage user name__
  password __garage password__
  password __garage password__
-
 
-
== Additional info ==
 
-
 
-
The information on the Garage SCM page for Git projects seems incorrect or incomplete. If you want to push you will need to specify:
 
-
 
-
<code><nowiki>https://<garage username>@vcs.maemo.org/git/<project name></nowiki></code>...as the URL of the repository.
 
== Further reading ==
== Further reading ==
Line 59: Line 23:
* [http://git-scm.com/documentation Git documentation] at the Git homepage
* [http://git-scm.com/documentation Git documentation] at the Git homepage
* [http://git.or.cz/course/svn.html Subversion to Git documentation] for users familiar with Subversion but new to Git
* [http://git.or.cz/course/svn.html Subversion to Git documentation] for users familiar with Subversion but new to Git
-
* See the [[Git for Garage wishlist]]
 
[[Category:Community]]
[[Category:Community]]
[[Category:Development]]
[[Category:Development]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)