Re: [Wikitech-l] Git for idiots

2015-11-14 Thread Marcin Cieslak
On 2015-11-13, Purodha Blissenbach wrote: > Hi, > >> git clone >> ssh://review.openstack.org:29418/openstack-infra/git-review.git > > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > >

Re: [Wikitech-l] Git for idiots

2015-11-13 Thread Antoine Musso
Le 12/11/2015 17:35, C. Scott Ananian a écrit : > Hashar: I think your criticisms of git-review might be out of date. On my > debian system, "sudo apt-get install git-review" was sufficient to install > a version of git review which is adequate for all my needs (I have never > noticed any of the

Re: [Wikitech-l] Git for idiots

2015-11-13 Thread Purodha Blissenbach
Hi, git clone ssh://review.openstack.org:29418/openstack-infra/git-review.git fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Greetings -- Purodha On 13.11.2015 11:48, Antoine Musso wrote: Le 12/11/2015 17:35,

Re: [Wikitech-l] Git for idiots

2015-11-13 Thread Antoine Musso
Le 13/11/2015 07:04, Gergo Tisza a écrit : > On Thu, Nov 12, 2015 at 1:10 AM, Antoine Musso wrote: > >> On that last point, git-review 1.26 comes with a new option 'usepushurl' >> which makes git-review reuse the origin repo and just set the push url >> to the ssh:// url.

Re: [Wikitech-l] Git for idiots

2015-11-12 Thread Antoine Musso
Le 12/11/2015 03:25, S Page a écrit : > On Wed, Nov 11, 2015 at 12:50 AM, Petr Bena wrote: > >> > Ok, I will try to merge all useful stuff in here: >> > https://www.mediawiki.org/wiki/Git_for_dummies >> > > The problem is these are matters of widely-varying taste and

Re: [Wikitech-l] Git for idiots

2015-11-12 Thread Gergo Tisza
On Thu, Nov 12, 2015 at 1:10 AM, Antoine Musso wrote: > On that last point, git-review 1.26 comes with a new option 'usepushurl' > which makes git-review reuse the origin repo and just set the push url > to the ssh:// url. The 'gerrit' remote will no more be needed. > > Ie

Re: [Wikitech-l] Git for idiots

2015-11-12 Thread C. Scott Ananian
This seems like we need to fork the instructions for tools lab -vs- others, as has been suggested. --scott On Thu, Nov 12, 2015 at 11:43 AM, Purodha Blissenbach < puro...@blissenbach.org> wrote: > On WikiMedia Tools Lab neither "git review -s" nor "git review -u" work in > my tools. They run

Re: [Wikitech-l] Git for idiots

2015-11-12 Thread Tim Landscheidt
Purodha Blissenbach wrote: > On WikiMedia Tools Lab neither "git review -s" nor "git > review -u" work in > my tools. They run endlessly until you abort then with a > keyboard interrupt. > That is annoying. > […] Then please file a bug report. When I run "git review

Re: [Wikitech-l] Git for idiots

2015-11-12 Thread C. Scott Ananian
Hashar: I think your criticisms of git-review might be out of date. On my debian system, "sudo apt-get install git-review" was sufficient to install a version of git review which is adequate for all my needs (I have never noticed any of the "known issues" you mention). And "git review -s" is a

Re: [Wikitech-l] Git for idiots

2015-11-12 Thread Purodha Blissenbach
On WikiMedia Tools Lab neither "git review -s" nor "git review -u" work in my tools. They run endlessly until you abort then with a keyboard interrupt. That is annoying. Purodha On 12.11.2015 17:35, C. Scott Ananian wrote: Hashar: I think your criticisms of git-review might be out of date.

Re: [Wikitech-l] Git for idiots

2015-11-11 Thread Petr Bena
Ok, I will try to merge all useful stuff in here: https://www.mediawiki.org/wiki/Git_for_dummies On Tue, Nov 10, 2015 at 8:26 PM, Nick Wilson (Quiddity) wrote: > On Tue, Nov 10, 2015 at 10:54 AM, Legoktm wrote: >> >> Hi, >> >> On 11/10/2015

Re: [Wikitech-l] Git for idiots

2015-11-11 Thread S Page
On Wed, Nov 11, 2015 at 12:50 AM, Petr Bena wrote: > Ok, I will try to merge all useful stuff in here: > https://www.mediawiki.org/wiki/Git_for_dummies > The problem is these are matters of widely-varying taste and background. When I tried to clean up in early 2013, git

Re: [Wikitech-l] Git for idiots

2015-11-11 Thread MZMcBride
S Page wrote: >I would urge people to judiciously update the pages we have, and only >create very targeted new pages rather than yet another starting point. For sure. It might also make sense to investigate placing some of the more in-depth Git tutorial content on a project other than

Re: [Wikitech-l] Git for idiots

2015-11-11 Thread Antoine Musso
Le 10/11/2015 17:58, Petr Bena a écrit : > Hello, > > I would like to remind that I made this guide some time ago: > > https://www.mediawiki.org/wiki/User:Petrb/Git_for_idiots > > It always quite sucked and still does, but I tried to slightly rewrite > it now, so it should contain more accurate

Re: [Wikitech-l] Git for idiots

2015-11-11 Thread aude
On Tue, Nov 10, 2015 at 6:06 PM, Petr Bena wrote: > Now I also found this awesome guide: > https://www.mediawiki.org/wiki/User:Aude/Git > > Perhaps it would worth merging and putting to some central location? > > This is just stuff I had to learn up how to do at some point.

[Wikitech-l] Git for idiots

2015-11-10 Thread Petr Bena
Hello, I would like to remind that I made this guide some time ago: https://www.mediawiki.org/wiki/User:Petrb/Git_for_idiots It always quite sucked and still does, but I tried to slightly rewrite it now, so it should contain more accurate information. I would like to keep it as a super simple

Re: [Wikitech-l] Git for idiots

2015-11-10 Thread Petr Bena
Now I also found this awesome guide: https://www.mediawiki.org/wiki/User:Aude/Git Perhaps it would worth merging and putting to some central location? On Tue, Nov 10, 2015 at 5:58 PM, Petr Bena wrote: > Hello, > > I would like to remind that I made this guide some time ago:

Re: [Wikitech-l] Git for idiots

2015-11-10 Thread Nick Wilson (Quiddity)
On Tue, Nov 10, 2015 at 10:54 AM, Legoktm wrote: > > Hi, > > On 11/10/2015 09:06 AM, Petr Bena wrote: > > Perhaps it would worth merging and putting to some central location? > > Yes, that sounds like a good idea. I typically recommend >

Re: [Wikitech-l] Git for idiots

2015-11-10 Thread Legoktm
Hi, On 11/10/2015 09:06 AM, Petr Bena wrote: > Perhaps it would worth merging and putting to some central location? Yes, that sounds like a good idea. I typically recommend to people who are confused with git. -- Legoktm

Re: [Wikitech-l] Git for idiots

2013-05-14 Thread Jiabao Wu
I am new to gerrit for mediawiki. It really took me a long time to make it work, while there is nothing wrong in the instructions. Sometimes I solved the problems I encountered by simple methods like restart, update. I feel less instruction manuals with more detailed information would help. Also,

Re: [Wikitech-l] Git for idiots

2013-05-10 Thread S Page
I think that it might be a good idea to add another tutorial for complete newbies. Note Mediawiki.org doesn't have a Git tutorial. There are tons of those on the web. Thanks to recent work (by Quim and others I think) we have three fairly rational pages,

Re: [Wikitech-l] Git for idiots

2013-05-10 Thread Rahul Maliakkal
Biggest disadvantage I see on the official documents is they don't contain the hypothetical situation when something is wrong, they are relying on the fact that everything is as it's supposed to be - perfect. That user has perfectly configured system, that user doesn't accidentally break

Re: [Wikitech-l] Git for idiots

2013-05-10 Thread Steve Summit
S Page wrote: Note Mediawiki.org doesn't have a Git tutorial. There are tons of those on the web... Git+Gerrit is fundamentally hard and complicated... So perhaps there could be a little section somewhere saying something like: Using Git and Gerrit effectively requires understanding

Re: [Wikitech-l] Git for idiots

2013-05-10 Thread Marc A. Pelletier
On 05/10/2013 06:12 PM, Steve Summit wrote: (Obviously that's incomplete, but as someone who only understands conventional repositories that you check files out of and in to, I don't yet get git at all, myself, either.) Despite the snark, this is also my experience. I've yet to get really

[Wikitech-l] Git for idiots

2013-05-08 Thread Petr Bena
Hi, Long time ago when I started learning with git I decided to create a simple guide (basically I was just taking some notes of what is needed). I never thought that it could be useful to anyone so I never announced it anywhere. However I got some feedback to it, so I decided to inform you too.

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Chad
On Wed, May 8, 2013 at 12:34 PM, Petr Bena benap...@gmail.com wrote: Hi, Long time ago when I started learning with git I decided to create a simple guide (basically I was just taking some notes of what is needed). I never thought that it could be useful to anyone so I never announced it

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Petr Bena
I was using these tutorials in past, and they were pretty complicated for me to understand git. I don't say it should be considered some official documentation, rather something what desperate people could use. Git/Workflow and such are written by people who already understand git - they don't

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Chad
Well, that was the point of [[Git/Getting started]] because the Workflow document sucks. -Chad On Wed, May 8, 2013 at 12:41 PM, Petr Bena benap...@gmail.com wrote: I was using these tutorials in past, and they were pretty complicated for me to understand git. I don't say it should be

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Anthony
I guess the viewpoint and perspective from the more experienced users may be different. The veterans may start to take some knowledge for granted, as a given knowledge that they may thing people would already know. For example, the underlying concept of git commit is something that I now take for

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Quim Gil
On 05/08/2013 09:41 AM, Petr Bena wrote: I was using these tutorials in past, and they were pretty complicated for me to understand git. Have you checked recently these pages? http://www.mediawiki.org/wiki/Gerrit/Getting_started http://www.mediawiki.org/wiki/Gerrit/Tutorial I'm a git-idiot

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Yury Katkov
On Wed, May 8, 2013 at 8:34 PM, Petr Bena benap...@gmail.com wrote: Hi, Long time ago when I started learning with git I decided to create a simple guide (basically I was just taking some notes of what is needed). I never thought that it could be useful to anyone so I never announced it

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Petr Bena
Biggest disadvantage I see on the official documents is they don't contain the hypothetical situation when something is wrong, they are relying on the fact that everything is as it's supposed to be - perfect. That user has perfectly configured system, that user doesn't accidentally break

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Petr Bena
Also note that in my document I have some hints like this: Sometimes it's needed to use following, should you know why, feel free to explain it: git push origin HEAD:refs/publish/master which I was told to use by someone else, and it works! So I noted it somewhere in case I would get into same

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Chad
On Wed, May 8, 2013 at 3:04 PM, Petr Bena benap...@gmail.com wrote: Also note that in my document I have some hints like this: Sometimes it's needed to use following, should you know why, feel free to explain it: git push origin HEAD:refs/publish/master which I was told to use by someone

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Mathieu Stumpf
Le mercredi 08 mai 2013 à 18:34 +0200, Petr Bena a écrit : Hi, Long time ago when I started learning with git I decided to create a simple guide (basically I was just taking some notes of what is needed). I never thought that it could be useful to anyone so I never announced it anywhere.

Re: [Wikitech-l] Git for idiots

2013-05-08 Thread Moriel Schottlender
Quim Gil qgil at wikimedia.org writes: On 05/08/2013 09:41 AM, Petr Bena wrote: I was using these tutorials in past, and they were pretty complicated for me to understand git. Have you checked recently these pages? http://www.mediawiki.org/wiki/Gerrit/Getting_started