44
55Cavil 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
882 . Job queue for processing background jobs
993 . 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
157158These 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 .
1601612 . ` unpack ` : Recursively unpacks all archives contained in package sources.
1611623 . ` index ` : Creates file lists and splits them up into batches for parallel processing.
1621634 . ` index_batch ` : Performs two phase pattern matching on all files in the batch with license and keyword patterns.
0 commit comments