Details
Details
- Reviewers
olasd moranegg - Group Reviewers
Reviewers - Commits
- rDVAU5d84e2604552: Add batch functions and endpoints
rDVAU524c11e2916b: sql schema: add batches and various indexes
Diff Detail
Diff Detail
- Repository
- rDVAU Software Heritage Vault
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 1197 Build 1541: arc lint + arc unit
Event Timeline
Comment Actions
The response of batch_progress looks like this:
In [51]: c.batch_progress(4) Out[51]: {'bundles': [{'id': 3, 'obj_id': '7d4aecffc20478ea6807b9649b25b71e22ebbcb6', 'obj_type': 'revision_gitfast', 'progress_message': None, 'status': 'done'}, {'id': 4, 'obj_id': '355873d2daf160b736409a359da9e9ca4d714570', 'obj_type': 'revision_gitfast', 'progress_message': None, 'status': 'done'}, {'id': 5, 'obj_id': '612dd81b51a443a19e6a2c17f67ef46ea4c2c123', 'obj_type': 'revision_gitfast', 'progress_message': None, 'status': 'done'}], 'done': 3, 'failed': 0, 'new': 0, 'pending': 0, 'total': 3}
Comment Actions
I like the response, it is very clear and all the data needed is returned.
I see that batch_info is also getting the time-stamps and may provide information about the cooking execution time,
I don't know if we should add it to the response or use it only internally.
But I'm happy with either way :-)