google / google/copybara

Query migrations' source file sets

Open
#338 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.8k
Forks
345
PR merge metrics
No merged PRs in 30d

Description

Hi!

I would like to query copybara workflows to find which files they affect in the source repository.
My use case for this is that I want to write a CI job that informs change authors that their change affects exported files and that they should be aware to not put confidential information in them.

There is another angle I thought of (that has a much nicer profile in terms of "needing to search the entire repo for copybara workflows and query all of them"), which I think is not possible either:
Use an allow-list of files that may be exported, which all workflows must take a subset of. this seems impossible because of the lack of introspection features in copybara.

Is there some introspection functionality I've not seen? Has Google omitted their own solution to this problem from their copybara export from google3?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.