Re: [Pywikipedia-l] GIT Migration and how to review changes

2013-07-29 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29.07.2013 17:04, Merlijn van Deen wrote:
> On 29 July 2013 16:11, Dr. Trigon  > wrote:
> 
> {"project":"pywikibot/core","branch":"master","topic":"gitconfig","id":"Iec4e2a4525185890546663c8702ad17370fee70c","number":"76352","subject":"improvement;
>
> 
add httplib2 as submodule - setuptools still
> missing","owner":{"name":"DrTrigon","email":"dr.tri...@surfeu.ch 
> ","username":"drtrigon"},"url":"https://gerrit.wikimedia.org/r/76352","createdOn":1375034327,"lastUpdated":1375035596,"sortKey":"0026b5eb00012a40","open":true,"status":"NEW","currentPatchSet":{"number":"1","revision":"690ad98bf3d03ef4b030e74e8812e465f61e07ca","parents":["188f157c2926a8409cba94c95d09d74b521f3dd7"],"ref":"refs/changes/52/76352/1","uploader":{"name":"DrTrigon","email":"dr.tri...@surfeu.ch
>
> 
","username":"drtrigon"},"createdOn":1375034327,"author":{"name":"DrTrigon","email":"dr.tri...@surfeu.ch
> ","username":"drtrigon"},"approvals":[{"type":"Verified","description":"Verified","value":"2","grantedOn":1375034328,"by":{"name":"jenkins-bot","username":"jenkins-bot"}},{"type":"Code-Review","description":"Code-Review","value":"-2","grantedOn":1375035423,"by":{"name":"Merlijn
>
> 
van
> Deen","email":"valhall...@arctus.nl 
> ","username":"valhallasw"}}],"sizeInsertions":9,"sizeDeletions":-6}}
>
> 
{"type":"stats","rowCount":1,"runTimeMilliseconds":15}
> 
> 
> Basically, this is the same result I get. I'd suggest upgrading
> (or downgrading...) your git-review. Both 1.12 (1.12-0ubuntu1)  and
> 1.21 (1.21-0ubuntu1) work for me.

Now thats ugly... You are right (did you try 1.18 too?) !!

Downloading 1.12 [1] from koji [2] with the drawback that I am forced
to use a fedora 17 package on fc19 solved the problem!

[1]
http://arm.koji.fedoraproject.org//packages/git-review/1.12/2.fc17/noarch/git-review-1.12-2.fc17.noarch.rpm
[2] http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=53588

Thanks a lot for your help - hope this helps others too!
Greetings!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlH2vggACgkQAXWvBxzBrDAPugCeIqtXymPDz7RYnkCvxfHA8GBi
sxMAni7jSAGIAAG/eQyKaAd5EFBjtxLs
=1Uhk
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration and how to review changes

2013-07-29 Thread Merlijn van Deen
On 29 July 2013 16:11, Dr. Trigon  wrote:

> {"project":"pywikibot/core","branch":"master","topic":"gitconfig","id":"
> Iec4e2a4525185890546663c8702ad17370fee70c","number":"76352",
> "subject":"improvement;
>  add httplib2 as submodule - setuptools still
> missing","owner":{"name":"DrTrigon","email":"dr.tri...@surfeu.ch
> ","username":"drtrigon"},"url":"https://gerrit.wikimedia.org/r/76352
> ","createdOn":1375034327,"lastUpdated":1375035596,"sortKey":"0026b5eb00012a40","open":true,"status":"NEW","currentPatchSet":{"number":"1","revision":"690ad98bf3d03ef4b030e74e8812e465f61e07ca","parents":["188f157c2926a8409cba94c95d09d74b521f3dd7"],"ref":"refs/changes/52/76352/1","uploader":{"name":"DrTrigon","email":"
> dr.tri...@surfeu.ch
> ","username":"drtrigon"},"createdOn":1375034327,"author":{"name":"DrTrigon","email":"
> dr.tri...@surfeu.ch
> ","username":"drtrigon"},"approvals":[{"type":"Verified","description":"Verified","value":"2","grantedOn":1375034328,"by":{"name":"jenkins-bot","username":"jenkins-bot"}},{"type":"Code-Review","description":"Code-Review","value":"-2","grantedOn":1375035423,"by":{"name":"Merlijn
> van
> Deen","email":"valhall...@arctus.nl
> ","username":"valhallasw"}}],"sizeInsertions":9,"sizeDeletions":-6}}
> {"type":"stats","rowCount":1,"runTimeMilliseconds":15}
>

Basically, this is the same result I get. I'd suggest upgrading (or
downgrading...) your git-review. Both 1.12 (1.12-0ubuntu1)  and 1.21
(1.21-0ubuntu1) work for me.

Merlijn
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration and how to review changes

2013-07-29 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29.07.2013 15:53, Merlijn van Deen wrote:
> On 29 July 2013 15:50, Dr. Trigon  > wrote:
> 
> ... so ... might the version be the problem?
> 
> Unlikely, considering you are running a newer version. Could you
> try running

...this is what one MIGHT usually think... ;))

> git review --verbose -d 76352
> 
> and see if that gives any useful output?

$ git review --verbose -d 76352
2013-07-29 16:08:21.270583 Running: git log --color=never --oneline
HEAD^1..HEAD
2013-07-29 16:08:21.273990 Running: git remote
2013-07-29 16:08:21.276615 Running: git branch -a --color=never
2013-07-29 16:08:21.279382 Running: git remote show -n gerrit
Found origin Push URL:
ssh://drtri...@gerrit.wikimedia.org:29418/pywikibot/core.git
2013-07-29 16:08:21.282819 Running: ssh -x -p 29418 -l drtrigon
gerrit.wikimedia.org gerrit query --format=JSON --current-patch-set
change:76352
== output ==
{"project":"pywikibot/core","branch":"master","topic":"gitconfig","id":"Iec4e2a4525185890546663c8702ad17370fee70c","number":"76352","subject":"improvement;
add httplib2 as submodule - setuptools still
missing","owner":{"name":"DrTrigon","email":"dr.tri...@surfeu.ch","username":"drtrigon"},"url":"https://gerrit.wikimedia.org/r/76352","createdOn":1375034327,"lastUpdated":1375035596,"sortKey":"0026b5eb00012a40","open":true,"status":"NEW","currentPatchSet":{"number":"1","revision":"690ad98bf3d03ef4b030e74e8812e465f61e07ca","parents":["188f157c2926a8409cba94c95d09d74b521f3dd7"],"ref":"refs/changes/52/76352/1","uploader":{"name":"DrTrigon","email":"dr.tri...@surfeu.ch","username":"drtrigon"},"createdOn":1375034327,"author":{"name":"DrTrigon","email":"dr.tri...@surfeu.ch","username":"drtrigon"},"approvals":[{"type":"Verified","description":"Verified","value":"2","grantedOn":1375034328,"by":{"name":"jenkins-bot","username":"jenkins-bot"}},{"type":"Code-Review","description":"Code-Review","value":"-2","grantedOn":1375035423,"by":{"name":"Merlijn
van
Deen","email":"valhall...@arctus.nl","username":"valhallasw"}}],"sizeInsertions":9,"sizeDeletions":-6}}
{"type":"stats","rowCount":1,"runTimeMilliseconds":15}
== output end ==
Could not parse json query response: u'Verified'

...loos like something with the "approvals" part does not work as
expected...
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlH2eB4ACgkQAXWvBxzBrDA9MwCeI8VRI4IRbH5iKEaoehV22wt7
NMEAn0+SfsJ6DO8msf5E0Uiz1kks/nZG
=LXzL
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration and how to review changes

2013-07-29 Thread Merlijn van Deen
On 29 July 2013 15:50, Dr. Trigon  wrote:

> ... so ... might the version be the problem?
>
> Unlikely, considering you are running a newer version. Could you try
running

 git review --verbose -d 76352

and see if that gives any useful output?
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration and how to review changes

2013-07-29 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> But now I would like to review and correct the change
> 
> https://gerrit.wikimedia.org/r/#/c/76352/
> 
> but just get
> 
> $ git review -d 76352 Could not parse json query response:
> u'Verified'
> 
> ...can somebody help me here and explain whats going on and what I
> am doing wrong?
> 
> 
> Which git review version are you using? It works for me:
> 
> valhallasw@lisilwen:~/src/pywikibot-core$ git review --version 
> git-review version 1.12 valhallasw@lisilwen:~/src/pywikibot-core$
> git review -d 76352 Enter passphrase for key
> '/home/valhallasw/.ssh/id_rsa': Downloading refs/changes/52/76352/1
> from gerrit into review/drtrigon/gitconfig Enter passphrase for key
> '/home/valhallasw/.ssh/id_rsa': Switched to branch
> 'review/drtrigon/gitconfig'

Just to be sure, I did a complete new clone as described by "Example
(step-by-step)" and then get:

$ git review --version
git-review version 1.18
$ git review -d 76352
Could not parse json query response: u'Verified'

... so ... might the version be the problem?

DrTrigon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlH2cxEACgkQAXWvBxzBrDA/DACeOLTfwd0XH32cc9kOeATPPVoT
6tUAoNoFSVNaDhV0wM+J4g8IdovPnqFc
=huPC
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration and how to review changes

2013-07-28 Thread Merlijn van Deen
On 28 July 2013 23:14, Dr. Trigon  wrote:

> I updated [1] and added the section "Example (step-by-step)" in order
> to help others with the first steps - it's not straight forward... :)
>
> [1] http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit

Cool!


> But now I would like to review and correct the change
>
> https://gerrit.wikimedia.org/r/#/c/76352/
>
> but just get
>
> $ git review -d 76352
> Could not parse json query response: u'Verified'
>
> ...can somebody help me here and explain whats going on and what I am
> doing wrong?
>

Which git review version are you using? It works for me:

valhallasw@lisilwen:~/src/pywikibot-core$ git review --version
git-review version 1.12
valhallasw@lisilwen:~/src/pywikibot-core$ git review -d 76352
Enter passphrase for key '/home/valhallasw/.ssh/id_rsa':
Downloading refs/changes/52/76352/1 from gerrit into
review/drtrigon/gitconfig
Enter passphrase for key '/home/valhallasw/.ssh/id_rsa':
Switched to branch 'review/drtrigon/gitconfig'

Merlijn
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-23 Thread Amir Ladsgroup
https://blog.wikimedia.org/2013/07/23/pywikipediabot-moving-to-git-on-july-26/

Best

On 7/23/13, Dr. Trigon  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello Amir
>
> Somehow part of the message got lost, so here a full copy:
>
>> 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://drtri...@gerrit.wikimedia.org:29418/r/pywikibot/compat.git
>
> Good point! I (wrongly) assumed the username to be the same as on
> svn... So may be that should be underlined. ;)
>
> Now using the command you specified does not work too:
>
> === === === === === === === === === === === === === === === === === ===
>
> $ git clone
> ssh://drtri...@gerrit.wikimedia.org:29418/r/pywikibot/compat.git
> Klone nach 'compat'...
> fatal: Project not found: r/pywikibot/compat
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
>
> === === === === === === === === === === === === === === === === === ===
>
>> 1) 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
>
> This works, thanks! Please notice the missing 'c' in 'compa(c)t'... ;))
>
> $ git clone https://gerrit.wikimedia.org/r/pywikibot/compat.git
> pywikipedia-git
>
>> 2) 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
>
>> It's port number
>
> ...of course - should have been obvious... what stupid I am... ;)))
>
> All the best and Thanks!
> DrTrigon
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.13 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlHtq+QACgkQAXWvBxzBrDCqdQCeMMGevlrYd/Fyky9bbXClOQig
> HRUAoMrAyLyyGjkuFMiI+0L7XWZJAhNQ
> =JPLH
> -END PGP SIGNATURE-
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Amir

