From ec88fb8767771c71885ed3a9eb041a42cdd34119 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 2 Oct 2025 17:37:21 -0500 Subject: better error handling --- forgeConfig.proto | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'forgeConfig.proto') diff --git a/forgeConfig.proto b/forgeConfig.proto index 9733bb0..29b454a 100644 --- a/forgeConfig.proto +++ b/forgeConfig.proto @@ -39,11 +39,12 @@ message ForgeConfig { // `autogenpb:nom } enum ForgeMode { - MASTER = 0; // "release mode" - DEVEL = 1; // "patch mode" - USER = 2; // "work mode" - NORMAL = 3; // "normal mode" // use this when you are developing code - CLEAN = 4; // indicates "clean" was run + UNKNOWN = 0; // set as first time user + MASTER = 1; // "release mode" + DEVEL = 2; // "patch mode" + USER = 3; // "work mode" + NORMAL = 4; // "normal mode" // use this when you are developing code + CLEAN = 5; // indicates "clean" was run } message ForgeConfigs { // `autogenpb:marshal` `autogenpb:nomutex` @@ -57,9 +58,9 @@ message ForgeConfigs { // `autogenpb:mar ForgeMode mode = 8; // what "mode" forge is in bool goWork = 9; // true if there is a go.work file bool pathLock = 10; // the path is locked - string ReposPB = 11; // where the repos.pb is - string ReposDir = 12; // where the repos are - string PatchDir = 13; // patch dir + string HomeDir = 11; // the forge config dir home + string ReposPB = 12; // where the repos.pb is + string ReposDir = 13; // where your repos are (orginally set to the GO default ~/go/src) string PatchPB = 14; // fullpath to patches file string ForgeURL = 15; // forge URL string Filename = 16; // filename of the config file -- cgit v1.2.3