summaryrefslogtreecommitdiff
path: root/repo.proto
diff options
context:
space:
mode:
Diffstat (limited to 'repo.proto')
-rw-r--r--repo.proto43
1 files changed, 17 insertions, 26 deletions
diff --git a/repo.proto b/repo.proto
index 6730af9..9fcb0c6 100644
--- a/repo.proto
+++ b/repo.proto
@@ -13,35 +13,25 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time
message Repo { // `autogenpb:marshal`
string fullPath = 1; // `autogenpb:unique` // 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
- GitTags tags = 6; // known tags
- string goPath = 7; // `autogenpb:unique` // the logical path as used by golang: 'go.wit.com/apps/helloworld'
- bool goLibrary = 8; // is this a golang library?
- bool goBinary = 9; // is this a golang binary?
- bool goPrimitive = 10; // if this is a golang primitive (only has go.mod)
- bool goPlugin = 11; // is this a golang plugin?
- GoDeps goDeps = 12; // what is in the go.sum file
- google.protobuf.Timestamp lastGoDep = 13; // last time go.sum was processed
- bool dirty = 14; // if git says things have been changed
- GoDeps published = 15; // the last published go.mod/go.sum
- string targetVersion = 16; // useful during the package release process
- bool readOnly = 17; // tracks access to 'git push'
- string URL = 18; // the URL. amazingly I didn't add this earlier. duh.
- bool goProtobuf = 19; // autogen go files from .proto
- string desc = 20; // what is this repo?
- bytes goMod = 21; // the last go.mod file
- bytes goSum = 22; // the last go.sum file
- google.protobuf.Timestamp mtimeGitDir = 23; // mtime for ./git
- google.protobuf.Timestamp mtimeGitHead = 24; // mtime for ./git/HEAD // these two mtimes allow really fast checks to see if git has changed
- GitTimes times = 25; // store all the mtime values here. these are temporary
- GoInfo goInfo = 26; // put all the go specifcs here
- string stateChange = 27; // reason for state change
- string lastTag = 28; // the oldest tag
- string currentBranchName = 29; // the branch currently checked out
- string currentBranchVersion = 30; // the branch currently checked out
+ bool dirty = 6; // if git says things have been changed
+ string URL = 7; // the URL
+ GitTags tags = 8; // known tags
+ GitTimes times = 9; // store all the mtime values here. these are temporary
+ GoInfo goInfo = 10; // put all the go specifcs here
+ GoDeps goDeps = 11; // what is in the go.sum file
+ string currentBranchName = 12; // the branch currently checked out
+ string currentBranchVersion = 13; // the branch currently checked out
+ string lastTag = 14; // the oldest tag
+ string targetVersion = 15; // useful during the package release process
+ bool readOnly = 16; // tracks access to 'git push'
+ string desc = 17; // what is this repo?
+ string stateChange = 18; // reason for state change
+ string masterVersion = 19; // just store this for now
+ string develVersion = 20; //
+ string userVersion = 21; //
}
message Repos { // `autogenpb:marshal`
@@ -59,6 +49,7 @@ message GitTimes {
google.protobuf.Timestamp mtimeHead = 5; // mtime for ./git/HEAD // these two mtimes allow really fast checks to see if git has changed
google.protobuf.Timestamp mtimeIndex = 6; // mtime for ./git/HEAD // probably always in sync with HEAD
google.protobuf.Timestamp mtimeFetch = 7; // mtime for ./git/FETCH_HEAD // last time 'git fetch' or 'git pull' was run on current branch?
+ google.protobuf.Timestamp lastGoDep = 8; // mtime for last go.sum scan
}
// this is probably better. think about moving to this instead