summaryrefslogtreecommitdiff
path: root/set.proto
blob: 6a59be71ee2e4fb189691fc84660fccc5ec09da7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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
import "patch.proto"; // Import the well-known type for Timestamp

message Set {                                                 // `autogenpb:http`
        Patches                     patches             = 1;
        string                      uuid                = 2;
        google.protobuf.Timestamp   ctime               = 3;  // when the patches were submitted
        string                      submitter           = 4;  // who submitted these // deprecate this
        string                      name                = 5;  // "fixes for foo"
        string                      gitAuthorName       = 6;
        string                      gitAuthorEmail      = 7;
        string                      hostname            = 8;
        string                      tmpDir              = 9;  // temp dir for 'git am' deprecate this
        string                      startBranchName     = 10; // deprecate this
        string                      endBranchName       = 11; // deprecate this
        string                      startBranchHash     = 12; // deprecate this
        string                      endBranchHash       = 13; // deprecate this
        string                      comment             = 14; // deprecate this
        string                      state               = 15; // deprecate this
}

message Sets {                                                // `autogenpb:marshal` `autogenpb:gui` `autogenpb:nomutex` `autogenpb:http`
        string                      uuid                = 1;  // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079`
        string                      version             = 2;  // `autogenpb:version:v0.0.45`
        repeated Set                sets                = 3;
        string                      Filename            = 4;  // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
}