It's port number
On 7/22/13, Amir Ladsgroup ladsgroup@gmail.com wrote:
Thank you my first thought was maybe you didn't submit your username correctly the correct username is "DrTrigon" (T should be capital), would you mind trying this? and you must add the number (It's not revision number): git clone ssh://DrTrigon@gerrit.wikimedia.org:29418/r/pywikibot/compat.git
- you should use this I checked and It worked, this command clones
compact to the "pywikipedia-git" folder: git clone https://gerrit.wikimedia.org/r/pywikibot/compact.git pywikipedia-git
- As I told before It's not revision number I don't know what it's
but obviously It's not rv number. because since I started using git (for mediawiki patches) this number was same and never changed
Best
On 7/21/13, Dr. Trigon dr.trigon@surfeu.ch wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 13.07.2013 12:43, Amir Ladsgroup wrote:
and I think we should update this
Cool thank you very much!! I had not much time to look into this, but here some testing results:
=== === === === === === === === === === === === === === === === === ===
$ git clone https://gerrit.wikimedia.org/r/pywikibot/compat.git Klone nach 'compat'... remote: Counting objects: 348, done remote: Finding sources: 100% (48/48) remote: Getting sizes: 100% (5/5) remote: Compressing objects: 100% (343973/343973) remote: Total 37314 (delta 32), reused 37309 (delta 32) Empfange Objekte: 100% (37314/37314), 171.65 MiB | 1.23 MiB/s, done. Löse Unterschiede auf: 100% (23507/23507), done.
=== === === === === === === === === === === === === === === === === ===
This works fine! But trying to commit and push something results in asking me for my password (instead of using by ssh config) and:
=== === === === === === === === === === === === === === === === === ===
$ git push warning: 'push.default' ist nicht gesetzt; der implizit gesetzte Wert wird in Git 2.0 von 'matching' nach 'simple' geändert. Um diese Meldung zu unterdrücken und das aktuelle Verhalten nach Änderung des Standardwertes beizubehalten, benutzen Sie: git config --global push.default matching
Um diese Meldung zu unterdrücken und das neue Verhalten jetzt zu übernehmen, benutzen Sie:
git config --global push.default simple
Führen Sie 'git help config' aus und suchen Sie nach 'push.default' für weitere Informationen. (Der Modus 'simple' wurde in Git 1.7.11 eingeführt. Benutze den ähnlichen Modus 'current' anstatt 'simple', falls Sie gelegentlich ältere Versionen von Git benutzen.)
fatal: Authentication failed for 'https://gerrit.wikimedia.org/r/pywikibot/compat.git/'
=== === === === === === === === === === === === === === === === === ===
The next test was:
=== === === === === === === === === === === === === === === === === ===
$ git clone ssh://drtrigon@gerrit.wikimedia.org:29418/r/pywikibot.git Klone nach 'pywikibot'... fatal: Project not found: r/pywikibot fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
=== === === === === === === === === === === === === === === === === ===
$ git clone ssh://drtrigon@gerrit.wikimedia.org/r/pywikibot/compat.git Klone nach 'compat'... Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
=== === === === === === === === === === === === === === === === === ===
So... ssh does not work for me... and to summarize; I was not able to test "commit a patch"!
Some additional thoughts: 1.) How to checkout to the same directory as before e.g. 'compat.git' to 'pywikipedia'? Respective; how to checkout to user-defined directory? 2.) Why do we need to specify the revision number 29418?
Thanks and Greetings DrTrigon -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlHsLGYACgkQAXWvBxzBrDDT/gCgo4fGzH2A1kYw9BYz+Dpj0azp 8fgAn0YvbHiSkGaqEptJ2pCL7NBsGsTW =I7JK -----END PGP SIGNATURE-----
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-- Amir