Discussion:
[savannah-help-public] [sr #109444] Trying to set up git source repo
Jesse
2018-01-10 21:53:26 UTC
Permalink
URL:
<http://savannah.gnu.org/support/?109444>

Summary: Trying to set up git source repo
Project: Savannah Administration
Submitted by: newguy
Submitted on: Wed 10 Jan 2018 09:53:24 PM UTC
Category: Source code repositories - developer access
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Assigned to: None
Originator Email: ***@resonatingmedia.com
Operating System: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

I am trying to migrate the SysV init (sysvinit) project from svn to git. I
followed the Savannah instructions on using git
(https://savannah.gnu.org/maintenance/UsingGit/) to set up a local repository
and set the origin to the Savannah server.

When I try to push my local copy of the repository I get the following error
from the Savannah git server:

fatal: '/srv/git/sysvinit.git' does not appear to be a git repository
fatal: Could not read from remote repository.

If I try to clone the remote repository I get the error:
"fatal: remote error: access denied or repository not exported:
/sysvinit.git"

Which makes me think the git directory for the sysvinit project has not been
created yet. Could you please let me know how to initialize the git repository
on the server, or initialize it for me so I can get started with the svn->git
migration?

Thank you.




_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109444>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bob Proulx
2018-01-10 23:52:35 UTC
Permalink
Follow-up Comment #1, sr #109444 (project administration):

Hello Jesse. It looks like you did not enable a git repository for your
project. (I guess that is because you are the "newguy", haha.) Savannah
supports a long list of source code repositories and it would be very
confusing if every project automatically enabled every different source code
system. Therefore they are enabled when configured.

The normal thing is for a project admin to enable git (or any of the other
systems) in the web control panel. I went ahead and did this for the sysvinit
project. It doesn't seem useful to require one of the project admins to do
it. What's the worst that can happen? Someone might check in some source
code. Sounds good to me.

For reference this is the process:

https://savannah.nongnu.org/projects/sysvinit/

Then select "Select features". Then select the features wanted. In this case
it is git. Then submit. That's all there is to it. This puts the creation
of the repository into the queue to be created when the half-hourly task
runner performs the queued work.

Looking at the time now it should be created at 5 minutes after the top of the
hour. (or 35 minutes after, just fyi for others reading when this is done)

I'll leave the ticket open while this is in process.

Please let us know that you were able to get going with this.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109444>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Jesse
2018-01-11 00:36:53 UTC
Permalink
Follow-up Comment #2, sr #109444 (project administration):

I am indeed the newguy on the team and was still getting used to the ways the
various repos are set up. Thank you for sorting this out for me.

I've confirmed I can check code into the git repo now and everything appears
to be working well. Looks like we can close this ticket. Thanks again!

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109444>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bob Proulx
2018-01-11 01:08:51 UTC
Permalink
Update of sr #109444 (project administration):

Status: None => Done
Assigned to: None => rwp
Open/Closed: Open => Closed

_______________________________________________________

Follow-up Comment #3:

Great! Good to hear all is well now. Let us know if you need anything more.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109444>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...