#3339 Adding git repo to Fedorahosted trac
Closed: Fixed None Opened 11 years ago by bkabrda.

Hi, I have a Fedora trac (https://fedorahosted.org/SoftwareCollections/) and I need a new git repo for it. I did it via the admin interface and it says:

The repository "scl-utils" has been added.
You should now run trac-admin $ENV repository resync "scl-utils" to synchronize Trac with the repository.
You should also set up a post-commit hook on the repository to call trac-admin $ENV changeset added "scl-utils" $REV for each committed changeset.

Would you be so kind and run these for me? Are there any other steps I need to take to work with it?
Thanks!


so, scl-utils is a new repo that you would like to create and add to the project?

Replying to [comment:1 kevin]:

so, scl-utils is a new repo that you would like to create and add to the project?

Yes, exactly.

Well, I have created that repo and set it up... the trac source browser is still not happy with it, but I think because there are no commits to it.

Can you commit something to the repos and see if it starts working as expected then?

Ok, so I've been able to push to the scl-utils repo, but when trying to push to the original SoftwareCollections, I get:

[bkabrda@zizalka SoftwareCollections]$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 232 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database ./objects

fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To ssh://bkabrda@git.fedorahosted.org/git/SoftwareCollections.git
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to 'ssh://bkabrda@git.fedorahosted.org/git/SoftwareCollections.git'

I have TRAC_ADMIN permissions so I guess I should be able to do this, right?

You need to be in the gitsoftwarecollections fedora account system group.

Can you get mmaslano to add you?

Replying to [comment:5 kevin]:

You need to be in the gitsoftwarecollections fedora account system group.

Can you get mmaslano to add you?

Yes, that solved the problem, everything is OK now, this ticket can be closed.

Thanks!

Login to comment on this ticket.

Metadata