Somehow part of the message got lost, so here a full copy:

> 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://drtri...@gerrit.wikimedia.org:29418/r/pywikibot/compat.git

Good point! I (wrongly) assumed the username to be the same as on
svn... So may be that should be underlined. ;)

Now using the command you specified does not work too:

=== === === === === === === === === === === === === === === === === ===

$ git clone
ssh://drtri...@gerrit.wikimedia.org:29418/r/pywikibot/compat.git
Klone nach 'compat'...
fatal: Project not found: r/pywikibot/compat
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

=== === === === === === === === === === === === === === === === === ===

> 1) 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

This works, thanks! Please notice the missing 'c' in 'compa(c)t'... ;))

$ git clone https://gerrit.wikimedia.org/r/pywikibot/compat.git
pywikipedia-git

> 2) 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

> It's port number

...of course - should have been obvious... what stupid I am... ;)))

All the best and Thanks!
DrTrigon

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHtq+QACgkQAXWvBxzBrDCqdQCeMMGevlrYd/Fyky9bbXClOQig
HRUAoMrAyLyyGjkuFMiI+0L7XWZJAhNQ
=JPLH
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22.07.2013 15:57, Amir Ladsgroup wrote:
> Lego didn't participate in this discussion (in here at least). I'm 
> Amir aka User:Ladsgroup :)

Sorry... I was just confused... ;)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHtqkQACgkQAXWvBxzBrDAFRgCgrJUf4VJ0oQNLH1lPxybj99qQ
OMQAoJgbgFmTlsRFkwcTu6h/Pd2OKP4i
=+rPP
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread info
 - Original Nachricht 
Von: Amir Ladsgroup 
An:  Pywikipedia discussion list 
Datum:   22.07.2013 15:57
Betreff: Re: [Pywikipedia-l] GIT Migration

> the only one left in +2 group is dear xqt and Ryan Lane told me that
> he would sort out xqt issue today but he is in different timezone so
> we have to wait a while.
> 

Great! Thanks for all!

xqt

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread info



- Original Nachricht 
Von: "Dr. Trigon" 
An:  pywikipedia-l@lists.wikimedia.org
Datum:   22.07.2013 15:26
Betreff: Re: [Pywikipedia-l] GIT Migration

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Have you asked and admin (e.g. petan, Ryan_Lane, Damianz, ...) on
> #wikimedia-labs or suma...@wikimedia.org ?
> 
Yes I asked Ryan for help after a hint from malafaya on mw's conversion page.

xqt

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread Amir Ladsgroup
Lego didn't participate in this discussion (in here at least). I'm
Amir aka User:Ladsgroup :)

the only one left in +2 group is dear xqt and Ryan Lane told me that
he would sort out xqt issue today but he is in different timezone so
we have to wait a while.

I don't know where the word "compat" (without c) came from but It
seems correct for them (I thought It's a typo at first) and of course
if you agree to change to something more clear I wouldn't mind at all!

Best

On 7/22/13, Dr. Trigon  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Have you asked and admin (e.g. petan, Ryan_Lane, Damianz, ...) on
> #wikimedia-labs or suma...@wikimedia.org ?
>
> I had issues because my account was called "Drtrigon" initially (with
> lower 't') and had to be renamed - but I cannot remember anymore who
> was it that solved the issue finally... ;)
>
> Greetings
>
>
> On 21.07.2013 16:45, i...@gno.de wrote:
>> - Original Nachricht  Von:     Jeremy Baron
>>  An:  Pywikipedia discussion list
>>  Datum:   16.07.2013 07:04
>> Betreff: Re: [Pywikipedia-l] GIT Migration
>>
>>> I'm confused. Making a new wikitech/labs/gerrit account for an
>>> existing svn user that wishes to continue using the same shell
>>> name and git username as they were using for svn requires manual
>>> intervention (as far as I know) from someone from a relatively
>>> limited pool of people. (about half dozen people are able to make
>>> that happen)
>>>
>>> But you can't possibly have a labs account (as you state you do)
>>> without also having a gerrit account. So you should already be
>>> able to use gerrit with that same account.
>>>
>>
>> Seems that is exact my problem: I cannot get a labs account with my
>> current account name which means I cannot commit anymore after git
>> migration.
>>
>> helpless
>>
>> xqt
>>
>> ___ Pywikipedia-l
>> mailing list Pywikipedia-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.13 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlHtMvwACgkQAXWvBxzBrDBAYwCfRwFsj3VFF4Zu/KgJWPeIyqnT
> UQoAnjUXnty9CiaE3KRHWseeOmmHfMkt
> =W2jr
> -END PGP SIGNATURE-
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Have you asked and admin (e.g. petan, Ryan_Lane, Damianz, ...) on
#wikimedia-labs or suma...@wikimedia.org ?

I had issues because my account was called "Drtrigon" initially (with
lower 't') and had to be renamed - but I cannot remember anymore who
was it that solved the issue finally... ;)

Greetings


