Open samary opened 8 years ago
We used to have the following /etc/profile.d/aqd.sh
to setup he aquilon tabcompleiton and some other stuff.
the relevant section starts after the Keep these last
part
requires psql working, so use eg krb based read access or somethign even more primitive.
some of the qureis might be sped up by views.
aqd.sh.txt
Discussed at March 2017 workshop, @gombasg pointed out that the code could do with serious modernisation anywa,y, so contributions would be welcome.
When using autocompletion of some values (eg. aq add_cluster --cluster [TAB]): it complains about not finding sqlite3 :
-bash: /ms/dist/fsf/PROJ/sqlite/3.8.2-1/bin/sqlite3: No such file or directory
It is hardcoded in the autocompletion template (https://github.com/quattor/aquilon/blob/upstream/etc/templates/bash.tmpl#L22). We should disable this completion if the DB is not found.