Hi, I am Chinmay, a GSOC intern at Crowdbio ( http://www.google-melange.com/gsoc/project/google/gsoc2013/chinmay26/24001). Our goal is to create a bot to capture gene info in PBB templates ( http://en.wikipedia.org/wiki/Category:Human_protein_templates) onto wikidata. We will be using Pywikipedia-bot framework. I am confused whether to go with Trunk or Rewrite branch. I am familiar with the Trunk and have queried wikidata items using it. On the other hand, there seems to be less documentation for Rewrite branch. I have installed the Rewrite as package from latest nightly release but not too familiar with it.
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
I am also concerned about the pace of development of the Rewrite branch.
From another thread, I have noticed about changes to editEntity() to create
items etc... Should i use the Trunk or Rewrite branch ??
Regards, Chinmay
I think trunk is perfect as far as it satisfies your needs. There is no force to use rewrite. We have no statistics on users but I think for some reason that trunk is more widely used.
Cheers, a happy trunk user
2013/6/22 Bináris wikiposta@gmail.com:
We have no statistics on users but I think for some reason that trunk is more widely used.
The reason is python2, at least for me :)
On 21 June 2013 22:43, Chinmay Naik chin.naik26@gmail.com wrote:
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
It's mostly the backend code that is much cleaner in rewrite. As such, it is much easier to add/extend functionality, which can be useful with the changes that happen to wikidata - after all, the entire infrastructure is still somewhat under development.
Although trunk development will not stop soon, I would suggest to start new wikidata bots using rewrite, for the reasons above.
I am also concerned about the pace of development of the Rewrite branch.
From another thread, I have noticed about changes to editEntity() to create items etc...
This is a change to the *wikidata api*. As an end-user of pywikipedia - trunk or rewrite - you should not notice these changes. As such, I am not sure why you connect this to 'the pace of development of the Rewrite branch'.
On 22 June 2013 21:37, Strainu strainu10@gmail.com wrote:
2013/6/22 Bináris wikiposta@gmail.com:
We have no statistics on users but I think for some reason that trunk is more widely used.
The reason is python2, at least for me :)
Could you elaborate on that? Unless you are running an ancient version of python2 (<= 2.5), there should not be any problems running rewrite.
Merlijn
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
+1
Since xqt! is putting A LOT OF EFFORT into the project to finally merge trunk with rewrite (at least the bot scripts), you should USE REWRITE.
The only reasons not to do so are: - - you started using trunk already some while ago - - you need a function implemented in trunk already and have no time to port it to rewrite by yourself (and nobody else is willing to do so)
Greetings and have fun with rewrite! DrTrigon
On 22.06.2013 22:21, Merlijn van Deen wrote:
On 21 June 2013 22:43, Chinmay Naik <chin.naik26@gmail.com mailto:chin.naik26@gmail.com> wrote:
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
It's mostly the backend code that is much cleaner in rewrite. As such, it is much easier to add/extend functionality, which can be useful with the changes that happen to wikidata - after all, the entire infrastructure is still somewhat under development.
Although trunk development will not stop soon, I would suggest to start new wikidata bots using rewrite, for the reasons above.
I am also concerned about the pace of development of the Rewrite branch. From another thread, I have noticed about changes to editEntity() to create items etc...
This is a change to the *wikidata api*. As an end-user of pywikipedia - trunk or rewrite - you should not notice these changes. As such, I am not sure why you connect this to 'the pace of development of the Rewrite branch'.
On 22 June 2013 21:37, Strainu <strainu10@gmail.com mailto:strainu10@gmail.com> wrote:
2013/6/22 Bináris <wikiposta@gmail.com mailto:wikiposta@gmail.com>:
We have no statistics on users but I think for some reason that trunk is more widely used.
The reason is python2, at least for me :)
Could you elaborate on that? Unless you are running an ancient version of python2 (<= 2.5), there should not be any problems running rewrite.
Merlijn
_______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Even I myself am starting to familiari[sz]e myself with rewrite (I've been using trunk all along).
Hazard-SJ
________________________________ From: Dr. Trigon dr.trigon@surfeu.ch To: pywikipedia-l@lists.wikimedia.org Sent: Thursday, July 4, 2013 8:59 AM Subject: Re: [Pywikipedia-l] Trunk or Rewrite
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
+1
Since xqt! is putting A LOT OF EFFORT into the project to finally merge trunk with rewrite (at least the bot scripts), you should USE REWRITE.
The only reasons not to do so are: - - you started using trunk already some while ago - - you need a function implemented in trunk already and have no time to port it to rewrite by yourself (and nobody else is willing to do so)
Greetings and have fun with rewrite! DrTrigon
On 22.06.2013 22:21, Merlijn van Deen wrote:
On 21 June 2013 22:43, Chinmay Naik <chin.naik26@gmail.com mailto:chin.naik26@gmail.com> wrote:
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
It's mostly the backend code that is much cleaner in rewrite. As such, it is much easier to add/extend functionality, which can be useful with the changes that happen to wikidata - after all, the entire infrastructure is still somewhat under development.
Although trunk development will not stop soon, I would suggest to start new wikidata bots using rewrite, for the reasons above.
I am also concerned about the pace of development of the Rewrite branch. From another thread, I have noticed about changes to editEntity() to create items etc...
This is a change to the *wikidata api*. As an end-user of pywikipedia - trunk or rewrite - you should not notice these changes. As such, I am not sure why you connect this to 'the pace of development of the Rewrite branch'.
On 22 June 2013 21:37, Strainu <strainu10@gmail.com mailto:strainu10@gmail.com> wrote:
2013/6/22 Bináris <wikiposta@gmail.com mailto:wikiposta@gmail.com>:
We have no statistics on users but I think for some reason that trunk is more widely used.
The reason is python2, at least for me :)
Could you elaborate on that? Unless you are running an ancient version of python2 (<= 2.5), there should not be any problems running rewrite.
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
For me ist the biggest problem with rewrite (besides the encoding problem), that scripts are in one subdirectory, but calls libraries from another and this not work. I must copy script to root directory of rewrite and then I can work with tthem, but after update I must copy them again. So I use only calimit and harvest_template, the rest from trunk.
Rewrite works in different way - user-config.py is stored somewhere on Document_and:Setings\username... which is not friendly - but only on win7, on winXP I have this file in root of rewrite :-O
JAnD
2013/7/5 Hazard-SJ hazard_sj@yahoo.com:
Even I myself am starting to familiari[sz]e myself with rewrite (I've been using trunk all along).
Hazard-SJ
From: Dr. Trigon dr.trigon@surfeu.ch To: pywikipedia-l@lists.wikimedia.org Sent: Thursday, July 4, 2013 8:59 AM Subject: Re: [Pywikipedia-l] Trunk or Rewrite
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
+1
Since xqt! is putting A LOT OF EFFORT into the project to finally merge trunk with rewrite (at least the bot scripts), you should USE REWRITE.
The only reasons not to do so are:
- you started using trunk already some while ago
- you need a function implemented in trunk already and have no time to
port it to rewrite by yourself (and nobody else is willing to do so)
Greetings and have fun with rewrite! DrTrigon
On 22.06.2013 22:21, Merlijn van Deen wrote:
On 21 June 2013 22:43, Chinmay Naik <chin.naik26@gmail.com mailto:chin.naik26@gmail.com> wrote:
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
It's mostly the backend code that is much cleaner in rewrite. As such, it is much easier to add/extend functionality, which can be useful with the changes that happen to wikidata - after all, the entire infrastructure is still somewhat under development.
Although trunk development will not stop soon, I would suggest to start new wikidata bots using rewrite, for the reasons above.
I am also concerned about the pace of development of the Rewrite branch. From another thread, I have noticed about changes to editEntity() to create items etc...
This is a change to the *wikidata api*. As an end-user of pywikipedia - trunk or rewrite - you should not notice these changes. As such, I am not sure why you connect this to 'the pace of development of the Rewrite branch'.
On 22 June 2013 21:37, Strainu <strainu10@gmail.com mailto:strainu10@gmail.com> wrote:
2013/6/22 Bináris <wikiposta@gmail.com mailto:wikiposta@gmail.com>:
We have no statistics on users but I think for some reason that trunk is more widely used.
The reason is python2, at least for me :)
Could you elaborate on that? Unless you are running an ancient version of python2 (<= 2.5), there should not be any problems running rewrite.
Merlijn
_______________________________________________ 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/
iEYEARECAAYFAlHVf7oACgkQAXWvBxzBrDBdxACfbZCRIu9UWMKGhAoOjeIYJYkv DqsAn1V/Hh73X92+sAZnt4n1dIAlxvuN =NRbO -----END PGP SIGNATURE-----
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
Hi Jan,
If you run pwb.py <scriptname>
instead of cd scripts python <scriptname>
the scripts should work without problems, using a user-config.py that is in the same directory.
I'm not sure what you mean with 'the encoding problem'.
Best, Merlijn
On 5 July 2013 08:34, Jan Dudík jan.dudik@gmail.com wrote:
For me ist the biggest problem with rewrite (besides the encoding problem), that scripts are in one subdirectory, but calls libraries from another and this not work. I must copy script to root directory of rewrite and then I can work with tthem, but after update I must copy them again. So I use only calimit and harvest_template, the rest from trunk.
Rewrite works in different way - user-config.py is stored somewhere on Document_and:Setings\username... which is not friendly - but only on win7, on winXP I have this file in root of rewrite :-O
JAnD
2013/7/5 Hazard-SJ hazard_sj@yahoo.com:
Even I myself am starting to familiari[sz]e myself with rewrite (I've
been
using trunk all along).
Hazard-SJ
From: Dr. Trigon dr.trigon@surfeu.ch To: pywikipedia-l@lists.wikimedia.org Sent: Thursday, July 4, 2013 8:59 AM Subject: Re: [Pywikipedia-l] Trunk or Rewrite
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
+1
Since xqt! is putting A LOT OF EFFORT into the project to finally merge trunk with rewrite (at least the bot scripts), you should USE REWRITE.
The only reasons not to do so are:
- you started using trunk already some while ago
- you need a function implemented in trunk already and have no time to
port it to rewrite by yourself (and nobody else is willing to do so)
Greetings and have fun with rewrite! DrTrigon
On 22.06.2013 22:21, Merlijn van Deen wrote:
On 21 June 2013 22:43, Chinmay Naik <chin.naik26@gmail.com mailto:chin.naik26@gmail.com> wrote:
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
It's mostly the backend code that is much cleaner in rewrite. As such, it is much easier to add/extend functionality, which can be useful with the changes that happen to wikidata - after all, the entire infrastructure is still somewhat under development.
Although trunk development will not stop soon, I would suggest to start new wikidata bots using rewrite, for the reasons above.
I am also concerned about the pace of development of the Rewrite branch. From another thread, I have noticed about changes to editEntity() to create items etc...
This is a change to the *wikidata api*. As an end-user of pywikipedia - trunk or rewrite - you should not notice these changes. As such, I am not sure why you connect this to 'the pace of development of the Rewrite branch'.
On 22 June 2013 21:37, Strainu <strainu10@gmail.com mailto:strainu10@gmail.com> wrote:
2013/6/22 Bináris <wikiposta@gmail.com mailto:wikiposta@gmail.com>:
We have no statistics on users but I think for some reason that trunk is more widely used.
The reason is python2, at least for me :)
Could you elaborate on that? Unless you are running an ancient version of python2 (<= 2.5), there should not be any problems running rewrite.
Merlijn
_______________________________________________ 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/
iEYEARECAAYFAlHVf7oACgkQAXWvBxzBrDBdxACfbZCRIu9UWMKGhAoOjeIYJYkv DqsAn1V/Hh73X92+sAZnt4n1dIAlxvuN =NRbO -----END PGP SIGNATURE-----
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
I think we need a very detailed documentation for rewrite
Can you write it, Merlijn? I will help you as much as I can
Best
On 7/5/13, Merlijn van Deen valhallasw@arctus.nl wrote:
Hi Jan,
If you run pwb.py <scriptname>
instead of cd scripts python <scriptname>
the scripts should work without problems, using a user-config.py that is in the same directory.
I'm not sure what you mean with 'the encoding problem'.
Best, Merlijn
On 5 July 2013 08:34, Jan Dudík jan.dudik@gmail.com wrote:
For me ist the biggest problem with rewrite (besides the encoding problem), that scripts are in one subdirectory, but calls libraries from another and this not work. I must copy script to root directory of rewrite and then I can work with tthem, but after update I must copy them again. So I use only calimit and harvest_template, the rest from trunk.
Rewrite works in different way - user-config.py is stored somewhere on Document_and:Setings\username... which is not friendly - but only on win7, on winXP I have this file in root of rewrite :-O
JAnD
2013/7/5 Hazard-SJ hazard_sj@yahoo.com:
Even I myself am starting to familiari[sz]e myself with rewrite (I've
been
using trunk all along).
Hazard-SJ
From: Dr. Trigon dr.trigon@surfeu.ch To: pywikipedia-l@lists.wikimedia.org Sent: Thursday, July 4, 2013 8:59 AM Subject: Re: [Pywikipedia-l] Trunk or Rewrite
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
+1
Since xqt! is putting A LOT OF EFFORT into the project to finally merge trunk with rewrite (at least the bot scripts), you should USE REWRITE.
The only reasons not to do so are:
- you started using trunk already some while ago
- you need a function implemented in trunk already and have no time
to port it to rewrite by yourself (and nobody else is willing to do so)
Greetings and have fun with rewrite! DrTrigon
On 22.06.2013 22:21, Merlijn van Deen wrote:
On 21 June 2013 22:43, Chinmay Naik <chin.naik26@gmail.com mailto:chin.naik26@gmail.com> wrote:
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
It's mostly the backend code that is much cleaner in rewrite. As such, it is much easier to add/extend functionality, which can be useful with the changes that happen to wikidata - after all, the entire infrastructure is still somewhat under development.
Although trunk development will not stop soon, I would suggest to start new wikidata bots using rewrite, for the reasons above.
I am also concerned about the pace of development of the Rewrite branch. From another thread, I have noticed about changes to editEntity() to create items etc...
This is a change to the *wikidata api*. As an end-user of pywikipedia - trunk or rewrite - you should not notice these changes. As such, I am not sure why you connect this to 'the pace of development of the Rewrite branch'.
On 22 June 2013 21:37, Strainu <strainu10@gmail.com mailto:strainu10@gmail.com> wrote:
2013/6/22 Bináris <wikiposta@gmail.com mailto:wikiposta@gmail.com>:
We have no statistics on users but I think for some reason that trunk is more widely used.
The reason is python2, at least for me :)
Could you elaborate on that? Unless you are running an ancient version of python2 (<= 2.5), there should not be any problems running rewrite.
Merlijn
_______________________________________________ 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/
iEYEARECAAYFAlHVf7oACgkQAXWvBxzBrDBdxACfbZCRIu9UWMKGhAoOjeIYJYkv DqsAn1V/Hh73X92+sAZnt4n1dIAlxvuN =NRbO -----END PGP SIGNATURE-----
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
+1 (also regarding help)
We need also on for trunk, at least for the functions not yet available in rewrite.
Doxygen is your friend! I created a config for trunk already and that could be adopted and used for rewrite also.
Greetings DrTrigon
On 06.07.2013 05:07, Amir Ladsgroup wrote:
I think we need a very detailed documentation for rewrite
Can you write it, Merlijn? I will help you as much as I can
Best
On 7/5/13, Merlijn van Deen valhallasw@arctus.nl wrote:
Hi Jan,
If you run pwb.py <scriptname>
instead of cd scripts python <scriptname>
the scripts should work without problems, using a user-config.py that is in the same directory.
I'm not sure what you mean with 'the encoding problem'.
Best, Merlijn
On 5 July 2013 08:34, Jan Dudík jan.dudik@gmail.com wrote:
For me ist the biggest problem with rewrite (besides the encoding problem), that scripts are in one subdirectory, but calls libraries from another and this not work. I must copy script to root directory of rewrite and then I can work with tthem, but after update I must copy them again. So I use only calimit and harvest_template, the rest from trunk.
Rewrite works in different way - user-config.py is stored somewhere on Document_and:Setings\username... which is not friendly - but only on win7, on winXP I have this file in root of rewrite :-O
JAnD
2013/7/5 Hazard-SJ hazard_sj@yahoo.com:
Even I myself am starting to familiari[sz]e myself with rewrite (I've
been
using trunk all along).
Hazard-SJ
________________________________ From: Dr. Trigon dr.trigon@surfeu.ch To: pywikipedia-l@lists.wikimedia.org Sent: Thursday, July 4, 2013 8:59 AM Subject: Re: [Pywikipedia-l] Trunk or Rewrite
+1
Since xqt! is putting A LOT OF EFFORT into the project to finally merge trunk with rewrite (at least the bot scripts), you should USE REWRITE.
The only reasons not to do so are: - you started using trunk already some while ago - you need a function implemented in trunk already and have no time to port it to rewrite by yourself (and nobody else is willing to do so)
Greetings and have fun with rewrite! DrTrigon
On 22.06.2013 22:21, Merlijn van Deen wrote:
On 21 June 2013 22:43, Chinmay Naik <chin.naik26@gmail.com mailto:chin.naik26@gmail.com> wrote:
For our bot, we will be having normal functions like creating/updating items, claims, sources etc.(the Trunk seems sufficient for these functions). I have started coding with the Trunk but now i am a bit concerned about the lifetime about Trunk branch. Any chances it may be get outdated and then i would have to port to Release??
It's mostly the backend code that is much cleaner in rewrite. As such, it is much easier to add/extend functionality, which can be useful with the changes that happen to wikidata - after all, the entire infrastructure is still somewhat under development.
Although trunk development will not stop soon, I would suggest to start new wikidata bots using rewrite, for the reasons above.
I am also concerned about the pace of development of the Rewrite branch. From another thread, I have noticed about changes to editEntity() to create items etc...
This is a change to the *wikidata api*. As an end-user of pywikipedia - trunk or rewrite - you should not notice these changes. As such, I am not sure why you connect this to 'the pace of development of the Rewrite branch'.
On 22 June 2013 21:37, Strainu <strainu10@gmail.com mailto:strainu10@gmail.com> wrote:
2013/6/22 Bináris <wikiposta@gmail.com mailto:wikiposta@gmail.com>: > We have no statistics on users but I think for some > reason that trunk is more widely used.
The reason is python2, at least for me :)
Could you elaborate on that? Unless you are running an ancient version of python2 (<= 2.5), there should not be any problems running rewrite.
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
_______________________________________________ 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