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 Dimitar Misev, 12 years ago

Cc: Peter Baumann added
Version: 8.3

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.

comment:2 by Dimitar Misev, 12 years ago

Summary: rasimport configuration to be moved in rasdaman `etc' folderSpecify 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.

comment:3 by Dimitar Misev, 12 years ago

Cc: herziga@… added

in reply to:  3 comment:4 by herziga@…, 12 years ago

rasimport provides the —conn parameter for passing a file with connection details as in rasconnect.

comment:5 by Peter Baumann, 12 years ago

Milestone: 9.0
Owner: set to abeccati
Status: newassigned

to be chacked: are user, password etc. also handled this way? see rasql utility for comparison.

comment:6 by Dimitar Misev, 9 years ago

Complexity: Very Hard
Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.