I did many tests with Gitlab 6.9.2 and Subgit 2.0.2 and no luck. It worked well with Atlassian Stash 3.1.0 and Gitbucket 2.0 too.
Problems seems related to Gitlab handling of packed-refs. This is sad since Gitlab + subgit could be a wonderfull combination. Anyone did same problems ? 2014-06-27 15:21 GMT+02:00 Sytse Sijbrandij <[email protected]>: > Mmm, this can cause problems, please look at the code of > > https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/tasks/gitlab/import.rake > to see how it is done properly. > > On Fri, Jun 27, 2014 at 3:18 PM, Henri Gomez <[email protected]> > wrote: > > Nope. > > > > SVN import is performed by subgit : > > > > subgit.com/book-remote/index.html#installation > > > > 2014-06-27 12:00 GMT+02:00 Sytse Sijbrandij <[email protected]>: > >> Are you using the rake import task? > >> > >> On Thu, Jun 26, 2014 at 5:38 PM, Henri Gomez <[email protected]> > wrote: > >>> Hi all > >>> > >>> I'm testing Gitlab 6.9.2 and subgit 2.0.2 > >>> > >>> Everything works fine when I'm using a simple subgit configure/install. > >>> > >>> cd /var/lib/mycorp/gitlab > >>> > >>> sudo -u git -H subgit configure --svn-url > >>> https://svn.mycorp.int/svn/myproject > >>> /var/lib/mycorp/gitlab/repositories/myproject.git > >>> > >>> then I update subgit/authors.txt and subgit/password file > >>> > >>> sudo -u git -H subgit install > /var/lib/mycorp/gitlab/repositories/myproject.git > >>> > >>> Even merge-requests works fine. > >>> > >>> BTW, our project has been reworked and location changes. > >>> myproject was originally under devops directory. > >>> > >>> Side effect, we lost main part of history and authors and many commits. > >>> > >>> subgit team suggested to use another install/import pattern : > >>> > >>> trunk = trunk:refs/heads/master > >>> branches = devops/trunk:refs/heads/devops/master > >>> branches = branches/*:refs/heads/* > >>> branches = branches/devops/*:refs/heads/devops/* > >>> tags = tags/*:refs/tags/* > >>> tags = devops/tags/*:refs/tags/devops/* > >>> shelves = shelves/*:refs/shelves/* > >>> > >>> Install works well and reported expected number of commits to be > included. > >>> git log reports contents for example. > >>> > >>> But gitlab see repository as empty, via UI or remotely. > >>> > >>> I take a look and first difference was a file named packed-refs under > >>> /var/lib/mycorp/gitlab/repositories/myproject.git > >>> > >>> This file is not there on others gitlab repos (imported by subgit or > >>> remotly via git push) > >>> > >>> Is it a bug ? > >>> > >>> Or how could I check what goes wrong from gitlab perspective and > >>> prevent it to see git repo initialized and filled ? > >>> > >>> Thanks for your help > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > Groups "GitLab" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > >>> To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/CALyUpY1oZ0gxxihhr4QHSpNd409%3DVWXkOo1q-G6FYeyXDc-vxg%40mail.gmail.com > . > >>> For more options, visit https://groups.google.com/d/optout. > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups "GitLab" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/CAEG31mM6gFKaMNLhoZj_62W%2BhJb9VZ-_0ZGvUyNBZJ16PP8MfQ%40mail.gmail.com > . > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > > You received this message because you are subscribed to the Google > Groups "GitLab" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/CALyUpY28djdUZY%3DEOnCx-ESGROtXJpA%2BnwZK1JorWQnv2s5B7A%40mail.gmail.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/CAEG31mMRYi71G3qJCf5xijQ_5j5U-zqHf95Zn8aWrfqNf3Xumg%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CALyUpY0PLEo_w7_-5fhqYhXmzKC5mwGnfYa9DU0jdazE0x_aGg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
