Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameters are not coherent with the rest of the tools #6

Open
canasdiaz opened this issue Apr 10, 2014 · 2 comments
Open

parameters are not coherent with the rest of the tools #6

canasdiaz opened this issue Apr 10, 2014 · 2 comments

Comments

@canasdiaz
Copy link
Member

The parameters used by the tool are not coherent with the rest of the metric grimoire tools.

luis@tahine:~/repos/Sibyl$ python sibyl.py --help
Usage: sibyl.py [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -t TYPE, --type=TYPE  Type: askbot (ab)
  -l URL, --url=URL     URL to analyze
  -d DBNAME, --database=DBNAME
                        Database where information is stored
  -u DBUSER, --db-user=DBUSER
                        Database user
  -p DBPASSWORD, --db-password=DBPASSWORD
                        Database password
  -g, --debug           Debug mode
@dicortazar
Copy link
Member

So, let me know what are those standard command line options :).

CVSAnalY:
--db-driver Output database driver mysql|sqlite
-u, --db-user Database user name (operator)
-p, --db-password Database user password
-d, --db-database Database name (cvsanaly)

Bicho:
Output database specific options:
--db-driver-out {sqlite,mysql,postgresql}
Output database driver
--db-user-out DB_USER_OUT
Database user name
--db-password-out DB_PASSWORD_OUT
Database user password
-u URL, --url URL URL to get issues from using the backend
--db-database-out DB_DATABASE_OUT
Output database name

Mlstats:
--db-driver Database backend: mysql or postgres
(default is mysql)
--db-user Username to connect to the database
(default is operator)
--db-password Password to connect to the database
(default is operator)
--db-name Name of the database that contains data previously
analyzed (default is mlstats)

In MLStats and Bicho, no short options are available, in some cases it's --db-name in other case --db-database-out. In some cases -u is for the database user and in the case of Bicho for the URL.

Probably this is more an issue of get an homogeneous way to call things in Metrics Grimoire than specific one of Sibyl :). Any of the mentioned tools are using different ways to call the same parameter.

@dicortazar
Copy link
Member

Comments? Shall I close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants