Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions registry/package.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ message Release {
optional bytes outer_checksum = 5;
// Indexes into Package.advisories for advisories affecting this release
repeated uint32 advisory_indexes = 6;
// Release published timestamp. Optional for backwards compatibility —
// clients treat absence as "no information".
optional Timestamp published_at = 7;
}

message RetirementStatus {
Expand Down Expand Up @@ -78,3 +81,10 @@ message Dependency {
// If set, the repository where the dependency is located
optional string repository = 5;
}

// Based on google.protobuf.Timestamp
// https://github.com/protocolbuffers/protobuf/blob/v3.15.8/src/google/protobuf/timestamp.proto#L136:L147
message Timestamp {
required int64 seconds = 1;
required int32 nanos = 2;
}