summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-01 06:57:57 -0600
committerJeff Carr <[email protected]>2025-02-01 06:57:57 -0600
commit23d7ad1581b5cd3a6a284be2841407a0703269ef (patch)
treed607a9285273055ad9625bc4c346dc302d0e93e3
parentec4acd425c269c5adab54e41648f3c1304d04f63 (diff)
various updates
-rw-r--r--clone.go2
-rw-r--r--config.go2
-rw-r--r--forgeConfig.proto2
-rw-r--r--goWork.go2
-rw-r--r--human.go2
-rw-r--r--humanShowRepo.go2
-rw-r--r--humanTable.go2
-rw-r--r--init.go2
-rw-r--r--patchset.proto.new42
-rw-r--r--repoNew.go2
10 files changed, 40 insertions, 20 deletions
diff --git a/clone.go b/clone.go
index 63c9fc2..b825234 100644
--- a/clone.go
+++ b/clone.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
import (
diff --git a/config.go b/config.go
index a1fc49d..db5ce26 100644
--- a/config.go
+++ b/config.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
// functions to import and export the protobuf
diff --git a/forgeConfig.proto b/forgeConfig.proto
index bf842fb..bdff30f 100644
--- a/forgeConfig.proto
+++ b/forgeConfig.proto
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
syntax = "proto3";
package forgepb;
diff --git a/goWork.go b/goWork.go
index 9310f04..9446427 100644
--- a/goWork.go
+++ b/goWork.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
import (
diff --git a/human.go b/human.go
index 045f567..4a46a04 100644
--- a/human.go
+++ b/human.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
import (
diff --git a/humanShowRepo.go b/humanShowRepo.go
index c6950ca..8f2348a 100644
--- a/humanShowRepo.go
+++ b/humanShowRepo.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
import (
diff --git a/humanTable.go b/humanTable.go
index f9c2394..6272823 100644
--- a/humanTable.go
+++ b/humanTable.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
import (
diff --git a/init.go b/init.go
index 731737a..94c3cf0 100644
--- a/init.go
+++ b/init.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
import (
diff --git a/patchset.proto.new b/patchset.proto.new
index 96c6e39..0e8d6f2 100644
--- a/patchset.proto.new
+++ b/patchset.proto.new
@@ -1,29 +1,31 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
syntax = "proto3";
package forgepb;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
-/*
-message Blob {
- string hunkLine = 1;
- bytes data = 2;
-}
-
-message File {
- string filename = 1;
- string hashLine = 2;
- repeated Blob Blobs = 3;
-}
-
-message Patch {
- repeated File Files = 1;
- string repoNamespace = 2;
- string gH = 3;
- string gaI = 4;
- string gcI = 5;
-}
-*/
+// I don't need this kind of specicivity (can't spell)
+// but this is what the patch files contain and how git sees them
+// message Blob {
+// string hunkLine = 1;
+// bytes data = 2;
+// }
+//
+// message File {
+// string filename = 1;
+// string hashLine = 2;
+// repeated Blob Blobs = 3;
+// }
+//
+// message Patch {
+// repeated File Files = 1;
+// string repoNamespace = 2;
+// string gH = 3;
+// string gaI = 4;
+// string gcI = 5;
+// }
// git log -1 --format="%H %aI %cI %an %ae %cn %ce"
message Patch {
diff --git a/repoNew.go b/repoNew.go
index 30c38c8..5519fcb 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -1,3 +1,5 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
package forgepb
import (