On 21.07.2013 16:45, i...@gno.de wrote:
> - Original Nachricht  Von: Jeremy Baron
>  An:  Pywikipedia discussion list
>  Datum:   16.07.2013 07:04 
> Betreff: Re: [Pywikipedia-l] GIT Migration
> 
>> I'm confused. Making a new wikitech/labs/gerrit account for an 
>> existing svn user that wishes to continue using the same shell
>> name and git username as they were using for svn requires manual 
>> intervention (as far as I know) from someone from a relatively
>> limited pool of people. (about half dozen people are able to make
>> that happen)
>> 
>> But you can't possibly have a labs account (as you state you do) 
>> without also having a gerrit account. So you should already be
>> able to use gerrit with that same account.
>> 
> 
> Seems that is exact my problem: I cannot get a labs account with my
> current account name which means I cannot commit anymore after git
> migration.
> 
> helpless
> 
> xqt
> 
> ___ Pywikipedia-l
> mailing list Pywikipedia-l@lists.wikimedia.org 
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHtMvwACgkQAXWvBxzBrDBAYwCfRwFsj3VFF4Zu/KgJWPeIyqnT
UQoAnjUXnty9CiaE3KRHWseeOmmHfMkt
=W2jr
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16.07.2013 07:04, Jeremy Baron wrote:
> On Fri, Jul 12, 2013 at 1:52 PM, Dr. Trigon 
> wrote:
>> it's complicated (and I assume will take some time) to get an
>> account. (Despite the fact that I had to do the same for svn AND
>> labs already.)
> 
> I'm confused. Making a new wikitech/labs/gerrit account for an 
> existing svn user that wishes to continue using the same shell
> name and git username as they were using for svn requires manual 
> intervention (as far as I know) from someone from a relatively
> limited pool of people. (about half dozen people are able to make
> that happen)
> 
> But you can't possibly have a labs account (as you state you do) 
> without also having a gerrit account. So you should already be able
> to use gerrit with that same account.

Yes you are right and I was confused. Which was my second argument, it
is not that clear and might be better pointed out to other users what
account serves for what purpose... I somehow lost the overview... ;)
And the activation of the gerrit account for labs was a bit of pain in
the "old" days when I did it... May be this has changed... ;)

> For brand new users (e.g. anyone that recently tried to get a new
> svn account and the account wasn't actually made yet) they can just
> make a new account @ [[wikitech:special:createaccount]] like
> everyone else and then use those creds with gerrit.

Good to hear!

Thanks for your info and pointing this out! Greetings
DrTrigon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHtMfsACgkQAXWvBxzBrDBr3gCdHRcIqDAF44WiBy6pOalVt0lr
E64An1lYcby4LtbgcRUYhEXBHeYYjRAQ
=gWI3
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-22 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Amir/lego



Good point! I (wrongly) assumed the username to be the same as on
svn... So may be that should be underlined. ;)

Now using the command you specified does not work too:

=== === === === === === === === === === === === === === === === === ===

$ git clone
ssh://drtri...@gerrit.wikimedia.org:29418/r/pywikibot/compat.git
Klone nach 'compat'...
fatal: Project not found: r/pywikibot/compat
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

=== === === === === === === === === === === === === === === === === ===



This works, thanks! Please notice the missing 'c' in 'compa(c)t'... ;))

$ git clone https://gerrit.wikimedia.org/r/pywikibot/compat.git
pywikipedia-git



...of course - should have been obvious... what stupid I am... ;)))

All the best and Thanks!
DrTrigon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHtMQAACgkQAXWvBxzBrDDY6gCfdQPlUR3OL9HPTyToem2PozVC
WTQAoMnPwQTTX58XlQr9p5EkZ2W5mxRg
=KDT6
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread Chad Horohoe
On Sun, Jul 21, 2013 at 4:37 PM, Amir Ladsgroup  wrote:

> It's port number
>
>
Yes. Gerrit provides its SSH over port 29418. I've always wanted
to setup a forwarding service so you could just use 22, but me and
ops have never gotten around to it. Rest assured if we did, 29418
would continue to work as well.

-Chad
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread Amir Ladsgroup
It's port number

On 7/22/13, Amir Ladsgroup  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://drtri...@gerrit.wikimedia.org:29418/r/pywikibot/compat.git
>
>
> 1) 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
>
> 2) 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  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://drtri...@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://drtri...@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
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread Amir Ladsgroup
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://drtri...@gerrit.wikimedia.org:29418/r/pywikibot/compat.git


1) 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

2) 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  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://drtri...@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://drtri...@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

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread Dr. Trigon
-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://drtri...@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://drtri...@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


Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread Chad Horohoe
On Sun, Jul 21, 2013 at 7:45 AM,  wrote:

> - Original Nachricht 
> Von: Jeremy Baron 
> An:  Pywikipedia discussion list 
> Datum:   16.07.2013 07:04
> Betreff: Re: [Pywikipedia-l] GIT Migration
>
> > I'm confused. Making a new wikitech/labs/gerrit account for an
> > existing svn user that wishes to continue using the same shell name
> > and git username as they were using for svn requires manual
> > intervention (as far as I know) from someone from a relatively limited
> > pool of people. (about half dozen people are able to make that happen)
> >
> > But you can't possibly have a labs account (as you state you do)
> > without also having a gerrit account. So you should already be able to
> > use gerrit with that same account.
> >
>
> Seems that is exact my problem: I cannot get a labs account with my
> current account name which means I cannot commit anymore after git
> migration.
>
> helpless
>
>
For anyone who is in this boat--has SVN account & wants to keep the same
name with Labs/Gerrit--find someone on #wikimedia-labs and one of us will be
able to convert those. Jeremy's right that it can be done, just needs a
manual
step by an opsen or a few other people like myself.

-Chad
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread info
- Original Nachricht 
Von: Jeremy Baron 
An:  Pywikipedia discussion list 
Datum:   16.07.2013 07:04
Betreff: Re: [Pywikipedia-l] GIT Migration

> I'm confused. Making a new wikitech/labs/gerrit account for an
> existing svn user that wishes to continue using the same shell name
> and git username as they were using for svn requires manual
> intervention (as far as I know) from someone from a relatively limited
> pool of people. (about half dozen people are able to make that happen)
> 
> But you can't possibly have a labs account (as you state you do)
> without also having a gerrit account. So you should already be able to
> use gerrit with that same account.
> 

Seems that is exact my problem: I cannot get a labs account with my current 
account name which means I cannot commit anymore after git migration.

helpless

xqt

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-21 Thread info
Hi Jan,

if you are familar with tortoiseSVN you may have a look to tortoiseGit [1].

Greetings
xqt

[1] http://code.google.com/p/tortoisegit/wiki/Download?tm=2


- Original Nachricht 
Von: Jan Dudík 
An:  Pywikipedia discussion list 
Datum:   20.07.2013 21:02
Betreff: Re: [Pywikipedia-l] GIT Migration

> I'm missing info how to update bot after 26th  on windows.
> Now is there link to tortoiseSVN, which works fine witk SVN, but no
> link to programm for updating from GIT.
> 
> JAnD
> 
> 
> 2013/7/17 Amir Ladsgroup :
> > maybe the manual that I wrote is wrong, can you check this?
> >
> http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Installation#Download_Py
> Wikipedia_with_Git
> >
> > Best
> >
> > On 7/18/13, Amir Ladsgroup  wrote:
> >> I forwarded to you because I thought (and I still think) problem is
> >> GIT because when people download and run codes via SVN, codecs work
> >> correctly but when you clone it via git something goes wrong maybe
> >> some of submodules don't download during the colonization
> >>
> >>
> >> On 7/18/13, Chad Horohoe  wrote:
> >>> On Wed, Jul 17, 2013 at 2:27 PM, Amir Ladsgroup 
> >>> wrote:
> >>>
> >>>> On 7/18/13, Strainu  wrote:
> >>>> > 2013/7/18 Chad Horohoe :
> >>>> >> On Wed, Jul 17, 2013 at 2:07 PM, Strainu 
> wrote:
> >>>> >>>
> >>>> >>> Yes, it's working. I should mention I used the github mirror, for
> >>>> >>> some
> >>>> >>> reason I can't seem to finish the cloning from gerrit.
> >>>> >>>
> >>>> >>
> >>>> >> This should be better now. The pywikibot/compat repository was
> taking
> >>>> >> up approximately 14GB!! on disk. After doing some compression and
> >>>> >> garbage collection I got things down to 192MB. Things should be much
> >>>> >> faster now for this.
> >>>> >
> >>>> > OK, that explains it :) Have you had a chance to look on the problem
> >>>> > with the pywikibot/core branch (or is it another Chad that Amir was
> >>>> > talking about)?
> >>>> >
> >>>> I forwarded your e-mail to this Chad but he didn't answer yet. I don't
> >>>> know why. Have you received my e-mail, Chad?
> >>>>
> >>>>
> >>> I did, I just didn't have a good answer. I don't know python well and
> >>> don't
> >>> really know what's going on there. Git is working just fine--maybe your
> >>> resulting code isn't ending up where you think it is?
> >>>
> >>> -Chad
> >>>
> >>
> >>
> >> --
> >> Amir
> >>
> >
> >
> > --
> > Amir
> >
> > ___
> > Pywikipedia-l mailing list
> > Pywikipedia-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> 
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-20 Thread Strainu
2013/7/20 Jan Dudík :
> I'm missing info how to update bot after 26th  on windows.
> Now is there link to tortoiseSVN, which works fine witk SVN, but no
> link to programm for updating from GIT.
>
> JAnD

Git has an official Windows client which comes with minimal GUI tools:
http://git-scm.com/downloads

