Page MenuHomePhabricator

DRTRIGON-86 Test the re-write branch an decide what parts to migrate
Closed, ResolvedPublic

Description

This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-86.
Summary: Test the re-write branch an decide what parts to migrate
Issue type: Task - A task that needs to be done.
Priority: Critical
Status: In Progress
Assignee: drtrigon <dr.trigon@surfeu.ch>


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 20 Feb 2011 00:09:08

...or (may be) to migrate no parts at all. But test the re-write and look what it is able to do. May be some parts could be done better, easier, faster with the re-write branch.

Look at (Pywikipedia-l) Running the rewrite branch as developer/power-user and (Pywikipedia-l) Running the rewrite branch as developer/power-user (windows).


Version: unspecified
Severity: critical

Details

Reference
bz59528

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:37 AM
bzimport set Reference to bz59528.

From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 12 Sep 2011 22:15:36

Another important strategic decision to take (however may be not in the same context) is to drop the files from framework out of the repository and replace by svn:externals from correct revision, look at e.g. [1] and use

svn propedit svn:externals .

in the editor enter

pywikipedia -r8990 http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia

to get e.g. revision 8990 from framework repository. Before doing this those files have to be removed from repo. A thing to check is what happens with additional files in directories got by externals...

[1] http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html


From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 09 Jul 2012 12:57:28

  • subster.py with subster_irc.py will be added to trunk again (may be convert it to rewrite then - don't forget to add wikidata support)
  • script_wui.py is in a very early stage and needs a framework with proper interfaces and will thus be converted to rewrite as next
  • catimages.py has to be cleaned up (DRTRIGON-128) and _might be easy to convert_ to rewrite _during this clean up_

After those steps I should have become familiar with rewrite and will thus be able to decide whether it is useful to convert the trunk bot scripts to rewrite also or will it be fine to keep them in trunk under occasional maintenance.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Fri, 12 Oct 2012 08:19:33

As python 2 finishes with 2.7 [1] do the migration to python 3 [2] in the same rewriting step.

[1] http://www.python.org/dev/peps/pep-0404/
[2] http://docs.python.org/library/2to3.html


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 02 Dec 2012 19:30:53

subster.py with subster_irc.py added to trunk in r10761 and r10762. Conversion to rewrite and if possible to python 3 can and has to start now!


From: drtrigon <dr.trigon@surfeu.ch>

Date: Wed, 12 Dec 2012 16:56:00

script_wui.py moved from trunk to rewrite in r427, r428 and r429. Activated in r430 and is also used as replacement for bot_control.py in order to run clean_sandbox.py.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Fri, 28 Dec 2012 15:23:15

rewrite further migrated to labs, see <del>DRTRIGON-129</del>.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Wed, 20 Feb 2013 19:39:16

  • catimages.py added to trunk in r11097 ...
  • script_wui.py added to rewrite in r11098 ...

...as they are. They both still have to be improved as mentioned before!


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 27 Apr 2013 21:00:34

Everything in rewrite was merged upstream, the external(s) libraries too.

Considering trunk everything EXCEPT the external(s) libraries is upstream. This includes unittesting, docs and bot_control.py that was renamed to pwb.py.

Open things left are the migration from trunk to rewrite along with needed framework adoptions and following points:

  • subster.py: jira ticket for [[Vorlage:Subster]] MOVE (NOT redirect) Template here because of "Sichten" and change on all pages with script_wui.py/replace.py
  • substersim.py: test all examples!! (cross site scripting example val9)
  • panel.py: more rrdtool (if possible), may be use bokeh

From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 19 May 2013 09:55:26

In trunk everything is now upstream! (Except some minor testing/debuging code and changes as in any usual development process)

jayvdb claimed this task.
jayvdb subscribed.

Seems to have been completed.