#3329 default vagrant installation can't find repositories
Closed: Invalid a year ago by wombelix. Opened 5 years ago by karsten.

I've tried a 'vagrant up' from todays git master (74da3a7), created a user and a new project (testproject)
The pagure page of that project states:

If you have not created your git repo yet:
git clone ssh://vagrant@pagure-dev.example.com/testproject.git

git clone ssh://vagrant@pagure-dev.example.com/testproject.git
Cloning into 'testproject'...
vagrant@pagure-dev.example.com's password:
fatal: '/testproject.git' does not appear to be a git repository
fatal: Could not read from remote repository.

a normal 'ssh vagrant@pagure-dev.example.com' works, though.
Please make sure you have the correct access rights
and the repository exists.


I do not believe the vagrant setup configures gitolite, you can just git clone using regular access:

git clone ssh://vagrant@pagure-dev.example.com:/path/to/git/repos

or

git clone /path/to/git/repos

if you mount some volumes into the vm

that doesn't work either atm, but this looks like a bug to me:
[vagrant@pagure-dev testing]$ grep url .git/config
url = /home/vagrant/repositories/testing.git/

[vagrant@pagure-dev testing]$ git push
Counting objects: 684, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (633/633), done.
Writing objects: 100% (684/684), 9.33 MiB | 7.80 MiB/s, done.
Total 684 (delta 84), reused 0 (delta 0)
remote: Resolving deltas: 100% (84/84), done.
remote: Empty compile time value given to use lib at hooks/update line 6.
remote: WARNING: Use of uninitialized value $repo in concatenation (.) or string at /usr/share/perl5/vendor_perl/Gitolite/Conf/Load.pm line 251, <DATA> line 1.
remote:
remote: FATAL: invalid repo ''
remote: error: hook declined to update refs/heads/master

remote: Empty compile time value given to use lib at hooks/update line 6.
remote: WARNING: Use of uninitialized value $repo in concatenation (.) or string at /usr/share/perl5/vendor_perl/Gitolite/Conf/Load.pm line 251, <DATA> line 1.
remote:

This is something in gitolite itself :(

Metadata Update from @ryanlerch:
- Issue tagged with: devel-tools

5 years ago

The issue was reported 4 years ago, lot of things changed since then, also it was probably caused by gitolite itself based on the comments and logs, going to close this issue, don't see a doing from a pagure side.

Metadata Update from @wombelix:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata