Publish reports #42
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
argus/backend!42
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/22-publish-report"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #22
Monitoring plan, phase 5.
Changes
Report.ReportType.PUBLISHandapps/reports/parsers/publish.py:{"publish": {version, kind, date, artifacts, links, dependencies}}. Summary: headlineversion,kind(release / devel, default release), artifacts (name, size or null, URL),total_size, links (label defaults to the URL),dependency_count;report_date= the given date. A missing version is a processing error.GET /api/projects/<o>/<r>/reports/<id>/dependencies/(read level), used by the version comparison (argus/frontend#28).report_type=publish(wrapped as{"publish": …}).prune_historynever deletes publish reports (the release history).new_reportrule filtered onpublish(test included); badge showsversion | 1.2.0.default_storage.save()'s return value — it can differ when the key is taken), and every JSON body gets its own timestamped directory (S3 overwrites existing keys: a devel snapshot then a release of the same commit would have sharedreport.json). Extracted to_store_upload().apps/reports/test_publish.py.Checks
pytest (240 passed), pylint 10/10, autopep8, bandit clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
📊 Rapports Argus pour cette PR