Skip to content

Commit 9b23546

Browse files
committed
Update architecture overview with new features
1 parent 7abe344 commit 9b23546

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/Architecture.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Cavil has three primary components:
66

7-
1. Web Application providing the UI and REST API
7+
1. Web Application providing the UI, MCP and REST API
88
2. Job queue for processing background jobs
99
3. AI text classification server
1010

@@ -23,9 +23,9 @@ Bots --> | | | | | |
2323
| | | |
2424
| | --> | |
2525
| | | |
26-
| | +----------------+
27-
OBS <------------------- | Job Queue |
28-
| | +----------------+
26+
OBS <------------------- | | +----------------+
27+
| Job Queue |
28+
Git <------------------- | | +----------------+
2929
| | | |
3030
| | --> | AI |
3131
| | | |
@@ -149,14 +149,15 @@ For all of these conditions a prior review by a human expert or lawyer needs to
149149

150150
## Report Creation
151151

152-
Report creation is triggered via REST [API](API.md), usually by an OBS bot like
153-
[legal-auto](https://github.com/openSUSE/openSUSE-release-tools/blob/master/legal-auto.py). This results in various
154-
background jobs being created that are then performed by the jobs queue. Jobs can often be processed in parallel to
155-
make the best use of all available resources.
152+
Report creation is triggered via REST [API](API.md), usually by bots like
153+
[legal-auto](https://github.com/openSUSE/openSUSE-release-tools/blob/master/legal-auto.py) and
154+
[cavil-gitea](https://github.com/openSUSE/cavil-gitea). This results in various background jobs being created that are
155+
then performed by the jobs queue. Jobs can often be processed in parallel to make the best use of all available
156+
resources.
156157

157158
These jobs are involved in report creation and usually run in the listed order:
158159

159-
1. `obs_import`: Checks out the package sources from OBS.
160+
1. `obs_import` or `git_import`: Checks out the package sources from OBS or git repo.
160161
2. `unpack`: Recursively unpacks all archives contained in package sources.
161162
3. `index`: Creates file lists and splits them up into batches for parallel processing.
162163
4. `index_batch`: Performs two phase pattern matching on all files in the batch with license and keyword patterns.

0 commit comments

Comments
 (0)