[v7r3] Support running dirac-configure without arguments#4997
Conversation
6cb1887 to
957d117
Compare
|
We are really towards making the releasing of v7r2, and while this is a nice addition it's also a not necessary as of now. I would target v7r3 if you don't mind. |
|
I'd be tempted to at least target c12c515 for v7r2 as it's a tiny change and fixes a problem that affects me almost every day. |
That requires a release of DIRACOS and DIRACOS2 |
It doesn't, We shouldn't rely on transitive dependencies for future releases in case it's ever removed but that's only a problem for future releases. |
A-ha, good to know. Then go ahead. |
|
what about the |
Do you mean when reading from |
|
I mean this |
|
There are several places like this around |
|
I do not think you can redirect password from stdin. I do not think it was ever possible, never used it this way. |
Yes it does, albeit with a warning: |
|
Some conflicts, please rebase. |
957d117 to
9469b25
Compare
|
@fstagni Done |
This PR uses
prompt-toolkit(a dependency of IPython) to improve the CLI interactions. As this inherently interactive I've included videos of how it looks. If this is accepted I'll addprompt-toolkitto DIRACOS (it's already there, but I'll make it an explicit dependency).803e53b: Gets rid of the globals used by
dirac-configure. I could easily rebase this commit out of this PR if desired.c12c515: Use
prompt-toolkitto read the certificate password instead of plaingetpass. This fixes the long standing bug that pressingControl + Cwhile typing your password breaks the prompt. (moved to [v7r2] Use prompt_toolkit for reading passwords #5004)dirac-proxy-init-example.mov
dirac-configureis ran without any arguments with a Python 3 installation it will suggest setups and CS URLs using theextension_metadata. Python 2 based installations are unaffected.dirac-configure-example.mov
BEGINRELEASENOTES
*Core
FIX: Handle SIGINT correctly when reading certificate passwords
NEW: dirac-configure can now be ran without arguments when using Python 3
ENDRELEASENOTES