summaryrefslogtreecommitdiffstats
path: root/data/files/allowed-ancient-files
diff options
context:
space:
mode:
Diffstat (limited to 'data/files/allowed-ancient-files')
-rw-r--r--data/files/allowed-ancient-files7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/files/allowed-ancient-files b/data/files/allowed-ancient-files
new file mode 100644
index 0000000..cbc4000
--- /dev/null
+++ b/data/files/allowed-ancient-files
@@ -0,0 +1,7 @@
+# Filename regexes to exclude from package-contains-ancient-file
+
+# Rust crates, upstream, have their Cargo.toml canonicalized on upload, and
+# that and other cargo-generated files have their timestamps set to 0 in the
+# resulting crate tarball.
+^usr/share/cargo/registry/.*/Cargo\.toml$
+^usr/share/cargo/registry/.*/\.cargo_vcs_info\.json$