abhilekhsingh / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

All GC3Utils are now session-based. Merge them all into `gsession` ? #466

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1) What part of the model would need changes:

The GC3Utils commands, i.e., the contents of `gc3utils/commands.py`
and perhaps the `GC3UtilsScript` class in `gc3libs/cmdline.py`.

2) What is the reason why the changes is proposed:

All GC3Utils commands now implement a `-s`/`--session` option, which
has in practice become mandatory since everyone is only running GC3Pie
with session-based scripts.  "Bare" submissions are a thing of the
past.

3) What is the proposal:

Since the session name has become a mandatory part of the command
line, we could rewrite (almost) all GC3Utils to be subcommands of the
`gsession` command.  For example, `gkill -s session -A` would become
`gsession session kill -A`.

This would allow us to deprecate many GC3Utils commands and reduce the
namespace pollution and avoid clashes (we've already had to rename
`gresources` to `gservers`).

Original issue reported on code.google.com by riccardo.murri@gmail.com on 29 Oct 2014 at 9:38