andymeneely / chromium-history

Scripts and data related Chromium's history
11 stars 4 forks source link

Write a OWNERS collection script for release_filepath #193

Closed andymeneely closed 9 years ago

andymeneely commented 9 years ago

For a given release, we need to apply the rules of file ownership to a given file to determine its owners at the time of release. Assume that we have checked out the Chromium Git tree to a given release, and then need to iterate over each filepath to determine the owners. The release number will also be a given.

To get the release_filepaths, we use git ls-tree in this script. Let's also only look at source code files, which can be found in our ReleaseFilepath model here

Follow the rules of Chromium OWNERS found here to determine who owns which file.

If the file has * as the owner, then the owner should be marked ALL, and we'll handle it differently. Otherwise, we need email addresses

Here's an example:

release filepath owner_email
11.0 crypto/p224.h agl@chromium.org
11.0 crypto/p224.h rsleevi@chromium.org
andymeneely commented 9 years ago

Notes from our meeting: