fixes for new autogenpb
This commit is contained in:
parent
52bbf4c827
commit
de71f2692a
11
gitTag.proto
11
gitTag.proto
|
@ -4,18 +4,17 @@ package gitpb;
|
||||||
|
|
||||||
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
||||||
|
|
||||||
// global settings for autogenpb `autogenpb:mutex`
|
|
||||||
|
|
||||||
message GitTag { // `autogenpb:marshal`
|
message GitTag { // `autogenpb:marshal`
|
||||||
string refname = 1; // `autogenpb:unique` // tag name. treated as unique
|
string refname = 1; // `autogenpb:unique` `autogenpb:sort` // tag name. treated as unique
|
||||||
google.protobuf.Timestamp creatordate = 2; // git creatordate
|
google.protobuf.Timestamp creatordate = 2; // git creatordate
|
||||||
google.protobuf.Timestamp authordate = 3; // git author date
|
google.protobuf.Timestamp authordate = 3; // git author date
|
||||||
string hash = 4; // `autogenpb:unique` // git hash
|
string hash = 4; // `autogenpb:unique` // git hash
|
||||||
string subject = 5; // git tag subject
|
string subject = 5; // git tag subject
|
||||||
}
|
}
|
||||||
|
|
||||||
message GitTags { // `autogenpb:marshal`
|
message GitTags { // `autogenpb:marshal` `autogenpb:mutex`
|
||||||
string uuid = 1; // I guess why not just have this on each file
|
string uuid = 1; // `autogenpb:uuid`
|
||||||
string version = 2; // maybe can be used for protobuf schema change violations
|
string version = 2; // `autogenpb:version:v0.0.47`
|
||||||
repeated GitTag gitTags = 3;
|
repeated GitTag gitTags = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,15 +9,15 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time
|
||||||
// global settings for autogenpb `autogenpb:mutex`
|
// global settings for autogenpb `autogenpb:mutex`
|
||||||
|
|
||||||
message GoDep { // `autogenpb:marshal`
|
message GoDep { // `autogenpb:marshal`
|
||||||
string hash = 1; // `autogenpb:unique` // md5sum/hash value from the go.sum file
|
string hash = 1; // `autogenpb:unique` `autogenpb:sort` // md5sum/hash value from the go.sum file
|
||||||
google.protobuf.Timestamp ctime = 2; // get the go date from 'go list' ?
|
google.protobuf.Timestamp ctime = 2; // get the go date from 'go list' ?
|
||||||
string version = 3; // v1.2.2
|
string version = 3; // v1.2.2
|
||||||
string goPath = 4; // `autogenpb:unique` // "go.wit.com/lib/foo"
|
string goPath = 4; // `autogenpb:unique` `autogenpb:sort` // "go.wit.com/lib/foo"
|
||||||
string goVersion = 5; // version of golang the developer used to make this package version
|
string goVersion = 5; // version of golang the developer used to make this package version
|
||||||
}
|
}
|
||||||
|
|
||||||
message GoDeps { // `autogenpb:marshal`
|
message GoDeps { // `autogenpb:marshal`
|
||||||
string uuid = 1; // I guess why not just have this on each file
|
string uuid = 1; // `autogenpb:uuid:`
|
||||||
string version = 2; // maybe can be used for protobuf schema change violations
|
string version = 2; // `autogenpb:version`
|
||||||
repeated GoDep goDeps = 3;
|
repeated GoDep goDeps = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time
|
||||||
// global settings for autogenpb `autogenpb:mutex`
|
// global settings for autogenpb `autogenpb:mutex`
|
||||||
|
|
||||||
message Repo { // `autogenpb:marshal`
|
message Repo { // `autogenpb:marshal`
|
||||||
string fullPath = 1; // `autogenpb:unique` // the actual path to the .git directory: '/home/devel/golang.org/x/tools'
|
string fullPath = 1; // `autogenpb:unique` `autogenpb:sort` // the actual path to the .git directory: '/home/devel/golang.org/x/tools'
|
||||||
string masterBranchName = 3; // git 'main' or 'master' branch name
|
string masterBranchName = 3; // git 'main' or 'master' branch name
|
||||||
string develBranchName = 4; // whatever the git 'devel' branch name is
|
string develBranchName = 4; // whatever the git 'devel' branch name is
|
||||||
string userBranchName = 5; // whatever your username branch is
|
string userBranchName = 5; // whatever your username branch is
|
||||||
|
|
Loading…
Reference in New Issue