If you prefer other GUI clients, here is a list:
http://git-scm.com/downloads/guis

Strainu

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-20 Thread Jan Dudík
I'm missing info how to update bot after 26th  on windows.
Now is there link to tortoiseSVN, which works fine witk SVN, but no
link to programm for updating from GIT.

JAnD


2013/7/17 Amir Ladsgroup :
> maybe the manual that I wrote is wrong, can you check this?
> http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Installation#Download_PyWikipedia_with_Git
>
> Best
>
> On 7/18/13, Amir Ladsgroup  wrote:
>> I forwarded to you because I thought (and I still think) problem is
>> GIT because when people download and run codes via SVN, codecs work
>> correctly but when you clone it via git something goes wrong maybe
>> some of submodules don't download during the colonization
>>
>>
>> On 7/18/13, Chad Horohoe  wrote:
>>> On Wed, Jul 17, 2013 at 2:27 PM, Amir Ladsgroup 
>>> wrote:
>>>
 On 7/18/13, Strainu  wrote:
 > 2013/7/18 Chad Horohoe :
 >> On Wed, Jul 17, 2013 at 2:07 PM, Strainu  wrote:
 >>>
 >>> Yes, it's working. I should mention I used the github mirror, for
 >>> some
 >>> reason I can't seem to finish the cloning from gerrit.
 >>>
 >>
 >> This should be better now. The pywikibot/compat repository was taking
 >> up approximately 14GB!! on disk. After doing some compression and
 >> garbage collection I got things down to 192MB. Things should be much
 >> faster now for this.
 >
 > OK, that explains it :) Have you had a chance to look on the problem
 > with the pywikibot/core branch (or is it another Chad that Amir was
 > talking about)?
 >
 I forwarded your e-mail to this Chad but he didn't answer yet. I don't
 know why. Have you received my e-mail, Chad?


>>> I did, I just didn't have a good answer. I don't know python well and
>>> don't
>>> really know what's going on there. Git is working just fine--maybe your
>>> resulting code isn't ending up where you think it is?
>>>
>>> -Chad
>>>
>>
>>
>> --
>> Amir
>>
>
>
> --
> Amir
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
OK, So please make a patch and I'll commit it (filing in sf.net would be better)

Best

On 7/18/13, Strainu  wrote:
> 2013/7/18 Amir Ladsgroup :
>> maybe the manual that I wrote is wrong, can you check this?
>> http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Installation#Download_PyWikipedia_with_Git
>
> Amir, the manual is fine - it works for compat branch.
>
> The reason it wasn't working was that user-config.py is incompatible
> between versions, which I haven't seen written anywhere and honestly,
> I think this is a bad design decision (even copying the file with
> pwb.py only copies the config, it doesn't actually upgrade it).
>
> The scripts worked just fine when using a newly generated config file.
> Sorry I haven't caught this yesterday. I will try to update the README
> file to clarify this.
>
> Regards,
>   Strainu
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Strainu
2013/7/18 Amir Ladsgroup :
> maybe the manual that I wrote is wrong, can you check this?
> http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Installation#Download_PyWikipedia_with_Git

Amir, the manual is fine - it works for compat branch.

The reason it wasn't working was that user-config.py is incompatible
between versions, which I haven't seen written anywhere and honestly,
I think this is a bad design decision (even copying the file with
pwb.py only copies the config, it doesn't actually upgrade it).

The scripts worked just fine when using a newly generated config file.
Sorry I haven't caught this yesterday. I will try to update the README
file to clarify this.

Regards,
  Strainu

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Chad Horohoe
If those repos should be in the main repo, wouldn't it make sense
to have them as submodules? Then you'd be able to git clone
--recursive or git submodule init/update afterwords rather than
doing manual clones.

-Chad

On Wed, Jul 17, 2013 at 2:49 PM, Amir Ladsgroup  wrote:

> maybe the manual that I wrote is wrong, can you check this?
>
> http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Installation#Download_PyWikipedia_with_Git
>
> Best
>
> On 7/18/13, Amir Ladsgroup  wrote:
> > I forwarded to you because I thought (and I still think) problem is
> > GIT because when people download and run codes via SVN, codecs work
> > correctly but when you clone it via git something goes wrong maybe
> > some of submodules don't download during the colonization
> >
> >
> > On 7/18/13, Chad Horohoe  wrote:
> >> On Wed, Jul 17, 2013 at 2:27 PM, Amir Ladsgroup 
> >> wrote:
> >>
> >>> On 7/18/13, Strainu  wrote:
> >>> > 2013/7/18 Chad Horohoe :
> >>> >> On Wed, Jul 17, 2013 at 2:07 PM, Strainu 
> wrote:
> >>> >>>
> >>> >>> Yes, it's working. I should mention I used the github mirror, for
> >>> >>> some
> >>> >>> reason I can't seem to finish the cloning from gerrit.
> >>> >>>
> >>> >>
> >>> >> This should be better now. The pywikibot/compat repository was
> taking
> >>> >> up approximately 14GB!! on disk. After doing some compression and
> >>> >> garbage collection I got things down to 192MB. Things should be much
> >>> >> faster now for this.
> >>> >
> >>> > OK, that explains it :) Have you had a chance to look on the problem
> >>> > with the pywikibot/core branch (or is it another Chad that Amir was
> >>> > talking about)?
> >>> >
> >>> I forwarded your e-mail to this Chad but he didn't answer yet. I don't
> >>> know why. Have you received my e-mail, Chad?
> >>>
> >>>
> >> I did, I just didn't have a good answer. I don't know python well and
> >> don't
> >> really know what's going on there. Git is working just fine--maybe your
> >> resulting code isn't ending up where you think it is?
> >>
> >> -Chad
> >>
> >
> >
> > --
> > Amir
> >
>
>
> --
> Amir
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
maybe the manual that I wrote is wrong, can you check this?
http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Installation#Download_PyWikipedia_with_Git

Best

On 7/18/13, Amir Ladsgroup  wrote:
> I forwarded to you because I thought (and I still think) problem is
> GIT because when people download and run codes via SVN, codecs work
> correctly but when you clone it via git something goes wrong maybe
> some of submodules don't download during the colonization
>
>
> On 7/18/13, Chad Horohoe  wrote:
>> On Wed, Jul 17, 2013 at 2:27 PM, Amir Ladsgroup 
>> wrote:
>>
>>> On 7/18/13, Strainu  wrote:
>>> > 2013/7/18 Chad Horohoe :
>>> >> On Wed, Jul 17, 2013 at 2:07 PM, Strainu  wrote:
>>> >>>
>>> >>> Yes, it's working. I should mention I used the github mirror, for
>>> >>> some
>>> >>> reason I can't seem to finish the cloning from gerrit.
>>> >>>
>>> >>
>>> >> This should be better now. The pywikibot/compat repository was taking
>>> >> up approximately 14GB!! on disk. After doing some compression and
>>> >> garbage collection I got things down to 192MB. Things should be much
>>> >> faster now for this.
>>> >
>>> > OK, that explains it :) Have you had a chance to look on the problem
>>> > with the pywikibot/core branch (or is it another Chad that Amir was
>>> > talking about)?
>>> >
>>> I forwarded your e-mail to this Chad but he didn't answer yet. I don't
>>> know why. Have you received my e-mail, Chad?
>>>
>>>
>> I did, I just didn't have a good answer. I don't know python well and
>> don't
>> really know what's going on there. Git is working just fine--maybe your
>> resulting code isn't ending up where you think it is?
>>
>> -Chad
>>
>
>
> --
> Amir
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
I forwarded to you because I thought (and I still think) problem is
GIT because when people download and run codes via SVN, codecs work
correctly but when you clone it via git something goes wrong maybe
some of submodules don't download during the colonization


On 7/18/13, Chad Horohoe  wrote:
> On Wed, Jul 17, 2013 at 2:27 PM, Amir Ladsgroup 
> wrote:
>
>> On 7/18/13, Strainu  wrote:
>> > 2013/7/18 Chad Horohoe :
>> >> On Wed, Jul 17, 2013 at 2:07 PM, Strainu  wrote:
>> >>>
>> >>> Yes, it's working. I should mention I used the github mirror, for
>> >>> some
>> >>> reason I can't seem to finish the cloning from gerrit.
>> >>>
>> >>
>> >> This should be better now. The pywikibot/compat repository was taking
>> >> up approximately 14GB!! on disk. After doing some compression and
>> >> garbage collection I got things down to 192MB. Things should be much
>> >> faster now for this.
>> >
>> > OK, that explains it :) Have you had a chance to look on the problem
>> > with the pywikibot/core branch (or is it another Chad that Amir was
>> > talking about)?
>> >
>> I forwarded your e-mail to this Chad but he didn't answer yet. I don't
>> know why. Have you received my e-mail, Chad?
>>
>>
> I did, I just didn't have a good answer. I don't know python well and don't
> really know what's going on there. Git is working just fine--maybe your
> resulting code isn't ending up where you think it is?
>
> -Chad
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Chad Horohoe
On Wed, Jul 17, 2013 at 2:27 PM, Amir Ladsgroup  wrote:

