diff options
| author | Jeff Carr <[email protected]> | 2024-11-27 13:57:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-27 13:57:17 -0600 |
| commit | 2e3e4f98d33d8794a1c8a6aa13e6c9fa92fbcadb (patch) | |
| tree | cd6222e4dc98e9de94981ade9f15f34030cc3d61 /repo.proto | |
| parent | 44caec2e7fc59697ef01835aacf8a03171a42bea (diff) | |
start full refactor to have repo be here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'repo.proto')
| -rw-r--r-- | repo.proto | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/repo.proto b/repo.proto new file mode 100644 index 0000000..9ee5b2c --- /dev/null +++ b/repo.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + +package gitpb; + +// stores information about git repos +// If the project is in golang, also gets the go language dependacies + +import "refs.proto"; +import "godep.proto"; +import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp + +message Repo { + string fullPath = 1; // the actual path to the .git directory: '/home/devel/golang.org/x/tools' + string goPath = 2; // the logical path as used by golang: 'go.wit.com/apps/helloworld' + bool library = 3; // if this is a golang library + repeated Ref refs = 4; + repeated GoDep GoDeps = 5; + google.protobuf.Timestamp lastPull = 6; // last time a git pull was done +} + +message Repos { + string uuid = 1; // I guess why not just have this on each file + string version = 2; // maybe can be used for protobuf schema change violations + repeated Repo repos = 3; +} |
