33 lines
1.9 KiB
Protocol Buffer
33 lines
1.9 KiB
Protocol Buffer
// 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;
|
|
}
|