summaryrefslogtreecommitdiff
path: root/set.proto
blob: 3420bd083e8f0ba9a6aaa8752d899cc9452caae8 (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
// 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:marshal`
        Patches                     patches             = 1;  // `autogenpb:sort`
        string                      uuid                = 2;
        google.protobuf.Timestamp   ctime               = 3;  // when the patches were submitted
        string                      submitter           = 4;  // who submitted these
        string                      name                = 5;  // "fixes for foo"
        string                      gitAuthorName       = 6;  // `autogenpb:sort`
        string                      gitAuthorEmail      = 7;
        string                      hostname            = 8;
        string                      tmpDir              = 9;  // temp dir. 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;
}