You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration options for agents or services should be documented. Default values are at the moment both present in ConfigTemplate.cfg files, and in the source code of the agent or service.
Files can be treated individually to avoid overloading PRs too much.
At the same time information from docs/source/AdministratorGuide/Configuration/ConfReference/Systems/ should be removed. Information only present in the Administrator guide should be moved to the module docstring
These files selected by looking for files that do no include literalinclude, some of these might not be agents or services, but utility files, in which case they should be ignored.
Configuration options for agents or services should be documented. Default values are at the moment both present in ConfigTemplate.cfg files, and in the source code of the agent or service.
Completeness and consistency of options between sourcecode and ConfigTemplate for agents is checked with
ConfigurationSystem/test/Test_agentOptions.py(for services see Documentation: Add test for Service or Executor option #4079 )Options should be described in the docstring of the source code module, like it is done for the WorkflowTaskAgent for example:
DIRAC/TransformationSystem/Agent/WorkflowTaskAgent.py
Lines 5 to 9 in 1e234f7
DIRAC/TransformationSystem/ConfigTemplate.cfg
Lines 67 to 70 in 1e234f7
...
DIRAC/TransformationSystem/ConfigTemplate.cfg
Lines 126 to 127 in 1e234f7
Files can be treated individually to avoid overloading PRs too much.
At the same time information from
docs/source/AdministratorGuide/Configuration/ConfReference/Systems/should be removed. Information only present in the Administrator guide should be moved to the module docstringThese files selected by looking for files that do no include
literalinclude, some of these might not be agents or services, but utility files, in which case they should be ignored.Agents
Services