Commit 71ca283
authored
Add published_at field to Release message (#55)
Add an optional int64 published_at field to the Release message in
package.proto, carrying the Unix epoch seconds at which the release
was published to the repository.
The field is optional for backwards compatibility; absence means
"no information available". Clients can use it to compute release
age and apply policies such as a configurable release-age cooldown
during dependency resolution to mitigate supply-chain attacks.1 parent cbde5a5 commit 71ca283
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
0 commit comments