2021-02-24 07:27:51 +00:00
|
|
|
package data
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.rockylinux.org/release-engineering/public/srpmproc/internal/blob"
|
|
|
|
"github.com/go-git/go-billy/v5"
|
|
|
|
"github.com/go-git/go-git/v5/plumbing/transport/ssh"
|
|
|
|
)
|
|
|
|
|
|
|
|
type ProcessData struct {
|
|
|
|
RpmLocation string
|
|
|
|
UpstreamPrefix string
|
|
|
|
SshKeyLocation string
|
|
|
|
SshUser string
|
|
|
|
Version int
|
|
|
|
GitCommitterName string
|
|
|
|
GitCommitterEmail string
|
|
|
|
Mode int
|
|
|
|
ModulePrefix string
|
|
|
|
ImportBranchPrefix string
|
|
|
|
BranchPrefix string
|
|
|
|
SingleTag string
|
|
|
|
Authenticator *ssh.PublicKeys
|
|
|
|
Importer ImportMode
|
|
|
|
BlobStorage blob.Storage
|
|
|
|
NoDupMode bool
|
|
|
|
ModuleMode bool
|
2021-03-18 17:44:02 +00:00
|
|
|
TmpFsMode string
|
2021-02-24 07:27:51 +00:00
|
|
|
NoStorageDownload bool
|
|
|
|
NoStorageUpload bool
|
2021-03-18 17:44:02 +00:00
|
|
|
FsCreator func(branch string) billy.Filesystem
|
2021-02-24 07:27:51 +00:00
|
|
|
}
|