Closed Kalmalyzer closed 4 years ago
The core idea of having the Git repo contain an Apt repository as-is is incompatible with PRs. Either a worker job will need to refresh PRs to automatically handle conflicts -- or change the repository format into something that is not a real Apt repository, with an automatic export step that updates the Apt repository section.
Either way, it misses part of the point of managing the Apt repo in Git.
Can we convert the Apt publishing process from a repository dispatch event, into a pull request + workflows that react on PRs? This would provide better visibility into what is happening in the Apt repo. It provides debuggability. It provides a simple mechanism for manually triggering a publish.
The big problem will probably be index files (Release.gz type files) and merge conflicts related to these.