> On 7/18/13, Strainu  wrote:
> > 2013/7/18 Chad Horohoe :
> >> On Wed, Jul 17, 2013 at 2:07 PM, Strainu  wrote:
> >>>
> >>> Yes, it's working. I should mention I used the github mirror, for some
> >>> reason I can't seem to finish the cloning from gerrit.
> >>>
> >>
> >> This should be better now. The pywikibot/compat repository was taking
> >> up approximately 14GB!! on disk. After doing some compression and
> >> garbage collection I got things down to 192MB. Things should be much
> >> faster now for this.
> >
> > OK, that explains it :) Have you had a chance to look on the problem
> > with the pywikibot/core branch (or is it another Chad that Amir was
> > talking about)?
> >
> I forwarded your e-mail to this Chad but he didn't answer yet. I don't
> know why. Have you received my e-mail, Chad?
>
>
I did, I just didn't have a good answer. I don't know python well and don't
really know what's going on there. Git is working just fine--maybe your
resulting code isn't ending up where you think it is?

-Chad
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Amir Ladsgroup
On 7/18/13, Strainu  wrote:
> 2013/7/18 Chad Horohoe :
>> On Wed, Jul 17, 2013 at 2:07 PM, Strainu  wrote:
>>>
>>> Yes, it's working. I should mention I used the github mirror, for some
>>> reason I can't seem to finish the cloning from gerrit.
>>>
>>
>> This should be better now. The pywikibot/compat repository was taking
>> up approximately 14GB!! on disk. After doing some compression and
>> garbage collection I got things down to 192MB. Things should be much
>> faster now for this.
>
> OK, that explains it :) Have you had a chance to look on the problem
> with the pywikibot/core branch (or is it another Chad that Amir was
> talking about)?
>
I forwarded your e-mail to this Chad but he didn't answer yet. I don't
know why. Have you received my e-mail, Chad?
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Strainu
2013/7/18 Chad Horohoe :
> On Wed, Jul 17, 2013 at 2:07 PM, Strainu  wrote:
>>
>> Yes, it's working. I should mention I used the github mirror, for some
>> reason I can't seem to finish the cloning from gerrit.
>>
>
> This should be better now. The pywikibot/compat repository was taking
> up approximately 14GB!! on disk. After doing some compression and
> garbage collection I got things down to 192MB. Things should be much
> faster now for this.

OK, that explains it :) Have you had a chance to look on the problem
with the pywikibot/core branch (or is it another Chad that Amir was
talking about)?

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Chad Horohoe
On Wed, Jul 17, 2013 at 2:07 PM, Strainu  wrote:

> Yes, it's working. I should mention I used the github mirror, for some
> reason I can't seem to finish the cloning from gerrit.
>
>
This should be better now. The pywikibot/compat repository was taking
up approximately 14GB!! on disk. After doing some compression and
garbage collection I got things down to 192MB. Things should be much
faster now for this.

-Chad
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-17 Thread Strainu
Yes, it's working. I should mention I used the github mirror, for some
reason I can't seem to finish the cloning from gerrit.

Strainu

