Opened 12 years ago
Closed 9 years ago
#165 closed task (wontfix)
Specify rasimport connection on the command-line
Reported by: | Piero Campalani | Owned by: | abeccati |
---|---|---|---|
Priority: | minor | Milestone: | 9.0.x |
Component: | rasgeo | Version: | 8.3 |
Keywords: | Cc: | Peter Baumann, herziga@… | |
Complexity: | Very Hard |
Description
Currently rasimport
creates and refers to a file called connectfile for configuration.
This file — see <rasdaman_install>/applications/rasgeo/README
— is created with make connectfile
and is saved into $HOME/.rasdaman/
by default.
Configuration files of rasdaman and all its applications should be harmonized into the etc
folder.
Change History (6)
comment:1 by , 12 years ago
Cc: | added |
---|---|
Version: | → 8.3 |
comment:2 by , 12 years ago
Summary: | rasimport configuration to be moved in rasdaman `etc' folder → Specify rasimport connection on the command-line |
---|
To not get it lost:
In my opinion it would be best to get it in sync with rasql, i.e. make it possible to specify the connection details on the command line.
If nothing is specified, then it could still look in the .rasdaman/rasconnect, if it exists. We could get rasql to work this way too, to make them consistent.
Postgres psql for example works like this, you can specify credentials in ~/.pgpass, or in some environment variables PGDATABASE, PGHOST, PGPORT and/or PGUSER, as the defaults.
follow-up: 4 comment:3 by , 12 years ago
Cc: | added |
---|
comment:4 by , 12 years ago
rasimport provides the —conn parameter for passing a file with connection details as in rasconnect.
comment:5 by , 12 years ago
Milestone: | → 9.0 |
---|---|
Owner: | set to |
Status: | new → assigned |
to be chacked: are user, password etc. also handled this way? see rasql utility for comparison.
comment:6 by , 9 years ago
Complexity: | → Very Hard |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
We have discussed this previously, and decided it's better if it goes in .rasdaman.
It's a client application, and it doesn't make sense it's configuration to go to the server directories.
So it's configuration should be either local to the user, or as is the case with
rasql
it should be specified with command-line options every time.