summaryrefslogtreecommitdiff
path: root/repo.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-02 08:59:12 -0600
committerJeff Carr <[email protected]>2025-11-02 08:59:12 -0600
commit7190028798229ba7a2bbfe549ccde2749e87edd8 (patch)
treedb0587730a583cfd14d236e57a098363005ce2ec /repo.proto
parentfab6dbd6041a6ee346fba0e8486b643eaf59667c (diff)
working on a newer repo.protodevel
Diffstat (limited to 'repo.proto')
-rw-r--r--repo.proto49
1 files changed, 25 insertions, 24 deletions
diff --git a/repo.proto b/repo.proto
index f919a67..9381f9a 100644
--- a/repo.proto
+++ b/repo.proto
@@ -44,36 +44,37 @@ message GoInfo { // `autogenpb
}
message Repo { // `autogenpb:marshal` `autogenpb:nomutex`
- string namespace = 1; // `autogenpb:unique` `autogenpb:sort` // this repo is 'go.wit.com/lib/protobuf/gitpb'
- string fullPath = 2; // `autogenpb:unique` `autogenpb:sort` // the OS path to the .git directory: '/home/devel/golang.org/x/tools'
- 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
- bool dirty = 6; // if git says things have been changed
- string URL = 7; // the URL
- GitTags tags = 8; // known tags
+ string uuid = 1; // `autogenpb:uuid:8daaeba1-fb1f-4762-ae6e-95a55d352673`
+ string namespace = 2; // `autogenpb:unique` `autogenpb:sort` // this repo is 'go.wit.com/lib/protobuf/gitpb'
+ string fullPath = 3; // `autogenpb:unique` `autogenpb:sort` // the OS path to the .git directory: '/home/devel/golang.org/x/tools'
+ string masterBranchName = 4; // git 'main' or 'master' branch name
+ string develBranchName = 5; // whatever the git 'devel' branch name is
+ string userBranchName = 6; // whatever your username branch is
+ bool dirty = 7; // if git says things have been changed
+ string URL = 8; // the URL
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; // used for debugging tool logic
- string masterVersion = 19; // just store this for now
- string develVersion = 20; //
- string userVersion = 21; // `autogenpb:unique` `autogenpb:sort`
- repeated string dirtyList = 22; // store the list from git status --porcelain
- string state = 23; // status or state. useful for building tooling
+ string currentBranchName = 10; // the branch currently checked out
+ string currentBranchVersion = 11; // the branch currently checked out
+ string lastTag = 12; // the oldest tag
+ string targetVersion = 13; // useful during the package release process
+ bool readOnly = 14; // tracks access to 'git push'
+ string desc = 15; // what is this repo?
+ string stateChange = 16; // used for debugging tool logic
+ string masterVersion = 17; // just store this for now
+ string develVersion = 18; //
+ string userVersion = 19; // `autogenpb:unique` `autogenpb:sort`
+ repeated string dirtyList = 20; // store the list from git status --porcelain
+ string state = 21; // status or state. useful for building tooling
+ GitConfig config = 22; // protobuf of the current .git/config
+ GoInfo goInfo = 23; // put all the go specifcs here
GitTag currentTag = 24; // used to examine repo branches
- GitConfig config = 25; // protobuf of the current .git/config
+ GitTags tags = 25; // known tags
+ // GoDeps goDeps = 11; // what is in the go.sum file
}
message Repos { // `autogenpb:marshal` `autogenpb:sort` `autogenpb:gui` `autogenpb:nomutex` `autogenpb:http`
string uuid = 1; // `autogenpb:uuid:8daaeba1-fb1f-4762-ae6e-95a55d352673`
- string version = 2; // `autogenpb:version:v4`
+ string version = 2; // `autogenpb:version:v5`
repeated Repo repos = 3; // `autogenpb:append` // generate AppendUnique() function for this
bool hasFullScan = 4; // a full repo scan has been saved to disk
google.protobuf.Timestamp fullScan = 5; // mtime of the last full scan saved to disk