<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>kuuyee (光子)</title>
    <link>https://ruby-china.org/kuuyee</link>
    <description>光子</description>
    <language>en-us</language>
    <item>
      <title>Ruby 正则的问题</title>
      <description>&lt;p&gt;如何匹配出字符串中的 &lt;code&gt;2013\/06\/05&lt;/code&gt;，那位高人指点下&lt;/p&gt;</description>
      <author>kuuyee</author>
      <pubDate>Sat, 08 Jun 2013 12:17:38 +0800</pubDate>
      <link>https://ruby-china.org/topics/11586</link>
      <guid>https://ruby-china.org/topics/11586</guid>
    </item>
    <item>
      <title>Gitlab 5.1 创建空项目没效果</title>
      <description>&lt;p&gt;我最近正在研究 gitlab，之前安装了 5.0.1，用生产模式创建一个空库是 OK 的，可以在 repositories 目录下看到对应的目录，但是当我升级到 5.1 或 5.2 的时候，创建空库好像没效果，没有看到相应的目录被创建呀，我也大概定位了下代码：&lt;/p&gt;

&lt;p&gt;&lt;a href="/project.creator" class="user-mention" title="@project.creator"&gt;&lt;i&gt;@&lt;/i&gt;project.creator&lt;/a&gt; = current_user&lt;/p&gt;

&lt;p&gt;//好像只判断了导入已有资源库的情况，创建新库好像没处理
          # Import project from cloneable resource
          if &lt;a href="/project.valid" class="user-mention" title="@project.valid"&gt;&lt;i&gt;@&lt;/i&gt;project.valid&lt;/a&gt;? &amp;amp;&amp;amp; &lt;a href="/project.import_url.p" class="user-mention" title="@project.import_url.p"&gt;&lt;i&gt;@&lt;/i&gt;project.import_url.p&lt;/a&gt;resent?
            shell = Gitlab::Shell.new
            puts 'kuuyee ====&amp;gt; start create 002';
            if shell.import_repository(&lt;a href="/project.path_with_na" class="user-mention" title="@project.path_with_na"&gt;&lt;i&gt;@&lt;/i&gt;project.path_with_na&lt;/a&gt;mespace, &lt;a href="/project.import_url" class="user-mention" title="@project.import_url"&gt;&lt;i&gt;@&lt;/i&gt;project.import_url&lt;/a&gt;)
              # We should create satellite for imported repo
              &lt;a href="/project.satellite.cr" class="user-mention" title="@project.satellite.cr"&gt;&lt;i&gt;@&lt;/i&gt;project.satellite.cr&lt;/a&gt;eate unless &lt;a href="/project.satellite.ex" class="user-mention" title="@project.satellite.ex"&gt;&lt;i&gt;@&lt;/i&gt;project.satellite.ex&lt;/a&gt;ists?
              true
            else
              &lt;a href="/project.errors.add" class="user-mention" title="@project.errors.add"&gt;&lt;i&gt;@&lt;/i&gt;project.errors.add&lt;/a&gt;(:import_url, 'cannot clone repo')
            end
          end&lt;/p&gt;

&lt;p&gt;但是我创建这个空库的 wiki 是 OK 的，可否对于这个疑问给与解答，非常感谢！
我的系统是 rhel5.5 ruby1.9.3 git1.8.3 
参考安装文档：&lt;a href="https://github.com/gitlabhq/gitlabhq/blob/5-1-stable/doc/install/installation.md" rel="nofollow" target="_blank"&gt;https://github.com/gitlabhq/gitlabhq/blob/5-1-stable/doc/install/installation.md&lt;/a&gt;
启动命令：sudo -E -u git -H bundle exec rails s -e development&lt;/p&gt;

&lt;p&gt;光子
qq:1443216253&lt;/p&gt;</description>
      <author>kuuyee</author>
      <pubDate>Tue, 28 May 2013 13:46:32 +0800</pubDate>
      <link>https://ruby-china.org/topics/11292</link>
      <guid>https://ruby-china.org/topics/11292</guid>
    </item>
  </channel>
</rss>