2013/7/16 Amir Ladsgroup :
> I will forward your mail to Chad and ask where is the problem.
> btw, can you check trunk is working or not?
>
> Best
> On 7/16/13, Strainu  wrote:
>> Hi,
>>
>> I'm trying to setup a self-sufficient pywikibot-core instance from
>> git. I've cloned the main repository, as well as i18n and spellcheck,
>> and now I try to run a bot from the framework:
>>
>> andrei@emily:~/pywikibot-core> python -V
>> Python 2.7.3
>> andrei@emily:~/pywikibot-core> python replace.py -page:John_Doe -fix:isbn
>> Configuration variable 'flickr' is defined but unknown. Misspelled?
>> Configuration variable 'google_api_refer' is defined but unknown.
>> Misspelled?
>> Configuration variable 'retry_on_fail' is defined but unknown. Misspelled?
>> Configuration variable 'use_diskcache' is defined but unknown. Misspelled?
>> Configuration variable 'panoramio' is defined but unknown. Misspelled?
>> ERROR: Traceback (most recent call last):
>>   File "/home/andrei/pywikibot-core/pywikibot/data/api.py", line 286, in
>> submit
>> body=paramstring)
>>   File "/home/andrei/pywikibot-core/pywikibot/comms/http.py", line
>> 116, in request
>> raise request.data
>> AttributeError: 'dict' object has no attribute 'isgood'
>>
>> WARNING: Waiting 5 seconds before retrying.
>>
>>
>> The configuration warnings are probably because I copied the
>> user-config.py from my old pywikibot instance, but I don't think
>> they're related to the AttributeError.
>>
>> Can anyone provide some guidance?
>>
>> Thanks,
>>Strainu
>>
>> 2013/7/13 Amir Ladsgroup :
>>> I just updated this and I think we should update this too but per KISS
>>> principal I want to ask something in the first link is unclear? can you do
>>> run a bot for test? or commit a patch? (of course this should be for test,
>>> real patches should be committed after 26 July)
>>> P.S. I added you Dr. Trigon in the members of the group
>>> Best
>>>
>>>
>>> On Fri, Jul 12, 2013 at 6:22 PM, Dr. Trigon  wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 +1

 Especially the combination of the last two paragraphs. First it's
 complicated (and I assume will take some time) to get an account.
 (Despite the fact that I had to do the same for svn AND labs already.)
 Second you plan to inform users at the same day you switch off svn
 permanently. So most of the users will not be able to commit anymore
 and have to go through the registration first and wait for some
 hours/days...

 Please keep also in mind that some/most of the users are volunteers
 with a real-world life also... ;))

 Thanks for your effort and Greetings
 DrTrigon


 On 12.07.2013 11:07, Alex Brollo wrote:
 > Please, don't forget the KISS principle I (and probabily other)
 > am a little discouraged when reading this mail list.
 >
 > :-(
 >
 > Alex brollo
 >
 >
 >
 >
 > 2013/7/12 Amir Ladsgroup >>> > >
 >
 > about the first date (6 July) It's changed and postponed [6] so
 > don't need to do any thing for commit right now (use the old SVN
 > way to commit)
 >
 > your svn account won't work there you should make an account as
 > It's told in [2] at first you make an account in wikitech [7] and
 > after that you should add your public key in gerrit and wikitech
 > [8], [9]
 >
 > I planned to make some announcements but I will at the very moment
 > of migrating (26 July)
 >
 > [6]
 >
 > http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&diff=725823&oldid=725818
 >
 >
 [7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
 > [8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys [9]
 > https://wikitech.wikimedia.org/wiki/Special:NovaKey
 >
 > Best
 >
 > On 7/11/13, Dr. Trigon >>> > > wrote: Thanks for all your info!
 >
  please tell us your username in gerrit in order to add your
  name in initial +2 group
 >
 > Do I need another account again or is it the same as used for svn
 > already? This is 'drtrigon', please confer [3].
 >
 > [3] http://www.mediawiki.org/wiki/Developers/Accounts
 >
 > But still one question stays open; how are we supposed to commit
 > AT THE MOMENT? Through svn, git or does it not matter at all...?!
 > I assume it does not matter until "26 july" as written on [4].
 >
 > [4]
 > http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
 >
 > Is this the "official" date (?) since you also mentioned 6 july in
 > [5] which confused me... What are the facts at the moment?
 >
 > [5]
 >
 >>
 >> http://lists.wikimedia.org/pipermail/

Re: [Pywikipedia-l] GIT Migration

2013-07-16 Thread Amir Ladsgroup
I will forward your mail to Chad and ask where is the problem.
btw, can you check trunk is working or not?

Best
On 7/16/13, Strainu  wrote:
> Hi,
>
> I'm trying to setup a self-sufficient pywikibot-core instance from
> git. I've cloned the main repository, as well as i18n and spellcheck,
> and now I try to run a bot from the framework:
>
> andrei@emily:~/pywikibot-core> python -V
> Python 2.7.3
> andrei@emily:~/pywikibot-core> python replace.py -page:John_Doe -fix:isbn
> Configuration variable 'flickr' is defined but unknown. Misspelled?
> Configuration variable 'google_api_refer' is defined but unknown.
> Misspelled?
> Configuration variable 'retry_on_fail' is defined but unknown. Misspelled?
> Configuration variable 'use_diskcache' is defined but unknown. Misspelled?
> Configuration variable 'panoramio' is defined but unknown. Misspelled?
> ERROR: Traceback (most recent call last):
>   File "/home/andrei/pywikibot-core/pywikibot/data/api.py", line 286, in
> submit
> body=paramstring)
>   File "/home/andrei/pywikibot-core/pywikibot/comms/http.py", line
> 116, in request
> raise request.data
> AttributeError: 'dict' object has no attribute 'isgood'
>
> WARNING: Waiting 5 seconds before retrying.
>
>
> The configuration warnings are probably because I copied the
> user-config.py from my old pywikibot instance, but I don't think
> they're related to the AttributeError.
>
> Can anyone provide some guidance?
>
> Thanks,
>Strainu
>
> 2013/7/13 Amir Ladsgroup :
>> I just updated this and I think we should update this too but per KISS
>> principal I want to ask something in the first link is unclear? can you do
>> run a bot for test? or commit a patch? (of course this should be for test,
>> real patches should be committed after 26 July)
>> P.S. I added you Dr. Trigon in the members of the group
>> Best
>>
>>
>> On Fri, Jul 12, 2013 at 6:22 PM, Dr. Trigon  wrote:
>>>
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> +1
>>>
>>> Especially the combination of the last two paragraphs. First it's
>>> complicated (and I assume will take some time) to get an account.
>>> (Despite the fact that I had to do the same for svn AND labs already.)
>>> Second you plan to inform users at the same day you switch off svn
>>> permanently. So most of the users will not be able to commit anymore
>>> and have to go through the registration first and wait for some
>>> hours/days...
>>>
>>> Please keep also in mind that some/most of the users are volunteers
>>> with a real-world life also... ;))
>>>
>>> Thanks for your effort and Greetings
>>> DrTrigon
>>>
>>>
>>> On 12.07.2013 11:07, Alex Brollo wrote:
>>> > Please, don't forget the KISS principle I (and probabily other)
>>> > am a little discouraged when reading this mail list.
>>> >
>>> > :-(
>>> >
>>> > Alex brollo
>>> >
>>> >
>>> >
>>> >
>>> > 2013/7/12 Amir Ladsgroup >> > >
>>> >
>>> > about the first date (6 July) It's changed and postponed [6] so
>>> > don't need to do any thing for commit right now (use the old SVN
>>> > way to commit)
>>> >
>>> > your svn account won't work there you should make an account as
>>> > It's told in [2] at first you make an account in wikitech [7] and
>>> > after that you should add your public key in gerrit and wikitech
>>> > [8], [9]
>>> >
>>> > I planned to make some announcements but I will at the very moment
>>> > of migrating (26 July)
>>> >
>>> > [6]
>>> >
>>> > http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&diff=725823&oldid=725818
>>> >
>>> >
>>> [7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
>>> > [8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys [9]
>>> > https://wikitech.wikimedia.org/wiki/Special:NovaKey
>>> >
>>> > Best
>>> >
>>> > On 7/11/13, Dr. Trigon >> > > wrote: Thanks for all your info!
>>> >
>>>  please tell us your username in gerrit in order to add your
>>>  name in initial +2 group
>>> >
>>> > Do I need another account again or is it the same as used for svn
>>> > already? This is 'drtrigon', please confer [3].
>>> >
>>> > [3] http://www.mediawiki.org/wiki/Developers/Accounts
>>> >
>>> > But still one question stays open; how are we supposed to commit
>>> > AT THE MOMENT? Through svn, git or does it not matter at all...?!
>>> > I assume it does not matter until "26 july" as written on [4].
>>> >
>>> > [4]
>>> > http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
>>> >
>>> > Is this the "official" date (?) since you also mentioned 6 july in
>>> > [5] which confused me... What are the facts at the moment?
>>> >
>>> > [5]
>>> >
>>> >>
>>> >> http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html
>>> >
>>> >>
>>> > Since starting form "26 july" we can use git ONLY - I think it's
>>> > necessary to inform all developers about this - RIGHT NOW! I
>>> > recognized this very soon change just by accident... :)
>>> >
>>> > Thanks and Greetings DrTrigon
>>> >>
>>>

Re: [Pywikipedia-l] GIT Migration

2013-07-15 Thread Jeremy Baron
On Fri, Jul 12, 2013 at 1:52 PM, Dr. Trigon  wrote:
> it's
> complicated (and I assume will take some time) to get an account.
> (Despite the fact that I had to do the same for svn AND labs already.)

I'm confused. Making a new wikitech/labs/gerrit account for an
existing svn user that wishes to continue using the same shell name
and git username as they were using for svn requires manual
intervention (as far as I know) from someone from a relatively limited
pool of people. (about half dozen people are able to make that happen)

But you can't possibly have a labs account (as you state you do)
without also having a gerrit account. So you should already be able to
use gerrit with that same account.

For brand new users (e.g. anyone that recently tried to get a new svn
account and the account wasn't actually made yet) they can just make a
new account @ [[wikitech:special:createaccount]] like everyone else
and then use those creds with gerrit.

-Jeremy

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-15 Thread Strainu
Hi,

I'm trying to setup a self-sufficient pywikibot-core instance from
git. I've cloned the main repository, as well as i18n and spellcheck,
and now I try to run a bot from the framework:

andrei@emily:~/pywikibot-core> python -V
Python 2.7.3
andrei@emily:~/pywikibot-core> python replace.py -page:John_Doe -fix:isbn
Configuration variable 'flickr' is defined but unknown. Misspelled?
Configuration variable 'google_api_refer' is defined but unknown. Misspelled?
Configuration variable 'retry_on_fail' is defined but unknown. Misspelled?
Configuration variable 'use_diskcache' is defined but unknown. Misspelled?
Configuration variable 'panoramio' is defined but unknown. Misspelled?
ERROR: Traceback (most recent call last):
  File "/home/andrei/pywikibot-core/pywikibot/data/api.py", line 286, in submit
body=paramstring)
  File "/home/andrei/pywikibot-core/pywikibot/comms/http.py", line
116, in request
raise request.data
AttributeError: 'dict' object has no attribute 'isgood'

WARNING: Waiting 5 seconds before retrying.


The configuration warnings are probably because I copied the
user-config.py from my old pywikibot instance, but I don't think
they're related to the AttributeError.

Can anyone provide some guidance?

Thanks,
   Strainu

2013/7/13 Amir Ladsgroup :
> I just updated this and I think we should update this too but per KISS
> principal I want to ask something in the first link is unclear? can you do
> run a bot for test? or commit a patch? (of course this should be for test,
> real patches should be committed after 26 July)
> P.S. I added you Dr. Trigon in the members of the group
> Best
>
>
> On Fri, Jul 12, 2013 at 6:22 PM, Dr. Trigon  wrote:
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> +1
>>
>> Especially the combination of the last two paragraphs. First it's
>> complicated (and I assume will take some time) to get an account.
>> (Despite the fact that I had to do the same for svn AND labs already.)
>> Second you plan to inform users at the same day you switch off svn
>> permanently. So most of the users will not be able to commit anymore
>> and have to go through the registration first and wait for some
>> hours/days...
>>
>> Please keep also in mind that some/most of the users are volunteers
>> with a real-world life also... ;))
>>
>> Thanks for your effort and Greetings
>> DrTrigon
>>
>>
>> On 12.07.2013 11:07, Alex Brollo wrote:
>> > Please, don't forget the KISS principle I (and probabily other)
>> > am a little discouraged when reading this mail list.
>> >
>> > :-(
>> >
>> > Alex brollo
>> >
>> >
>> >
>> >
>> > 2013/7/12 Amir Ladsgroup > > >
>> >
>> > about the first date (6 July) It's changed and postponed [6] so
>> > don't need to do any thing for commit right now (use the old SVN
>> > way to commit)
>> >
>> > your svn account won't work there you should make an account as
>> > It's told in [2] at first you make an account in wikitech [7] and
>> > after that you should add your public key in gerrit and wikitech
>> > [8], [9]
>> >
>> > I planned to make some announcements but I will at the very moment
>> > of migrating (26 July)
>> >
>> > [6]
>> >
>> > http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&diff=725823&oldid=725818
>> >
>> >
>> [7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
>> > [8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys [9]
>> > https://wikitech.wikimedia.org/wiki/Special:NovaKey
>> >
>> > Best
>> >
>> > On 7/11/13, Dr. Trigon > > > wrote: Thanks for all your info!
>> >
>>  please tell us your username in gerrit in order to add your
>>  name in initial +2 group
>> >
>> > Do I need another account again or is it the same as used for svn
>> > already? This is 'drtrigon', please confer [3].
>> >
>> > [3] http://www.mediawiki.org/wiki/Developers/Accounts
>> >
>> > But still one question stays open; how are we supposed to commit
>> > AT THE MOMENT? Through svn, git or does it not matter at all...?!
>> > I assume it does not matter until "26 july" as written on [4].
>> >
>> > [4]
>> > http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
>> >
>> > Is this the "official" date (?) since you also mentioned 6 july in
>> > [5] which confused me... What are the facts at the moment?
>> >
>> > [5]
>> >
>> >>
>> >> http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html
>> >
>> >>
>> > Since starting form "26 july" we can use git ONLY - I think it's
>> > necessary to inform all developers about this - RIGHT NOW! I
>> > recognized this very soon change just by accident... :)
>> >
>> > Thanks and Greetings DrTrigon
>> >>
>> >> ___ Pywikipedia-l
>> >> mailing list Pywikipedia-l@lists.wikimedia.org
>> > 
>> >> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>> >>
>> >
>> >
>> > -- Amir
>> >
>> > _

Re: [Pywikipedia-l] GIT Migration

2013-07-13 Thread Amir Ladsgroup
I just updated 
thisand
I think we should update
this  too but per
KISS principal I want to ask something in the first link is unclear? can
you do run a bot for test? or commit a patch? (of course this should be for
test, real patches should be committed after 26 July)
P.S. I added you Dr. Trigon in the members of the group
Best


On Fri, Jul 12, 2013 at 6:22 PM, Dr. Trigon  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> +1
>
> Especially the combination of the last two paragraphs. First it's
> complicated (and I assume will take some time) to get an account.
> (Despite the fact that I had to do the same for svn AND labs already.)
> Second you plan to inform users at the same day you switch off svn
> permanently. So most of the users will not be able to commit anymore
> and have to go through the registration first and wait for some
> hours/days...
>
> Please keep also in mind that some/most of the users are volunteers
> with a real-world life also... ;))
>
> Thanks for your effort and Greetings
> DrTrigon
>
>
> On 12.07.2013 11:07, Alex Brollo wrote:
> > Please, don't forget the KISS principle I (and probabily other)
> > am a little discouraged when reading this mail list.
> >
> > :-(
> >
> > Alex brollo
> >
> >
> >
> >
> > 2013/7/12 Amir Ladsgroup  > >
> >
> > about the first date (6 July) It's changed and postponed [6] so
> > don't need to do any thing for commit right now (use the old SVN
> > way to commit)
> >
> > your svn account won't work there you should make an account as
> > It's told in [2] at first you make an account in wikitech [7] and
> > after that you should add your public key in gerrit and wikitech
> > [8], [9]
> >
> > I planned to make some announcements but I will at the very moment
> > of migrating (26 July)
> >
> > [6]
> >
> http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&diff=725823&oldid=725818
> >
> >
> [7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
> > [8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys [9]
> > https://wikitech.wikimedia.org/wiki/Special:NovaKey
> >
> > Best
> >
> > On 7/11/13, Dr. Trigon  > > wrote: Thanks for all your info!
> >
>  please tell us your username in gerrit in order to add your
>  name in initial +2 group
> >
> > Do I need another account again or is it the same as used for svn
> > already? This is 'drtrigon', please confer [3].
> >
> > [3] http://www.mediawiki.org/wiki/Developers/Accounts
> >
> > But still one question stays open; how are we supposed to commit
> > AT THE MOMENT? Through svn, git or does it not matter at all...?!
> > I assume it does not matter until "26 july" as written on [4].
> >
> > [4]
> > http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
> >
> > Is this the "official" date (?) since you also mentioned 6 july in
> > [5] which confused me... What are the facts at the moment?
> >
> > [5]
> >
> >>
> http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html
> >
> >>
> > Since starting form "26 july" we can use git ONLY - I think it's
> > necessary to inform all developers about this - RIGHT NOW! I
> > recognized this very soon change just by accident... :)
> >
> > Thanks and Greetings DrTrigon
> >>
> >> ___ Pywikipedia-l
> >> mailing list Pywikipedia-l@lists.wikimedia.org
> > 
> >> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> >>
> >
> >
> > -- Amir
> >
> > ___ Pywikipedia-l
> > mailing list Pywikipedia-l@lists.wikimedia.org
> > 
> > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> >
> >
> >
> >
> > ___ Pywikipedia-l
> > mailing list Pywikipedia-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> >
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.13 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlHgCgEACgkQAXWvBxzBrDD1MQCeLlk8LGxMytriLQuuubmHRRoq
> tYAAoJq/8msWd1Tgl6L5XeMyKb0nMhmk
> =cvkq
> -END PGP SIGNATURE-
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>



-- 
Amir
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

+1

Especially the combination of the last two paragraphs. First it's
complicated (and I assume will take some time) to get an account.
(Despite the fact that I had to do the same for svn AND labs already.)
Second you plan to inform users at the same day you switch off svn
permanently. So most of the users will not be able to commit anymore
and have to go through the registration first and wait for some
hours/days...

Please keep also in mind that some/most of the users are volunteers
with a real-world life also... ;))

