DotGNU git repository information

View: New views
2 Messages — Rating Filter:   Alert me  

DotGNU git repository information

by ktreichel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

it looks like the webpage update on dotgnu.org didn't work as expected.
The changes didn't get pushed to the website.

The anonymous access information is:

git clone git://git.savannah.gnu.org/dotgnu-pnet.git
cd dotgnu-pnet
git submodule update --init

Before making any changes in the sources you have to make sure that you
are on the master branch.
In the module directory (for example dotgnu-pnet/pnetlib) use the
following instruction

git checkout master

Cheers,

Klaus


_______________________________________________
Dotgnu-pnet mailing list
Dotgnu-pnet@...
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet

signature.asc (204 bytes) Download Attachment

Re: [Dotgnu-libjit] DotGNU git repository information

by Rhys Weatherley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jun 7, 2009 at 4:32 AM, Klaus Treichel <ktreichel@...> wrote:
Hi all,

it looks like the webpage update on dotgnu.org didn't work as expected.
The changes didn't get pushed to the website.

The anonymous access information is:

git clone git://git.savannah.gnu.org/dotgnu-pnet.git
cd dotgnu-pnet
git submodule update --init

Before making any changes in the sources you have to make sure that you
are on the master branch.
In the module directory (for example dotgnu-pnet/pnetlib) use the
following instruction

git checkout master

Cool!  I did all that and made some changes to treecc (fix 64-bit issues) and then tried to push:

[rweather@comet treecc]$ git push -v origin master
Pushing to git://git.savannah.gnu.org/dotgnu-pnet/treecc.git
Looking up git.savannah.gnu.org ... done.
Connecting to git.savannah.gnu.org (port 9418) ... 199.232.41.69 done.
fatal: The remote end hung up unexpectedly

Oops!

I changed the remote url in .git/config to the following:

[remote "origin"]
        url = ssh://rweather@.../srv/git/dotgnu-pnet/treecc.git
        fetch = +refs/heads/*:refs/remotes/
origin/*

Then the push worked.  So, developers with write access to the repository should clone the main repository as follows:

    git clone ssh://login@git.savannah.gnu.org/srv/git/dotgnu-pnet.git

Or just edit the remotes in the submodules by hand when you get hung up on.

More information on Savannah and git here:

    http://savannah.gnu.org/maintenance/UsingGit

Because we are using submodules, I had to also go into the metaproject and do the following (after fixing the remote url's):

    git add treecc
    git push

This tells the metaproject that a change has been made to the subproject and where to put the heads for new checkouts.

Cheers,

Rhys.


_______________________________________________
Dotgnu-pnet mailing list
Dotgnu-pnet@...
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet