sbp commented on issue #367: URL: https://github.com/apache/tooling-trusted-releases/issues/367#issuecomment-3842550014
This only applies when we receive an upload via our [TP upload action](https://github.com/apache/tooling-actions/tree/main/upload-to-atr), because otherwise the repository isn't available. The upload metadata already contains the commit, so then we can use the [GitHub Tree API](https://docs.github.com/en/rest/git/trees) in a task to fetch the list of files in the repository and store them in our `attestable` directory. We also need to queue a task that lists uploaded archives and stores that in the same directory. Whichever of the two tasks finishes last then needs to queue a comparison check to ensure that the local files are a subset of the remote files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
