Page MenuHomePhabricator

incremental dumps: use getopt-style short/long options
Open, LowPublic

Description

We should use descriptive short and long options to the program, which are not dependent on position of the argument in the command line.


Version: unspecified
Severity: normal

Details

Reference
bz54634

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:16 AM
bzimport set Reference to bz54634.

Proposed format for the command line (from Ariel):

--update (or -u) --date 20131007 --configfile somethingorother (read location of php) --dump full-history or --dump full-current or --dump articles-current etc (taking multiple --dump args)... and let the uer specify --dumpfile and some formatstring that would be expanded

Also, location of php should be read from config file and MW should be called through MWScript.

Svick: This issue has been assigned to you a while ago.
Could you please provide a status update and inform us whether you are still working (or still plan to work) on this issue?
Only in case you do not plan to work on this issue anymore, should the assignee be set back to default?

Nemo_bis lowered the priority of this task from Medium to Low.Apr 9 2015, 7:20 AM
Nemo_bis set Security to None.

Moving this to Dumps-Rewrite project; if we keep this code or reuse parts of it, that will be not be in the context of the current dumps.

@Svick: I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!).
Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task.
Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome! Thanks for your understanding!