Thanks for your effort and Greetings
DrTrigon


On 12.07.2013 11:07, Alex Brollo wrote:
> Please, don't forget the KISS principle I (and probabily other)
> am a little discouraged when reading this mail list.
> 
> :-(
> 
> Alex brollo
> 
> 
> 
> 
> 2013/7/12 Amir Ladsgroup  >
> 
> about the first date (6 July) It's changed and postponed [6] so
> don't need to do any thing for commit right now (use the old SVN
> way to commit)
> 
> your svn account won't work there you should make an account as
> It's told in [2] at first you make an account in wikitech [7] and
> after that you should add your public key in gerrit and wikitech
> [8], [9]
> 
> I planned to make some announcements but I will at the very moment
> of migrating (26 July)
> 
> [6] 
> http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&diff=725823&oldid=725818
>
> 
[7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
> [8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys [9]
> https://wikitech.wikimedia.org/wiki/Special:NovaKey
> 
> Best
> 
> On 7/11/13, Dr. Trigon  > wrote: Thanks for all your info!
> 
 please tell us your username in gerrit in order to add your
 name in initial +2 group
> 
> Do I need another account again or is it the same as used for svn 
> already? This is 'drtrigon', please confer [3].
> 
> [3] http://www.mediawiki.org/wiki/Developers/Accounts
> 
> But still one question stays open; how are we supposed to commit
> AT THE MOMENT? Through svn, git or does it not matter at all...?!
> I assume it does not matter until "26 july" as written on [4].
> 
> [4]
> http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
> 
> Is this the "official" date (?) since you also mentioned 6 july in
> [5] which confused me... What are the facts at the moment?
> 
> [5]
> 
>> http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html
>
>> 
> Since starting form "26 july" we can use git ONLY - I think it's 
> necessary to inform all developers about this - RIGHT NOW! I 
> recognized this very soon change just by accident... :)
> 
> Thanks and Greetings DrTrigon
>> 
>> ___ Pywikipedia-l
>> mailing list Pywikipedia-l@lists.wikimedia.org
> 
>> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>> 
> 
> 
> -- Amir
> 
> ___ Pywikipedia-l
> mailing list Pywikipedia-l@lists.wikimedia.org 
>  
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> 
> 
> 
> 
> ___ Pywikipedia-l
> mailing list Pywikipedia-l@lists.wikimedia.org 
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHgCgEACgkQAXWvBxzBrDD1MQCeLlk8LGxMytriLQuuubmHRRoq
tYAAoJq/8msWd1Tgl6L5XeMyKb0nMhmk
=cvkq
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-12 Thread Alex Brollo
Please, don't forget the KISS principle I (and probabily other) am a
little discouraged when reading this mail list.

:-(

Alex brollo




2013/7/12 Amir Ladsgroup 

> about the first date (6 July) It's changed and postponed [6] so don't
> need to do any thing for commit right now (use the old SVN way to
> commit)
>
> your svn account won't work there you should make an account as It's
> told in [2] at first you make an account in wikitech [7] and after
> that you should add your public key in gerrit and wikitech [8], [9]
>
> I planned to make some announcements but I will at the very moment of
> migrating (26 July)
>
> [6]
> http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&diff=725823&oldid=725818
> [7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
> [8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys
> [9] https://wikitech.wikimedia.org/wiki/Special:NovaKey
>
> Best
>
> On 7/11/13, Dr. Trigon  wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Thanks for all your info!
> >
> >> please tell us your username in gerrit in order to add your name
> >> in initial +2 group
> >
> > Do I need another account again or is it the same as used for svn
> > already? This is 'drtrigon', please confer [3].
> >
> > [3] http://www.mediawiki.org/wiki/Developers/Accounts
> >
> > But still one question stays open; how are we supposed to commit AT
> > THE MOMENT? Through svn, git or does it not matter at all...?! I
> > assume it does not matter until "26 july" as written on [4].
> >
> > [4] http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
> >
> > Is this the "official" date (?) since you also mentioned 6 july in [5]
> > which confused me... What are the facts at the moment?
> >
> > [5]
> > http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html
> >
> > Since starting form "26 july" we can use git ONLY - I think it's
> > necessary to inform all developers about this - RIGHT NOW! I
> > recognized this very soon change just by accident... :)
> >
> > Thanks and Greetings
> > DrTrigon
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.13 (GNU/Linux)
> > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> >
> > iEYEARECAAYFAlHe5gEACgkQAXWvBxzBrDCMzwCdGUrDCCHOtmK+D3i97Tcg6Z7t
> > xb0An3rVjkueARRDSt/yum7V9qgA6IEU
> > =EYZe
> > -END PGP SIGNATURE-
> >
> > ___
> > Pywikipedia-l mailing list
> > Pywikipedia-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> >
>
>
> --
> Amir
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-11 Thread Amir Ladsgroup
about the first date (6 July) It's changed and postponed [6] so don't
need to do any thing for commit right now (use the old SVN way to
commit)

your svn account won't work there you should make an account as It's
told in [2] at first you make an account in wikitech [7] and after
that you should add your public key in gerrit and wikitech [8], [9]

I planned to make some announcements but I will at the very moment of
migrating (26 July)

[6] 
http://www.mediawiki.org/w/index.php?title=Git/Conversion/pywikipedia&diff=725823&oldid=725818
[7] https://labsconsole.wikimedia.org/wiki/Special:UserLogin/signup
[8] https://gerrit.wikimedia.org/r/#/settings/ssh-keys
[9] https://wikitech.wikimedia.org/wiki/Special:NovaKey

Best

On 7/11/13, Dr. Trigon  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Thanks for all your info!
>
>> please tell us your username in gerrit in order to add your name
>> in initial +2 group
>
> Do I need another account again or is it the same as used for svn
> already? This is 'drtrigon', please confer [3].
>
> [3] http://www.mediawiki.org/wiki/Developers/Accounts
>
> But still one question stays open; how are we supposed to commit AT
> THE MOMENT? Through svn, git or does it not matter at all...?! I
> assume it does not matter until "26 july" as written on [4].
>
> [4] http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule
>
> Is this the "official" date (?) since you also mentioned 6 july in [5]
> which confused me... What are the facts at the moment?
>
> [5]
> http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html
>
> Since starting form "26 july" we can use git ONLY - I think it's
> necessary to inform all developers about this - RIGHT NOW! I
> recognized this very soon change just by accident... :)
>
> Thanks and Greetings
> DrTrigon
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.13 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlHe5gEACgkQAXWvBxzBrDCMzwCdGUrDCCHOtmK+D3i97Tcg6Z7t
> xb0An3rVjkueARRDSt/yum7V9qgA6IEU
> =EYZe
> -END PGP SIGNATURE-
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-11 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks for all your info!

> please tell us your username in gerrit in order to add your name
> in initial +2 group

Do I need another account again or is it the same as used for svn
already? This is 'drtrigon', please confer [3].

[3] http://www.mediawiki.org/wiki/Developers/Accounts

But still one question stays open; how are we supposed to commit AT
THE MOMENT? Through svn, git or does it not matter at all...?! I
assume it does not matter until "26 july" as written on [4].

[4] http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Schedule

Is this the "official" date (?) since you also mentioned 6 july in [5]
which confused me... What are the facts at the moment?

[5]
http://lists.wikimedia.org/pipermail/pywikipedia-l/2013-July/007935.html

Since starting form "26 july" we can use git ONLY - I think it's
necessary to inform all developers about this - RIGHT NOW! I
recognized this very soon change just by accident... :)

Thanks and Greetings
DrTrigon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHe5gEACgkQAXWvBxzBrDCMzwCdGUrDCCHOtmK+D3i97Tcg6Z7t
xb0An3rVjkueARRDSt/yum7V9qgA6IEU
=EYZe
-END PGP SIGNATURE-

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] GIT Migration

