From 23d7ad1581b5cd3a6a284be2841407a0703269ef Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 1 Feb 2025 06:57:57 -0600 Subject: various updates --- clone.go | 2 ++ config.go | 2 ++ forgeConfig.proto | 2 ++ goWork.go | 2 ++ human.go | 2 ++ humanShowRepo.go | 2 ++ humanTable.go | 2 ++ init.go | 2 ++ patchset.proto.new | 42 ++++++++++++++++++++++-------------------- repoNew.go | 2 ++ 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 ( -- cgit v1.2.3