<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Magnus Hagander's PostgreSQL blog - git</title>
    <link>http://blog.hagander.net/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.2 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Updates to the postgresql.org git service</title>
    <link>http://blog.hagander.net/archives/140-Updates-to-the-postgresql.org-git-service.html</link>
            <category>PostgreSQL</category>
            <category>git</category>
    
    <comments>http://blog.hagander.net/archives/140-Updates-to-the-postgresql.org-git-service.html#comments</comments>
    <wfw:comment>http://blog.hagander.net/wfwcomment.php?cid=140</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.hagander.net/rss.php?version=2.0&amp;type=comments&amp;cid=140</wfw:commentRss>
    

    <author>nospam@example.com (Magnus Hagander)</author>
    <content:encoded>
    &lt;p&gt;As &lt;a href=&quot;http://blog.hagander.net/exit.php?url_id=131&amp;amp;entry_id=140&quot; title=&quot;http://petereisentraut.blogspot.com/2009/03/news-on-postgresql-source-code.html&quot;  onmouseover=&quot;window.status=&#039;http://petereisentraut.blogspot.com/2009/03/news-on-postgresql-source-code.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;Peter&lt;/a&gt; has already noted, we have been planning for a while to update the service on &lt;i&gt;git.postgresql.org&lt;/i&gt;, and as of now we just flipped the switch to the new version. We are still waiting for the DNS zone to update (yes, we could&#039;ve lowered the TTL. No, we didn&#039;t think it was that important). So within 5 hours, anybody accessing &lt;a href=&quot;http://blog.hagander.net/exit.php?url_id=132&amp;amp;entry_id=140&quot; title=&quot;http://git.postgresql.org&quot;  onmouseover=&quot;window.status=&#039;http://git.postgresql.org&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;git.postgresql.org&lt;/a&gt; through http, git or ssh will be accessing the new server.&lt;/p&gt;

&lt;p&gt;First a note to all those people who use the git clone of the main cvs repository to do PostgreSQL development: &lt;b&gt;nothing has changed for you&lt;/b&gt;. The URL is the same, the repository is the same, just keep pulling.&lt;/p&gt;

&lt;p&gt;The only real difference there should be that the new server the service is hosted on has a little bit more bandwidth available, but it should not normally be noticeable.&lt;/p&gt;

The changes are all around the repositories that are originally hosted at the site. The changes have been made to make it easier to collaborate on projects, and to require less manual work to set things up. It is our hope that this will lower the bar of entry for those who are interested in developing PostgreSQL-related projects using git. The main changes for these users are:
&lt;ul&gt;
    &lt;li&gt;Login is now integrated with the postgresql.org community account system. This means unified usernames across PostgreSQL services, such as for example the &lt;a href=&quot;http://blog.hagander.net/exit.php?url_id=133&amp;amp;entry_id=140&quot; title=&quot;http://wiki.postgresql.org&quot;  onmouseover=&quot;window.status=&#039;http://wiki.postgresql.org&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;wiki&lt;/a&gt;. You just need to upload your SSH key to enable access.&lt;/li&gt;
    &lt;li&gt;Users no longer have shell accounts on the server. Instead, all users use &lt;i&gt;git@git.postgresql.org&lt;/i&gt; as their ssh login. This makes the management and securing of the server much easier.&lt;/li&gt;
    &lt;li&gt;It is now possible for the &lt;i&gt;owner&lt;/i&gt; of a repository to delegate permissions to &lt;i&gt;other users&lt;/i&gt; directly from a &lt;a href=&quot;http://blog.hagander.net/exit.php?url_id=134&amp;amp;entry_id=140&quot; title=&quot;http://git.postgresql.org/adm/&quot;  onmouseover=&quot;window.status=&#039;http://git.postgresql.org/adm/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;web interface&lt;/a&gt;. As long as the other user has also uploaded his ssh key, this will be completely automatic.&lt;/li&gt;
    &lt;li&gt;It is now possible to request a new repository for your code using the same &lt;a href=&quot;http://blog.hagander.net/exit.php?url_id=134&amp;amp;entry_id=140&quot; title=&quot;http://git.postgresql.org/adm/&quot;  onmouseover=&quot;window.status=&#039;http://git.postgresql.org/adm/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;web interface&lt;/a&gt;. Requests for new repositories will still have to be approved before the repository is created.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Per an inventory that was made before the switch was made, several inactive repositories were not migrated to the new server. If you are missing a repository that was for some reason not migrated, feel free to contact us at &lt;a href=&quot;mailto:pgsql-www@postgresql.org&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;the pgsql-www mailinglist&lt;/a&gt; for a recovery - we will keep all the old files around for a while just in case.&lt;/p&gt;

