There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
Am I the only one who want to use SVN instead of git?
JAnD
On Thu, 2017-03-16 at 11:24 +0100, Jan Dudík wrote:
There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december
svn co https://github.com/wikimedia/pywikibot-core/branches/2.0 core
cd core/scripts svn co https://github.com/wikimedia/pywikibot-i18n/trun k i18n worked for me without problems. Got "Checked out revision 8227" and respectively "Checked out revision 489" here with Subversion 1.9.5.
https://github.com/wikimedia/pywikibot-core/tree/2.0 says "last commit on Dec 5, 2016". Is that what you refer to?
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
Where and why do you think so? Please elaborate on statements...
andre
2017-03-16 12:47 GMT+01:00 Andre Klapper aklapper@wikimedia.org:
On Thu, 2017-03-16 at 11:24 +0100, Jan Dudík wrote:
There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december
svn co https://github.com/wikimedia/pywikibot-core/branches/2.0 core
page does not exists: error 410
cd core/scripts svn co https://github.com/wikimedia/pywikibot-i18n/trun k i18n worked for me without problems. Got "Checked out revision 8227" and respectively "Checked out revision 489" here with Subversion 1.9.5.
https://github.com/wikimedia/pywikibot-core/tree/2.0 says "last commit on Dec 5, 2016". Is that what you refer to?
yes. there was no update in framework since december? or is it error of svn only?
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
https://github.com/wikimedia/pywikibot-core/branches/2.0 as mentioned above
Where and why do you think so? Please elaborate on statements...
andre
Andre Klapper | Wikimedia Bugwrangler http://blogs.gnome.org/aklapper/
JAnD
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
On Thu, 2017-03-16 at 13:58 +0100, Jan Dudík wrote:
2017-03-16 12:47 GMT+01:00 Andre Klapper aklapper@wikimedia.org:
On Thu, 2017-03-16 at 11:24 +0100, Jan Dudík wrote:
There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december
svn co https://github.com/wikimedia/pywikibot-core/branches/2.0 core
page does not exists: error 410
Is that line some output provided by something? If yes: What is that something, and what did you do beforehand to get that output? Please always include steps to reproduce problems...
yes. there was no update in framework since december? or is it error of svn only?
No updates as the page I linked to is not "svn only".
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
https://github.com/wikimedia/pywikibot-core/branches/2.0%C2%A0as mentioned above
I still do not see how that is incorrect...
Cheers, andre
2017-03-16 15:48 GMT+02:00 Andre Klapper aklapper@wikimedia.org:
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
https://github.com/wikimedia/pywikibot-core/branches/2.0 as mentioned above
I still do not see how that is incorrect...
It says "410 feature gone" in the browser. Perhaps it's simply not meant to be accessed this way and they preferred 410 over, say 400?
Strainu
2017-03-16 15:09 GMT+01:00 Strainu strainu10@gmail.com:
2017-03-16 15:48 GMT+02:00 Andre Klapper aklapper@wikimedia.org:
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
https://github.com/wikimedia/pywikibot-core/branches/2.0 as mentioned above
I still do not see how that is incorrect...
It says "410 feature gone" in the browser. Perhaps it's simply not meant to be accessed this way and they preferred 410 over, say 400?
yes in browser.
in svn I got message [image: Vložený obrázek 1]
But the correct answer for my question is, taht there were no updates since december in SVN. I suppose, there were some in git? So, how can I update not using git and without overvriting my changes in some scripts?
JAnD
Strainu
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
2017-03-16 16:16 GMT+02:00 Jan Dudík jan.dudik@gmail.com:
2017-03-16 15:09 GMT+01:00 Strainu strainu10@gmail.com:
2017-03-16 15:48 GMT+02:00 Andre Klapper aklapper@wikimedia.org:
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
https://github.com/wikimedia/pywikibot-core/branches/2.0 as mentioned above
I still do not see how that is incorrect...
It says "410 feature gone" in the browser. Perhaps it's simply not meant to be accessed this way and they preferred 410 over, say 400?
yes in browser.
in svn I got message [image: Vložený obrázek 1]
SVN has always been a bit misterious to me, but the URL looks wrong: both trunk and 2.0 are branches, so you probably should just get rid of the trunk at the end of the URL.
But the correct answer for my question is, taht there were no updates since december in SVN. I suppose, there were some in git?
No, the two repositories MUST be in sync. The link I gave you shows the submits in git (github, as the name says, works with git. SVN is only a courtesy service, github convert all submits back in git AFAIK). If you don't believe me, check diffusion for the original (WMF) repository status: https://phabricator.wikimedia.org/diffusion/PWBC/browse/2.0/
I believe that all development now happens on master branch (trunk in SVN), but I can't find any email, perhaps a core developer should confirm that.
So, how can I update not using git and without overvriting my changes in some scripts?
Do you need a specific patch submitted in master since December? If not, why not work with that version? If you do need a specific commit, you might want to try and move to master branch, or just backport it yourself if you are familiar with the process.
Strainu
JAnD
Strainu
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
By following the official github "mantra" [1] I had no issues:
$ svn co https://github.com/wikimedia/pywikibot-core testpwb
Perhaps there is something wrong with your specific setup? As to commits, there has been no new commit in the 2.0 branch since December [2]
Strainu
[1] https://help.github.com/articles/support-for-subversion-clients/ [2] https://github.com/wikimedia/pywikibot-core/commits/2.0
I use tortoisesvn too for my bot. The main advantage its automatic merging into the local repository which is needed when some scripts have local changes. The checkout URL is https://github.com/wikimedia/pywikibot-core/trunk for the master branch (developing release 3.0) and https://github.com/wikimedia/pywikibot-core/branches/2.0 for the stable version 2.0.
Best
xqt
Jan Dudík jan.dudik@gmail.com hat am 16. März 2017 um 11:24 geschrieben:
There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path Am I the only one who want to use SVN instead of git? JAnD _______________________________________________ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
Ah yes, in addition to my last mail: the last update of the stable 2.0 branch was in december.
Indeed this branch is a lot behind the developer master branch. I've no glue what to do with that branch further. imho it is to time consuming to keep it up-to-date when merging patches step by step. The main difference is the urllib vs. request library needed for 2.0 vs. master branch.
Best
xqt
Jan Dudík jan.dudik@gmail.com hat am 16. März 2017 um 11:24 geschrieben:
There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path Am I the only one who want to use SVN instead of git? JAnD _______________________________________________ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
Don't know about SVN but for the 2.0/trunk story:
The 2.0 branch is in practice unmaintained and only the master branch can be relied on right now.
2.0 will amongst other things not work reliably with Wikidata/Wikibase (and will by default actively do bad/discouraged edits when it comes to WbQuantity).
No new release is in the pipeline but the discussions around this can be found in https://phabricator.wikimedia.org/T152907 and some of the tasks linked to from there.
Cheers, André/Lokal_Profil
On 16 Mar 2017 19:06, "Klaus Seiler" info@gno.de wrote:
Ah yes, in addition to my last mail: the last update of the stable 2.0 branch was in december.
Indeed this branch is a lot behind the developer master branch. I've no glue what to do with that branch further. imho it is to time consuming to keep it up-to-date when merging patches step by step. The main difference is the urllib vs. request library needed for 2.0 vs. master branch.
Best
xqt
Jan Dudík jan.dudik@gmail.com hat am 16. März 2017 um 11:24 geschrieben:
There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
Am I the only one who want to use SVN instead of git?
JAnD
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
So, is anywhere correct path for using actual version (3.0?) via svn? https://github.com/wikimedia/pywikibot-core https://github.com/wikimedia/pywikibot-core/trunk ? and what about updating page in manual?
JAnD
2017-03-19 23:10 GMT+01:00 André Costa lokal.profil@gmail.com:
Don't know about SVN but for the 2.0/trunk story:
The 2.0 branch is in practice unmaintained and only the master branch can be relied on right now.
2.0 will amongst other things not work reliably with Wikidata/Wikibase (and will by default actively do bad/discouraged edits when it comes to WbQuantity).
No new release is in the pipeline but the discussions around this can be found in https://phabricator.wikimedia.org/T152907 and some of the tasks linked to from there.
Cheers, André/Lokal_Profil
On 16 Mar 2017 19:06, "Klaus Seiler" info@gno.de wrote:
Ah yes, in addition to my last mail: the last update of the stable 2.0 branch was in december.
Indeed this branch is a lot behind the developer master branch. I've no glue what to do with that branch further. imho it is to time consuming to keep it up-to-date when merging patches step by step. The main difference is the urllib vs. request library needed for 2.0 vs. master branch.
Best
xqt
Jan Dudík jan.dudik@gmail.com hat am 16. März 2017 um 11:24 geschrieben:
There is probably some problem with SVN. I tried to update my bot using tortoisesvn, but last succesfull update was in december
Actually page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN contains incorrect path
Am I the only one who want to use SVN instead of git?
JAnD
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
On Tue, 2017-03-21 at 22:09 +0100, Jan Dudík wrote:
So, is anywhere correct path for using actual version (3.0?) via svn? https://github.com/wikimedia/pywikibot-core%C2%A0?
Have you tried using SVN trunk = git master?: svn co https://github.com/wikimedia/pywikibot-core/trunk core
and what about updating page in manual?
Feel free to. :)
andre
2017-03-22 11:15 GMT+01:00 Andre Klapper aklapper@wikimedia.org:
On Tue, 2017-03-21 at 22:09 +0100, Jan Dudík wrote:
So, is anywhere correct path for using actual version (3.0?) via svn? https://github.com/wikimedia/pywikibot-core ?
Have you tried using SVN trunk = git master?: svn co https://github.com/wikimedia/pywikibot-core/trunk core
tried, and the same error message that this is not root.
JAnD
and what about updating page in manual?
Feel free to. :)
andre
Andre Klapper | Wikimedia Bugwrangler http://blogs.gnome.org/aklapper/
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
Hi Jan,
On 22-03-17 15:33, Jan Dudík wrote:
Have you tried using SVN trunk = git master?: svn co https://github.com/wikimedia/pywikibot-core/trunk <https://github.com/wikimedia/pywikibot-core/trunk> core
tried, and the same error message that this is not root.
svn co https://github.com/wikimedia/pywikibot-core/trunk coresvn
..... Checked out revision 8234.
svn info
Path: . Working Copy Root Path: /home/mdammers/temp/coresvn URL: https://github.com/wikimedia/pywikibot-core/trunk Repository Root: https://github.com/wikimedia/pywikibot-core Repository UUID: 0f328886-bf45-b297-fba8-ce57b7db7bff Revision: 8234 Node Kind: directory Schedule: normal Last Changed Author: jenkins.bot Last Changed Rev: 8234 Last Changed Date: 2017-03-22 14:32:17 +0100 (Wed, 22 Mar 2017)
That seems to work?
Maarten
I use tortoiseSVN too. This is the way to get the master branch:
1. Right-Click inside your Folder which should contain the local repository
2. Choose SVN checkout
3. URL of repository is https://github.com/wikimedia/pywikibot-core/trunk
4. overwrite your checkout directory if needed
5. Keep other options unchanged, click [OK] to download the repository
6. Right-click onto the repository Folder, choose "Properties" (last item) from the context menu
7. Select "Subversion" tab and select "Properties" button.
8. Select "Import..." button and select ".svnprops" from your local repository and [Open] it.
9. Click [OK] for Import and Properties window
10. Right-click onto your repository folder and select "SVN Update"which Downloads i18n externals
Note: Using the master branch need request library to be installed as side package. I guess you'll get an instruction with the first time you try to use the bot.
Best
xqt
Jan Dudík jan.dudik@gmail.com hat am 22. März 2017 um 15:33 geschrieben:
2017-03-22 11:15 GMT+01:00 Andre Klapper <aklapper@wikimedia.org mailto:aklapper@wikimedia.org >: > > On Tue, 2017-03-21 at 22:09 +0100, Jan Dudík wrote:
> So, is anywhere correct path for using actual version (3.0?) via svn? > https://github.com/wikimedia/pywikibot-core https://github.com/wikimedia/pywikibot-core ? Have you tried using SVN trunk = git master?: svn co https://github.com/wikimedia/pywikibot-core/trunk https://github.com/wikimedia/pywikibot-core/trunk core > tried, and the same error message that this is not root.
JAnD > > > and what about updating page in manual?
Feel free to. :) andre -- Andre Klapper | Wikimedia Bugwrangler http://blogs.gnome.org/aklapper/ http://blogs.gnome.org/aklapper/ _______________________________________________ pywikibot mailing list pywikibot@lists.wikimedia.org mailto:pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot https://lists.wikimedia.org/mailman/listinfo/pywikibot >
_______________________________________________ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot