Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium Target-2.7 bwic
New issue 1044 by pekka.klarck: Rename `robot/runner.py` script to
`robot/run.py` and `robot.run_rebot` method to `robot.rebot`
http://code.google.com/p/robotframework/issues/detail?id=1044
As part of new start-up and installation system (issue 480) we decided to
rename `robot/runner.py` start-up script to `robot/run.py`. This name is
better especially when executing like `python -m robot.run` and it is also
consistent with `robot.run` method that can be used programmatically.
We also decided to rename `robot.run_rebot` method to `robot.rebot`. This
is better name in general and consistent with `robot/rebot.py` start-up
script.
Both of these changes are backwards incompatible in practice should not
cause too much problems to users. The `robot/runner.py` script is typically
not used directly but through `pybot` or `jybot` start-up script. In places
where it is used directly by some script, updating the script is easy. We
also don't expect `robot.run_rebot` method to have been used too often and
updating that usage is easy.
If the changes cause bigger problems than anticipated, we can still
consider deprecating the old entry points first and removing them in 2.8.