&lt;p&gt;As a final note, the source code for the git management tool itself is of course available &lt;a href=&quot;http://blog.hagander.net/exit.php?url_id=136&amp;amp;entry_id=140&quot; title=&quot;http://git.postgresql.org/gitweb?p=pggit.git;a=summary&quot;  onmouseover=&quot;window.status=&#039;http://git.postgresql.org/gitweb?p=pggit.git;a=summary&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;in the git repository&lt;/a&gt; (when your DNS has updated).&lt;/p&gt;

 
    </content:encoded>

    <pubDate>Fri, 27 Mar 2009 21:06:00 +0000</pubDate>
    <guid isPermaLink="false">http://blog.hagander.net/archives/140-guid.html</guid>
    <category>PostgreSQL</category>
<category>git</category>

</item>
<item>
    <title>Todays trivial git tip</title>
    <link>http://blog.hagander.net/archives/133-Todays-trivial-git-tip.html</link>
            <category>PostgreSQL</category>
            <category>git</category>
    
    <comments>http://blog.hagander.net/archives/133-Todays-trivial-git-tip.html#comments</comments>
    <wfw:comment>http://blog.hagander.net/wfwcomment.php?cid=133</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.hagander.net/rss.php?version=2.0&amp;type=comments&amp;cid=133</wfw:commentRss>
    

    <author>nospam@example.com (Magnus Hagander)</author>
    <content:encoded>
    &lt;p&gt;If you&#039;re like me, you are using the &lt;a href=&quot;http://blog.hagander.net/exit.php?url_id=124&amp;amp;entry_id=133&quot; title=&quot;http://git.postgresql.org/?p=postgresql.git;a=summary&quot;  onmouseover=&quot;window.status=&#039;http://git.postgresql.org/?p=postgresql.git;a=summary&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;git.postgresql.org&lt;/a&gt; repository to do your PostgreSQL development, because it&#039;s much nicer to work with than CVS.&lt;/p&gt;

&lt;p&gt;If you&#039;re also like me, you like &lt;i&gt;git diff&lt;/i&gt; with it&#039;s nice coloring and trailing-whitespace-warnings and such features. But you&#039;re a little bit annoyed that your tabs come out as 8-characters, when the PostgreSQL source uses 4-character tabs, making diffs a bit hard to read. But if you just pipe the output to &lt;i&gt;less&lt;/i&gt; or something, the coloring goes away.&lt;/p&gt;

I finally got around to looking for a way to fix that today. And it took me all of 2 minutes to find it - I really should&#039;ve done this before. Put the following in your &lt;i&gt;.git/config&lt;/i&gt; file:
&lt;pre&gt;&lt;code&gt;[core]
  pager = less -x4&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and it&#039;ll show you the diffs with 4-space tabs.&lt;/p&gt;

&lt;p&gt;Trivial, yes. But it took me this long to even look at fixing it, so hopefully this can help someone...&lt;/p&gt;

 
    </content:encoded>

    <pubDate>Wed, 07 Jan 2009 11:38:25 +0000</pubDate>
    <guid isPermaLink="false">http://blog.hagander.net/archives/133-guid.html</guid>
    <category>PostgreSQL</category>
<category>git</category>

</item>

</channel>
</rss>