Jump to content

Cloning from git anonymously?


oSoMoN
 Share

Recommended Posts

I'm trying to fetch the code using the instructions:

GIT_LFS_SKIP_SMUDGE=1 git clone https://gitea.wildfiregames.com/0ad/0ad.git
cd 0ad
git lfs pull

Sometimes the clone operation fails, when it does it looks like the server replies with a 500 error.

When it succeeds, the git lfs pull operation blocks, requesting a username and password:

Username for 'https://gitea.wildfiregames.com':

If I input my username and password, I'm prompted again, and again (it's seemingly requesting them for every single file/object it's pulling).

Is this expected (i.e. is it not possible to get the source from git anonymously), or a known server hiccup?

Link to comment
Share on other sites

2 hours ago, oSoMoN said:

I'm trying to fetch the code using the instructions:

GIT_LFS_SKIP_SMUDGE=1 git clone https://gitea.wildfiregames.com/0ad/0ad.git
cd 0ad
git lfs pull

Sometimes the clone operation fails, when it does it looks like the server replies with a 500 error.

When it succeeds, the git lfs pull operation blocks, requesting a username and password:

Username for 'https://gitea.wildfiregames.com':

If I input my username and password, I'm prompted again, and again (it's seemingly requesting them for every single file/object it's pulling).

Is this expected (i.e. is it not possible to get the source from git anonymously), or a known server hiccup?

It's possible it's just that Gitea is down right now. :/

Link to comment
Share on other sites

I tried again today, and the clone operation succeeded. The lfs pull one initially went through, and it pulled 1.8GB of objects before stalling and asking for a username. The last progress indicator was:

Downloading LFS objects:  35% (5308/15255), 1.8 GB | 12 MB/s

It doesn't really make sense to me that some objects could be fetched anonymously, while others require authentication. Or does it?

Edited by oSoMoN
Link to comment
Share on other sites

8 minutes ago, oSoMoN said:

I tried again today, and the clone operation succeeded. The lfs pull one initially went through, and it pulled 1.8GB of objects before stalling and asking for a username. The last progress indicator was:

Downloading LFS objects:  35% (5308/15255), 1.8 GB | 12 MB/s

It doesn't really make sense to me that some objects could be fetched anonymously, while others require authentication. Or does it?

It starts requiring authentication when the server crashes.

Link to comment
Share on other sites

14 minutes ago, oSoMoN said:

Ouch… That explains it. I'll refrain from trying again in a while to give admins a chance to fix the issue then.

Can I be notified here when it's safe to try again? Thanks!

There is no ETA. For now your best bet is to keep trying. Hopefully you'll be faster than the dDOS IPs :)

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...