files tab not show after import
Created by: 1ed
Hi! When I import a repository without a master branch the files, commits,... tab are not shown.
Reproduce: New project -> name: sf, namespace: /, import repo: https://github.com/menthainternet/symfony-mentha-edition.git
Gitlab thinks it's an empty project but it's not. The same issue exists when I try to import with the rake task. When a repo has a master branch it's imported correctly.
check and info output:
# sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.4.0 ? ... OK (1.4.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ...
sitebuild ... ok
sf ... repository is empty
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... no
Try fixing it:
Redownload the init script
For more information see:
doc/install/installation.md in section "Install Init Script"
Please fix the error above and rerun the checks.
Projects have satellites? ...
sitebuild ... yes
sf ... yes
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.3)
Checking GitLab ... Finished
# sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System: Ubuntu 12.04
Current User: git
Using RVM: no
Ruby Version: 1.9.3p0
Gem Version: 1.8.11
Bundler Version:1.3.5
Rake Version: 10.0.4
GitLab information
Version: 5.2.1
Revision: 6a868a4
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://gitlab
HTTP Clone URL: http://gitlab/some-project.git
SSH Clone URL: git@gitlab:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.4.0
Repositories: /home/git/repositories
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git