as a Pulp File user, I can have my repository auto published and distributed
As a CLI user or a Web UI user, I would like to be able to sync/publish/distribute a repository with a single operation.
In order to support such a feature, the user needs to be able to associate a File Distribution with a File Repository. This would be a new attribute of a File Repository.
The repository sync API needs to accept an additional parameter called 'auto_distribute'. When such a parameter is supplied, the sync task needs to create a new repository version, a new publication, and update the File DIstribution with the latest repository version.
#2 Updated by bmbouter about 1 month ago
One question I have is about whether the sync and publish will occur as one task or two. From a user, usability perspective having a single task to monitor I think would be easier. Functionally speaking both tasks require a lock on the repository right? If so, then having them run as one task is equally efficient to having them run as two.
Please register to edit this issue