[v7r1] docs: user manage, proxy manager (issue #4702)#4853
Conversation
|
That's a lot of docs, thanks! On my side, just fix and that's it. |
andresailer
left a comment
There was a problem hiding this comment.
Thanks for all this work!
As this PR is still WIP so the developer part of the proxy manager docs are still coming, I guess?
Maybe it could be merged already, and that part come in a second PR? |
|
BTW @chaen should comment here as he opened originally the issue that is addressed here. |
I'd better add this part later when OAuth 2 PR is adopted |
I am in the process, but it takes time ! :D |
chaen
left a comment
There was a problem hiding this comment.
Thanks for all this docs ! It already ticks quite a few boxes of #4702
Am I correct in understanding that all the IDProvider and ProxyProvider things will only be enabled in v7r2 ? If that is the case, then it is fine to leave them aside for the time being
| @@ -0,0 +1,101 @@ | |||
| .. _admin_usermanagement: | |||
There was a problem hiding this comment.
Can you factorize this doc with https://dirac.readthedocs.io/en/rel-v7r1/AdministratorGuide/HowTo/authentication.html ? There are quite a lot of duplicates. Maybe all the command examples should go in the how-to
And maybe adding a few words and links to the ProxyProvider ?
e62a291 to
9ee37fc
Compare
| SPHINXBUILD = sphinx-build | ||
| PAPER = | ||
| BUILDDIR = build | ||
| CFGPATH = ../dirac.cfg |
There was a problem hiding this comment.
Apologies, I proposed to put this in the Makefile, but I forgot that readthedocs doesn't use the makefile to build the documentation. It only uses the conf.py.
Line 49 in fc83573
Could you instead do the copy here for example?
DIRAC/docs/diracdoctools/cmd/concatcfg.py
Line 40 in fc83573
There was a problem hiding this comment.
This still needs to be moved from the makefile to the concatcfg command
Co-authored-by: fstagni <federico.stagni@cern.ch>
Co-authored-by: fstagni <federico.stagni@cern.ch>
Co-authored-by: fstagni <federico.stagni@cern.ch>
…index.rst Co-authored-by: fstagni <federico.stagni@cern.ch>
| storeHostInfo = Operator | ||
| } | ||
| } | ||
| ## ProxyManager: |
There was a problem hiding this comment.
You can surround the doc with
##BEGIN ProxyManager
...
##END
And use it in the ProxyManagerHandler.py (see examples e.g. in TransformationSystem). What you did works the same, but it's not the "standard" way we have done it in other DIRAC systems.
There was a problem hiding this comment.
I agree that we should follow the standard, but in my opinion this view is more readable. Given that the documentation uses not only "clippings" from the configuration but also the full text of the configuration, such a record makes it easier (many words BEGIN, END complicate reading).
So what do you think this makes sense?
In the ProxyManagerHandler.py is already used.
There was a problem hiding this comment.
For ConfigTemplate.cfg files please stick to ##BEGIN xxxxxx and ##END
There was a problem hiding this comment.
If my arguments are not convincing, then ok.. That is, to fix it in ConfigTemplate.cfg, or both in ConfigTemplate.cfg and in dirac.cfg? Because in the end everything is mixed into the overall configuration https://dirac.readthedocs.io/en/latest/AdministratorGuide/Configuration/ExampleConfig.html
| @@ -3,13 +3,23 @@ | |||
| # File : dirac-admin-proxy-upload.py | |||
There was a problem hiding this comment.
Do we want to keep this script? It seems redundant to me.
There was a problem hiding this comment.
IMHO this tool is sometimes useful.
|
Why this move |
|
an error occurs during assembly: this cmd module conflicts with the standard library module. As a result, pdb actually imports a different cmd module than it is trying to, one that does not have a Cmd class. |
|
Under what circumstances does this error occur ? There is no There are external users of this however, https://gitlab.cern.ch/lhcb-dirac/LHCbDIRAC/-/blob/master/docs/source/conf.py#L43 |
|
Unfortunately, I did not keep the full log as a result got something like this ParmEd/ParmEd#148 |
|
Are you sure you didn't accidentally put diracdoctools in your PYTHONPATH? Which would trigger this problem, otherwise there is no need to rename this folder |
|
so it could happen .. i will check again and put everything back if the reason was. |
[v7r2] fix ProxyManagerClient docs (from #4853)
* upstream/rel-v7r2: v7r2p19 fix highlight:: console fix (should be a list) update instructions for release if a user is in quarantinegroup, remove it from all others v7r2p18 Echo storage: throttle deletion GFAL2_StorageBase: make private methods protected CSA: use real setup to look in correct CS paths PR DIRACGrid#4853 DRA: fix divide by zero if we have just 1 job PY3: Fix call to JobMonitoringClient.getJobsStatus in WorkflowTasks
BEGINRELEASENOTES
This PR provide documentation about user management, ProxyManager, etc. This PR is trying to solve #4702 .
*Framework
CHANGE: docs
*Resources
CHANGE: docs
*docs
NEW: user management, ProxyManager
CHANGE: move Registry from ConfReference to dirac.cfg
CHANGE: move CommandReference content to scripts docs
ENDRELEASENOTES