summaryrefslogtreecommitdiff
path: root/repo.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-29 18:15:25 -0600
committerJeff Carr <[email protected]>2024-11-29 18:15:25 -0600
commit4a79cccffd6cd20e42271eada567c4b8c0edc2f4 (patch)
tree4f1bf43db50e09956abe22d9fb3cb9d9b8ca4717 /repo.proto
parent7615317ca72347429f665dc7db9a0fe49d86cc55 (diff)
attempt to use go.wit.com/apps/autogenpb for sort
Diffstat (limited to 'repo.proto')
-rw-r--r--repo.proto29
1 files changed, 13 insertions, 16 deletions
diff --git a/repo.proto b/repo.proto
index 57ba63c..f4ca350 100644
--- a/repo.proto
+++ b/repo.proto
@@ -5,28 +5,25 @@ package gitpb;
// stores information about git repos
// If the project is in golang, also gets the go language dependacies
-import "refs.proto";
-import "godep.proto";
-import "gitTags.proto";
+import "goDep.proto";
+import "gitTag.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'
- repeated Ref refs = 2;
- google.protobuf.Timestamp lastPull = 3; // last time a git pull was done
+ google.protobuf.Timestamp lastPull = 2; // last time a git pull was done
- // things specific to golang projects
- string goPath = 4; // the logical path as used by golang: 'go.wit.com/apps/helloworld'
- repeated GoDep GoDeps = 6;
- google.protobuf.Timestamp lastGoDep = 7; // last time go.sum was processed
- bool goLibrary = 8; // if this is a golang library
- bool goPrimitive = 9; // if this is a golang primitive
-
- repeated GitTag gitTags = 10;
+ 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 = 11; // git 'main' or 'master' branch name
- string develBranchName = 12; // whatever the git 'devel' branch name is
- string userBranchName = 13; // whatever your username branch is
+ // 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;
+ GoDeps goDeps = 10;
+ google.protobuf.Timestamp lastGoDep = 11; // last time go.sum was processed
}
message Repos {