2013-07-10 Thread Amir Ladsgroup
Dear Dr. Trigon
There is a page for this migration [1] and if you don't know how to
work with git (or you don't know to work in gerrit) this page [2] is a
very good help

please tell us your username in gerrit in order to add your name in
initial +2 group

[1]: http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia
[2]: http://www.mediawiki.org/wiki/Git/TLDR

Best

On 7/11/13, Dr. Trigon  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello
>
> May be I missed something or are completely misinformed or something,
> but am I right that at the moment SVN to GIT migration is taking
> place? How is that status? How are we supposed to commit changes at
> the moment?
>
> Could somebody shed some light onto this for me please?
>
> Thanks a lot and Greetings
> DrTrigon
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.13 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlHdwtIACgkQAXWvBxzBrDD/dgCcD/m0UzNEv53BEZKMt72WRWdS
> dxoAnApa98Hd7vARNP56960FOvI4IziH
> =2wpV
> -END PGP SIGNATURE-
>
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>


-- 
Amir

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] git migration: repository structure

2013-01-01 Thread info
For me splitting the repository depends on how to proceed the checkout of all 
new repositories and externals. At the moment I have 4 repositories for 
developing (2 trunk 2 rewrite) and two (1/1) for committing approved changes 
and two (1/1) on a different machine for running the bot in autonomous mode. I 
do not like virual environment for developing, i didn't get it working in past.

I would prefer splitting the framework trunk and rewrite and perhaps in next 
future a new py3.0 framework based on the rewrite branch. Next I would split 
i18n from these framework forks as they must be the same; now trunk use it as 
external from rewrite. In a same way the family files could be separated when 
the framework is able to handle remaining different setting (e.g. namespaces, 
ssl etc.)

Also I have the idea to split scripts from the framework and enable running the 
same script with different frameworks (look at noreferences.py: only the 
imports are different). This means most bots must become a library and all 
interfaces must be the same, independent from py release and api/screen 
scrapping modules.

Happy new year

xqt

- Original Nachricht 
Von: Merlijn van Deen 
An:  Pywikipedia discussion list , 
yuriastrak...@gmail.com
Datum:   27.12.2012 20:09
Betreff: Re: [Pywikipedia-l] git migration: repository structure

> On IRC, I had a quick chat with Yuri on this issue. A few pointers
> from the discussion - (I hope I worded your points correctly, Yuri -
> if not, please correct me!)
> 
> On 27 December 2012 16:00, Merlijn van Deen  wrote:
> > In our repository, we have the following projects:
> >   - pywikiparser
> >   - threadedhttp
> >   - pywikipedia
> 
> pywikiparser should certainly be split, but threadedhttp might warrant
> some discussion:
> 
> > and I think we should also split off the third party libraries - and
> > maybe remove them altogether. It might make sense to package them in
> > the nightlies, though.
> 
> Basically, the question boils down to whether we want a 'pure'
> repository (which is harder to install, especially on windows), or a
> repository where third-party libraries (which sort-of includes
> threadedhttp - it doesn't need pywikipedia to function) are included.
> 
> I'm inclined to say we should have an easy-to install bundle for
> windows users and developers (e.g. using PyInstaller), and have
> something virtualenv- and pip-based (or just installed packages) for
> linux users, but Yuri is a proponent of bundling everything in the
> repository.
> 
> >   - split off family files
> >   - split off userinterfaces (?)
> 
> Yuri thinks, and I am inclined to agree, that we should not split
> these - they really are part of the core framework, and cannot easily
> be used outside of it.
> 
> One last thing we could not really agree on is how big the 'user, not
> developer'-market is: how many people are using the bots, but are not
> programmers (and thus do not write/improve the bots)?
> 
> Merlijn
> 
> ___
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> 

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l


Re: [Pywikipedia-l] git migration: repository structure

2012-12-27 Thread Merlijn van Deen
On IRC, I had a quick chat with Yuri on this issue. A few pointers
from the discussion - (I hope I worded your points correctly, Yuri -
if not, please correct me!)

On 27 December 2012 16:00, Merlijn van Deen  wrote:
> In our repository, we have the following projects:
>   - pywikiparser
>   - threadedhttp
>   - pywikipedia

pywikiparser should certainly be split, but threadedhttp might warrant
some discussion:

> and I think we should also split off the third party libraries - and
> maybe remove them altogether. It might make sense to package them in
> the nightlies, though.

Basically, the question boils down to whether we want a 'pure'
repository (which is harder to install, especially on windows), or a
repository where third-party libraries (which sort-of includes
threadedhttp - it doesn't need pywikipedia to function) are included.

I'm inclined to say we should have an easy-to install bundle for
windows users and developers (e.g. using PyInstaller), and have
something virtualenv- and pip-based (or just installed packages) for
linux users, but Yuri is a proponent of bundling everything in the
repository.

>   - split off family files
>   - split off userinterfaces (?)

Yuri thinks, and I am inclined to agree, that we should not split
these - they really are part of the core framework, and cannot easily
be used outside of it.

One last thing we could not really agree on is how big the 'user, not
developer'-market is: how many people are using the bots, but are not
programmers (and thus do not write/improve the bots)?

Merlijn

___
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l