Last modified: 2012-07-30 21:17:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40708, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38708 - Git: Can't clone core
Git: Can't clone core
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-26 12:52 UTC by Rainer Rillke @commons.wikimedia
Modified: 2012-07-30 21:17 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rainer Rillke @commons.wikimedia 2012-07-26 12:52:16 UTC
Sorry, there is no git-product, yet so this goes into MediaWiki.

git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git

results in:
fatal: The remote end hung up unexpectedly
error: RPC failed; result=22, HTTP code = 502

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git
worked but instead of downloading all extensions with code files it just downloaded the "main directory"

I am disappointed. I thought it will be easier in future to contribute to MediaWiki's CSS and JS components. But actually nothing works as expected.
Comment 1 Alex Monk 2012-07-26 14:54:37 UTC
To clone all extensions you need to do:

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git
cd extensions
git submodule update --init

See https://www.mediawiki.org/wiki/Download_from_Git#Using_Git_to_download_MediaWiki_extensions
Comment 2 Brion Vibber 2012-07-30 21:17:44 UTC
Works for me... possibly was a temporary error (502 gateway error?)

Hawkeye:wiki brion$ git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git
Cloning into 'core'...
remote: Counting objects: 374588, done
remote: Finding sources: 100% (374588/374588)
remote: Getting sizes: 100% (11781/11781)
remote: Compressing objects: 100% (11761/11761)
remote: Total 374588 (delta 317776), reused 367959 (delta 316586)
Receiving objects: 100% (374588/374588), 94.99 MiB | 1.85 MiB/s, done.
Resolving deltas: 100% (320353/320353), done.
Hawkeye:wiki brion$ ls core/
COPYING              extensions           profileinfo.php
CREDITS              images               redirect.php
FAQ                  img_auth.php         redirect.php5
HISTORY              img_auth.php5        redirect.phtml
INSTALL              includes             resources
README               index.php            serialized
RELEASE-NOTES-1.20   index.php5           skins
StartProfiler.sample languages            tests
UPGRADE              load.php             thumb.php
api.php              load.php5            thumb.php5
api.php5             maintenance          thumb_handler.php
bin                  mw-config            thumb_handler.php5
cache                opensearch_desc.php  wiki.phtml
docs                 opensearch_desc.php5
Hawkeye:wiki brion$

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links