<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Git Hosting Release and More</title>
    <link>http://xp-dev.com/blog/1536/git-hosting-release-and-more</link>
    <description />
    <pubDate>Mon, 08 Mar 2010 08:12:54 GMT</pubDate>
    <dc:creator>rs</dc:creator>
    <dc:date>2010-03-08T08:12:54Z</dc:date>
    <item>
      <title>Git Hosting Release and More</title>
      <link>http://xp-dev.com/blog/1536/git-hosting-release-and-more</link>
      <description>&lt;p&gt;The long awaited Git Hosting is finally here! However, it&amp;#8217;s only enabled for paid account holders. &lt;/p&gt;&lt;p&gt;&lt;a href="/"&gt;Subversion hosting&lt;/a&gt; here at XP-Dev.com, follows a simple model &amp;#8211; as a free user, you don&amp;#8217;t get a secure link to your repository. As a paid account user, you get a secure link to your repository, and additional goodies like real-time backups and nightly off-site backups.&lt;/p&gt;&lt;p&gt;&lt;a href="/"&gt;Git hosting&lt;/a&gt; is traditionally done over SSH, and as that&amp;#8217;s a secure link, it is only enable for paid account holders. I will try to get some work done to support non-secure HTTP for Git repositories in the future, but right now, I&amp;#8217;ll be focusing on getting Mercurial hosting out of the door.&lt;/p&gt;&lt;p&gt;The good news is that &lt;a href="/"&gt;Git hosting&lt;/a&gt; here in XP-Dev.com is as feature rich as the &lt;a href="/"&gt;Subversion hosting&lt;/a&gt; offering, which means that your Git repositories will integrate nicely with &lt;a href="http://docs.xp-dev.com/user-guide/basecamp.html"&gt;Basecamp&lt;/a&gt;, &lt;a href="http://docs.xp-dev.com/user-guide/fogbugz.html"&gt;Fogbugz&lt;/a&gt;, &lt;a href="http://docs.xp-dev.com/user-guide/lighthouse.html"&gt;Lighthouse&lt;/a&gt;, &lt;a href="http://docs.xp-dev.com/user-guide/fixx.html"&gt;Fixx&lt;/a&gt; and even &lt;a href="http://docs.xp-dev.com/user-guide/twitter.html"&gt;Twitter&lt;/a&gt;. On top of it, your Git repositories will play nicely with your XP-Dev.com hosted Trac projects and supports &lt;a href="http://docs.xp-dev.com/user-guide/commitmessage.html"&gt;intelligent commit messages&lt;/a&gt; that can control your Trac or even XP-Dev.com tickets/bugs/stories/tasks. Heck, even &lt;a href="http://docs.xp-dev.com/user-guide/directfilehosting.html"&gt;direct file hosting&lt;/a&gt; works uber nicely from your Git repository. If that&amp;#8217;s not enough, we&amp;#8217;ve enabled real-time backups and nightly off-site backups on your Git repositories as well. (All of these features are available as Subversion repositories as well)&lt;/p&gt;&lt;p&gt;The only thing I feel is somewhat rudimentary is the online Git repository explorer. You should be able to browse your repository online, perform diffs and do some basic actions, but it has a few draw-backs for e.g. only browses the &lt;em&gt;master&lt;/em&gt; branch of your repository and can only diff between two trees (useful when you&amp;#8217;ve merged many trees). Naturally, all of these will be improved in due course.&lt;/p&gt;&lt;p&gt;S3 backups for Git repositories are not enabled yet, only Subversion repositories.&lt;/p&gt;&lt;p&gt;Summary of features released on 6th March 2010:&lt;/p&gt;&lt;ol style="list-style: none;"&gt;&lt;li&gt;&lt;a href="#GettingStartedwithGitHostingonXPDev.com"&gt;Getting Started with Git Hosting on XP-Dev.com&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#svn2movestobiggerhardware"&gt;svn2 moves to bigger hardware&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#ForceSSLonlyconnectionsforSubversionaccess"&gt;Force SSL only connections for Subversion access&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#TracUpgrades"&gt;Trac Upgrades&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h3 id="GettingStartedwithGitHostingonXPDev.com"&gt;Getting Started with Git Hosting on XP-Dev.com&lt;/h3&gt;&lt;p&gt;The first thing to do is to head over to your account&amp;#8217;s &lt;strong&gt;Settings&lt;/strong&gt; page to setup your SSH public key: &lt;a href="http://www.xp-dev.com/settings"&gt;http://www.xp-dev.com/settings&lt;/a&gt;&lt;/p&gt;&lt;p&gt;There&amp;#8217;s a text box under the heading &lt;strong&gt;Your Public Key&lt;/strong&gt; where you can enter your public key. Put the whole thing in there and click on &lt;strong&gt;Save&lt;/strong&gt;. Your public key needs to start with either &lt;strong&gt;ssh-dsa&lt;/strong&gt; or &lt;strong&gt;ssh-rsa&lt;/strong&gt;. Only &lt;strong&gt;DSA&lt;/strong&gt; and &lt;strong&gt;RSA&lt;/strong&gt; public keys are supported at the moment:&lt;/p&gt;&lt;p style="text-align: center;"&gt;&lt;img border="0" src="http://www.xp-dev.com/file/2074"/&gt;&lt;/p&gt;&lt;p&gt;Once you&amp;#8217;ve done that, head over to your &lt;strong&gt;Source Control&lt;/strong&gt; tab of your project. You should see a new option called &lt;strong&gt;Git&lt;/strong&gt; under type of repository:&lt;/p&gt;&lt;p style="text-align: center;"&gt;&lt;img border="0" src="http://www.xp-dev.com/file/2073"/&gt;&lt;/p&gt;&lt;p&gt;Click on &lt;strong&gt;Save&lt;/strong&gt; and the repository should be created.&lt;/p&gt;&lt;p&gt;The URL that you use to clone/push from/to is listed as well:&lt;/p&gt;&lt;p style="text-align: center;"&gt;&lt;img border="0" src="http://www.xp-dev.com/file/2075"/&gt;&lt;/p&gt;&lt;p&gt;In this case you would issue commands like below to interact with your repository (using the example from the picture above):&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Clone: &lt;code&gt;git clone ssh://git2.xp-dev.com/my-first-git-repo&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Push to the &lt;em&gt;master&lt;/em&gt; branch: &lt;code&gt;git push ssh://git2.xp-dev.com/my-first-git-repo master&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Add it as a remote repository: &lt;code&gt;git remote add xpdev ssh://git2.xp-dev.com/my-first-git-repo&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Add it as the &lt;em&gt;origin&lt;/em&gt; repository: &lt;code&gt;git remote add origin ssh://git2.xp-dev.com/my-first-git-repo&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;If you have any problems with accessing your Git repository, just &lt;a href="/support/"&gt;raise a support ticket&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;I&amp;#8217;ll be updating the documentation soon with more elaborate instructions/examples with &lt;a href="/"&gt;Git hosting&lt;/a&gt; on &lt;a href="/"&gt;XP-Dev.com&lt;/a&gt;&lt;/p&gt;&lt;h3 id="svn2movestobiggerhardware"&gt;svn2 moves to bigger hardware&lt;/h3&gt;&lt;p&gt;Part of the release done on 6th of March 2010 was to move &lt;strong&gt;svn2.xp-dev.com&lt;/strong&gt; to bigger hardware. At this point all hardware that powers &lt;a href="/"&gt;XP-Dev.com&lt;/a&gt; conforms to the following minimum specifications:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Quad core/threads&lt;/li&gt;&lt;li&gt;8GB RAM&lt;/li&gt;&lt;li&gt;2x1.5TB hard drives in RAID1 configuration&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;At the moment there&amp;#8217;s about 1.7TB of space remaining across the board, so, there&amp;#8217;s plenty of room left!&lt;/p&gt;&lt;h3 id="ForceSSLonlyconnectionsforSubversionaccess"&gt;Force SSL only connections for Subversion access&lt;/h3&gt;&lt;p&gt;You can force only SSL access to your Subversion repositories as this will help your fellow collaborators avoid using a non-secure connection.&lt;/p&gt;&lt;p&gt;To enable it, head to your &lt;strong&gt;Source Control&lt;/strong&gt; tab and click on &lt;strong&gt;Edit Repository&lt;/strong&gt;. Ensure that the box next to &lt;strong&gt;Force only secure SSL connections&lt;/strong&gt; is turned on and click &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;Naturally, this feature is only enabled for repositories created by paid account holders.&lt;/p&gt;&lt;h3 id="TracUpgrades"&gt;Trac Upgrades&lt;/h3&gt;&lt;p&gt;You should be able to enable e-mail notifications for your Trac projects . You can even force the &lt;em&gt;Assigned To:&lt;/em&gt; fields in Trac to display a drop-down list of users (rather than a free-form text field).&lt;/p&gt;&lt;p&gt;Both features can be enabled/disabled under the &lt;strong&gt;Trac&lt;/strong&gt; tab of your project page in XP-Dev.com.&lt;/p&gt;&lt;p&gt;If you have any problems with any of these feature releases, do just &lt;a href="/support"&gt;raise  a support ticket&lt;/a&gt; or drop a note in the &lt;a href="/forum/1/0"&gt;support forums&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 08 Mar 2010 08:12:54 GMT</pubDate>
      <guid>http://xp-dev.com/blog/1536/git-hosting-release-and-more</guid>
      <dc:creator>rs</dc:creator>
      <dc:date>2010-03-08T08:12:54Z</dc:date>
    </item>
    <item>
      <title>Comment #41330</title>
      <link>http://xp-dev.com/blog/1536/git-hosting-release-and-more</link>
      <description>&lt;p&gt;Great news! &lt;br/&gt;Thank you very much!&lt;/p&gt;</description>
      <pubDate>Thu, 11 Mar 2010 12:01:31 GMT</pubDate>
      <guid>http://xp-dev.com/blog/1536/git-hosting-release-and-more</guid>
      <dc:creator>webdizz</dc:creator>
      <dc:date>2010-03-11T12:01:31Z</dc:date>
    </item>
    <item>
      <title>Comment #51076</title>
      <link>http://xp-dev.com/blog/1536/git-hosting-release-and-more</link>
      <description>&lt;p&gt;I can only get Trac e-mail notificatios to the owner of the project.&lt;br/&gt;Is it possible to have notifications sent to other developers in a project when an issue is assigned to them?&lt;/p&gt;</description>
      <pubDate>Tue, 06 Jul 2010 11:34:10 GMT</pubDate>
      <guid>http://xp-dev.com/blog/1536/git-hosting-release-and-more</guid>
      <dc:creator>andrewmackenzie</dc:creator>
      <dc:date>2010-07-06T11:34:10Z</dc:date>
    </item>
    <item>
      <title>Comment #51097</title>
      <link>http://xp-dev.com/blog/1536/git-hosting-release-and-more</link>
      <description>&lt;p&gt;Do &lt;a href="/support"&gt;raise a support ticket&lt;/a&gt; and it&amp;#8217;ll get investigated&lt;/p&gt;</description>
      <pubDate>Tue, 06 Jul 2010 18:46:20 GMT</pubDate>
      <guid>http://xp-dev.com/blog/1536/git-hosting-release-and-more</guid>
      <dc:creator>rs</dc:creator>
      <dc:date>2010-07-06T18:46:20Z</dc:date>
    </item>
  </channel>
</rss>


