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
{{ message }}
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,22 @@
3
3
This project uses `uv`, so set up the virtualenv by running
4
4
5
5
```
6
-
uv sync --dev --extra cli
6
+
uv sync --dev
7
7
```
8
8
9
9
Use `make test` to make sure all tests pass before pushing.
10
10
11
11
Use `make lint` to make sure lint check passes before pushing.
12
12
13
+
## Packaging layout
14
+
15
+
The main package, `defectdojo-api-generated`, is intentionally library-only.
16
+
It does not publish console scripts and should remain installable without CLI-only dependencies.
17
+
18
+
The `dojo` entrypoint lives in the thin wrapper package under `packages/cli/`.
19
+
That package depends on the main library plus the CLI stack and should stay small:
20
+
keep CLI packaging, entrypoints, and CLI-only dependency wiring there, while the actual CLI implementation can continue to live under `defectdojo_api_generated/cli/`.
21
+
13
22
## Guidelines
14
23
15
24
### Update openapi-generator version
@@ -28,5 +37,5 @@ Use `make lint` to make sure lint check passes before pushing.
28
37
29
38
### Update Dojo OpenAPI schema
30
39
31
-
*Run `support/openapi/fetch_openapi.py` to refresh local copy
32
-
*`make generate`
40
+
*`make schema` to refresh local copy and update API changelog
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,14 @@ Multiple changes done on top of default openapi-generator:
16
16
* Remove most of pydantic/schema validations due to inconsistencies with actual database schema/requirements (tracked in https://github.com/fopina/defectdojo-api-generated/issues/39)
17
17
**Iterator* methods for every *list* API method to handle pagination automatically
18
18
* A nice CLI exposing all the API methods <3
19
-
*installed only as an extra, to keep everything clean when package is used as library only
19
+
*published as `defectdojo-cli`, a separate package to keep library-only installs free of console-script conflicts
0 commit comments