summaryrefslogtreecommitdiff
path: root/repo.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 21:51:30 -0600
committerJeff Carr <[email protected]>2024-11-29 21:51:30 -0600
commit3d260a0219841f4835d6a0d0e370bde483f35d08 (patch)
treeb6e3b09004109581d618613d9c72d2049656074b /repo.proto
parent4a79cccffd6cd20e42271eada567c4b8c0edc2f4 (diff)
updates for autogenpb
Diffstat (limited to 'repo.proto')
-rw-r--r--repo.proto23
1 files changed, 11 insertions, 12 deletions
diff --git a/repo.proto b/repo.proto
index f4ca350..1d59e4f 100644
--- a/repo.proto
+++ b/repo.proto
@@ -5,28 +5,27 @@ package gitpb;
// stores information about git repos
// If the project is in golang, also gets the go language dependacies
-import "goDep.proto";
import "gitTag.proto";
+import "goDep.proto";
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
-message Repo {
- string fullPath = 1; // the actual path to the .git directory: '/home/devel/golang.org/x/tools'
+message Repo { // `autogenpb:marshal`
+ string fullPath = 1; // the actual path to the .git directory: '/home/devel/golang.org/x/tools'
google.protobuf.Timestamp lastPull = 2; // last time a git pull was done
-
- string masterBranchName = 3; // git 'main' or 'master' branch name
- string develBranchName = 4; // whatever the git 'devel' branch name is
- string userBranchName = 5; // whatever your username branch is
+ string masterBranchName = 3; // git 'main' or 'master' branch name
+ string develBranchName = 4; // whatever the git 'devel' branch name is
+ string userBranchName = 5; // whatever your username branch is
+ GitTags tags = 6;
// things specific to golang projects
- string goPath = 6; // the logical path as used by golang: 'go.wit.com/apps/helloworld'
- bool goLibrary = 7; // if this is a golang library
- bool goPrimitive = 8; // if this is a golang primitive
- GitTags tags = 9;
+ string goPath = 7; // `autogenpb:unique` // the logical path as used by golang: 'go.wit.com/apps/helloworld'
+ bool goLibrary = 8; // if this is a golang library
+ bool goPrimitive = 9; // if this is a golang primitive
GoDeps goDeps = 10;
google.protobuf.Timestamp lastGoDep = 11; // last time go.sum was processed
}
-message Repos {
+message Repos { // `autogenpb:marshal`
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 Repo repos = 3;