summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forgeConfig.proto48
-rw-r--r--patchset.proto66
2 files changed, 57 insertions, 57 deletions
diff --git a/forgeConfig.proto b/forgeConfig.proto
index bdff30f..b57b627 100644
--- a/forgeConfig.proto
+++ b/forgeConfig.proto
@@ -14,34 +14,34 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time
// package names sometimes must be different than the binary name
// for example 'zookeeper' is packaged as 'zookeeper-go'
// due to the prior apache foundation project. This happens and is ok!
-message ForgeConfig { // `autogenpb:nomutex`
- string goPath = 1; // `autogenpb:unique` `autogenpb:sort` // Examples: 'go.wit.com/apps/go-clone' or "~/mythings" or "/home/src/foo"
+message ForgeConfig { // `autogenpb:nomutex`
+ string goPath = 1; // `autogenpb:unique` `autogenpb:sort` // Examples: 'go.wit.com/apps/go-clone' or "~/mythings" or "/home/src/foo"
- bool writable = 2; // if you have write access to the repo
- bool readOnly = 3; // the opposite, but needed for now because I don't know what I'm doing
- bool private = 4; // if the repo can be published
- bool directory = 5; // everything in this directory should use these writable & private values
- bool favorite = 6; // you like this. always git clone/go clone this repo
- bool interesting = 7; // this is something interesting you found and want to remember it
+ bool writable = 2; // if you have write access to the repo
+ bool readOnly = 3; // the opposite, but needed for now because I don't know what I'm doing
+ bool private = 4; // if the repo can be published
+ bool directory = 5; // everything in this directory should use these writable & private values
+ bool favorite = 6; // you like this. always git clone/go clone this repo
+ bool interesting = 7; // this is something interesting you found and want to remember it
- string masterBranchName = 8; // git 'main' or 'master' branch name
- string develBranchName = 9; // whatever the git 'devel' branch name is
- string userBranchName = 10; // whatever your username branch is
+ string masterBranchName = 8; // git 'main' or 'master' branch name
+ string develBranchName = 9; // whatever the git 'devel' branch name is
+ string userBranchName = 10; // whatever your username branch is
- string debName = 11; // the actual name used with 'apt install' (or distro apt equivalent.
-// todo: appeal to everyone to alias 'apt' on fedora, gentoo, arch, etc to alias 'apt install'
-// so we can make easier instructions for new linux users. KISS
+ string debName = 11; // the actual name used with 'apt install' (or distro apt equivalent.
+ // todo: appeal to everyone to alias 'apt' on fedora, gentoo, arch, etc to alias 'apt install'
+ // so we can make easier instructions for new linux users. KISS
- google.protobuf.Timestamp verstamp = 12; // the git commit timestamp of the version
- string goSrc = 13; // is ~/go/src unless a go.work file is found
+ google.protobuf.Timestamp verstamp = 12; // the git commit timestamp of the version
+ string goSrc = 13; // is ~/go/src unless a go.work file is found
}
-message ForgeConfigs { // `autogenpb:marshal` `autogenpb:nomutex`
- string uuid = 1; // `autogenpb:uuid:1941cd4f-1cfd-4bf6-aa75-c2c391907e81`
- string version = 2; // `autogenpb:version:v0.0.47`
- repeated ForgeConfig ForgeConfigs = 3;
- string username = 4; // what to use for the user branch (default ENV{USER})
- string xterm = 5; // what xterm the user wants as the default
- repeated string xtermArgv = 6; // the argv line for xterm
- string defaultGui = 7; // default GUI plugin to use
+message ForgeConfigs { // `autogenpb:marshal` `autogenpb:nomutex`
+ string uuid = 1; // `autogenpb:uuid:1941cd4f-1cfd-4bf6-aa75-c2c391907e81`
+ string version = 2; // `autogenpb:version:v0.0.47`
+ repeated ForgeConfig ForgeConfigs = 3;
+ string username = 4; // what to use for the user branch (default ENV{USER})
+ string xterm = 5; // what xterm the user wants as the default
+ repeated string xtermArgv = 6; // the argv line for xterm
+ string defaultGui = 7; // default GUI plugin to use
}
diff --git a/patchset.proto b/patchset.proto
index 87bfe8e..0fedb91 100644
--- a/patchset.proto
+++ b/patchset.proto
@@ -5,43 +5,43 @@ package forgepb;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
message Patch {
- string filename = 1; // `autogenpb:unique` `autogenpb:sort`
- bytes data = 2; //
- string repoPath = 3; // path to the git repo
- string branchName = 4; //
- string branchHash = 5; //
- google.protobuf.Timestamp ctime = 7; // the git commit timestamp of this patch
- string commitHash = 8; // the git commit hash of this patch
- string startHash = 9; // the start commit hash
- repeated string Files = 10; // the filenames this patch changes
- string comment = 11; // the git commit message (in patch form)
- string repoNamespace = 12; // the base repo git URL
- string newHash = 13; // new hash after git am
+ string filename = 1; // `autogenpb:unique` `autogenpb:sort`
+ bytes data = 2; //
+ string repoPath = 3; // path to the git repo
+ string branchName = 4; //
+ string branchHash = 5; //
+ google.protobuf.Timestamp ctime = 7; // the git commit timestamp of this patch
+ string commitHash = 8; // the git commit hash of this patch
+ string startHash = 9; // the start commit hash
+ repeated string Files = 10; // the filenames this patch changes
+ string comment = 11; // the git commit message (in patch form)
+ string repoNamespace = 12; // the base repo git URL
+ string newHash = 13; // new hash after git am
}
-message Patches { // `autogenpb:marshal`
- string uuid = 1; // `autogenpb:uuid:be926ad9-1111-484c-adf2-d96eeabf3079` // todo: add autogenpb support for this
- string version = 2; // `autogenpb:version:v0.0.45` // todo: add autogenpb support for this
- repeated Patch Patches = 3;
+message Patches { // `autogenpb:marshal`
+ string uuid = 1; // `autogenpb:uuid:be926ad9-1111-484c-adf2-d96eeabf3079` // todo: add autogenpb support for this
+ string version = 2; // `autogenpb:version:v0.0.45` // todo: add autogenpb support for this
+ repeated Patch Patches = 3;
}
-message Patchset { // `autogenpb:marshal`
- Patches patches = 1; // `autogenpb:unique` `autogenpb:sort`
- string name = 2; // `autogenpb:sort`
- string comment = 3; //
- string gitAuthorName = 4; // `autogenpb:sort`
- string gitAuthorEmail = 5; //
- google.protobuf.Timestamp ctime = 6; // create time of this patchset
- string tmpDir = 7; // temp dir
- string startBranchName = 8; //
- string endBranchName = 9; //
- string startBranchHash = 10; //
- string endBranchHash = 11; //
- string state = 12; // the state of the patch
+message Patchset { // `autogenpb:marshal`
+ Patches patches = 1; // `autogenpb:unique` `autogenpb:sort`
+ string name = 2; // `autogenpb:sort`
+ string comment = 3; //
+ string gitAuthorName = 4; // `autogenpb:sort`
+ string gitAuthorEmail = 5; //
+ google.protobuf.Timestamp ctime = 6; // create time of this patchset
+ string tmpDir = 7; // temp dir
+ string startBranchName = 8; //
+ string endBranchName = 9; //
+ string startBranchHash = 10; //
+ string endBranchHash = 11; //
+ string state = 12; // the state of the patch
}
-message Patchsets { // `autogenpb:marshal`
- string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079` // todo: add autogenpb support for this
- string version = 2; // `autogenpb:version:v0.0.45` // todo: add autogenpb support for this
- repeated Patchset Patchsets = 3;
+message Patchsets { // `autogenpb:marshal`
+ string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079` // todo: add autogenpb support for this
+ string version = 2; // `autogenpb:version:v0.0.45` // todo: add autogenpb support for this
+ repeated Patchset Patchsets = 3;
}