For Developmentยถ
If you want to try the latest version or contribute to RD-Agent. You can install it from the source and follow the commands in this page.
git clone https://github.com/microsoft/RD-Agent
๐งPrepare for developmentยถ
Set up the development environment.
make devRun linting and checking.
make lintSome linting issues can be fixed automatically. We have added a command in the Makefile for easy use.
make auto-lint
Code Structureยถ
๐ src
โฅ ๐ <project name>: avoid namespace conflict
โฅ ๐ core
โฅ ๐ components/A
โฅ ๐ components/B
โฅ ๐ components/C
โฅ ๐ scenarios/X
โฅ ๐ scenarios/Y
โฅ ๐ app
โฅ ๐ scripts
Folder Name |
Description |
|---|---|
๐ core |
The core framework of the system. All classes should be abstract and usually canโt be used directly. |
๐ component/A |
Useful components that can be used by others (e.g., scenarios). Many subclasses of core classes are located here. |
๐ scenarios/X |
Concrete features for specific scenarios (usually built based on components or core). These modules are often unreusable across scenarios. |
๐ app |
Applications for specific scenarios (usually built based on components or scenarios). Removing any of them does not affect the systemโs completeness or other scenarios. |
๐ scripts |
Quick and dirty things. These are candidates for core, components, scenarios, and apps. |
Conventionsยถ
File Naming Conventionยถ
Name |
Description |
|---|---|
conf.py |
The configuration for the module, app, and project. |