2024-11-26 05:34:26 -06:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
// store go dependancies
|
|
|
|
|
|
|
|
package gitpb;
|
|
|
|
|
|
|
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
|
|
|
|
2024-12-01 22:23:38 -06:00
|
|
|
// global settings for autogenpb `autogenpb:mutex`
|
|
|
|
|
2024-12-01 10:46:32 -06:00
|
|
|
message GoDep { // `autogenpb:marshal`
|
2024-11-29 21:51:30 -06:00
|
|
|
string hash = 1; // `autogenpb:unique` // md5sum/hash value from the go.sum file
|
2024-11-26 05:34:26 -06:00
|
|
|
google.protobuf.Timestamp ctime = 2; // get the go date from 'go list' ?
|
|
|
|
string version = 3; // v1.2.2
|
2024-11-29 21:51:30 -06:00
|
|
|
string goPath = 4; // `autogenpb:unique` // "go.wit.com/lib/foo"
|
2024-11-26 05:34:26 -06:00
|
|
|
string goVersion = 5; // version of golang the developer used to make this package version
|
|
|
|
}
|
2024-11-29 18:15:25 -06:00
|
|
|
|
2024-12-01 10:46:32 -06:00
|
|
|
message GoDeps { // `autogenpb:marshal`
|
2024-11-29 18:15:25 -06:00
|
|
|
string uuid = 1; // I guess why not just have this on each file
|
|
|
|
string version = 2; // maybe can be used for protobuf schema change violations
|
|
|
|
repeated GoDep goDeps = 3;
|
|
|
|
}
|