Upstream package importer with auto patching
Go to file
Mustafa Gezen 7d84156a4b
enhancement: expose srpmproc library
2021-08-19 12:11:07 +02:00
.github/workflows Update go.yml 2021-06-08 20:09:14 +02:00
cmd/srpmproc enhancement: expose srpmproc library 2021-08-19 12:11:07 +02:00
modulemd Dependencies should always be string 2021-04-27 16:39:03 +02:00
pb Change go.mod path to Github 2021-04-15 06:41:12 +02:00
pkg enhancement: expose srpmproc library 2021-08-19 12:11:07 +02:00
proto Change go.mod path to Github 2021-04-15 06:41:12 +02:00
.editorconfig Initial commit 2020-12-14 02:29:02 +01:00
.gitignore enhancement: expose srpmproc library 2021-08-19 12:11:07 +02:00
.goreleaser.yml Change ldflags 2021-06-08 20:41:32 +02:00
AUTHORS Add LICENSE 2021-04-06 21:39:02 +02:00
CONTRIBUTORS Add LICENSE 2021-04-06 21:39:02 +02:00
Dockerfile [docker] Add Dockerfile 2020-12-17 13:12:30 +01:00
LICENSE Add LICENSE 2021-04-06 21:39:02 +02:00
README.md Update README.md 2021-08-02 04:19:27 +02:00
gen.go Add LICENSE 2021-04-06 21:39:02 +02:00
go.mod Change go.mod path to Github 2021-04-15 06:41:12 +02:00
go.sum change module package, add gitlab tag workaround and add new directives 2021-02-21 14:51:30 +01:00

README.md

srpmproc

Upstream package importer with auto patching. Reference implementation for OpenPatch

Usage

Usage:
  srpmproc [flags]
  srpmproc [command]

Available Commands:
  fetch
  help        Help about any command

Flags:
      --allow-stream-branches           Allow import from stream branches
      --branch-prefix string            Branch prefix (replaces import-branch-prefix) (default "r")
      --git-committer-email string      Email of committer (default "rockyautomation@rockylinux.org")
      --git-committer-name string       Name of committer (default "rockyautomation")
  -h, --help                            help for srpmproc
      --import-branch-prefix string     Import branch prefix (default "c")
      --manual-commits string           Comma separated branch and commit list for packages with broken release tags (Format: BRANCH:HASH)
      --module-fallback-stream string   Override fallback stream. Some module packages are published as collections and mostly use the same stream name, some of them deviate from the main stream
      --module-mode                     If enabled, imports a module instead of a package
      --module-prefix string            Where to retrieve modules if exists. Only used when source-rpm is a git repo (default "https://git.centos.org/modules")
      --no-dup-mode                     If enabled, skips already imported tags
      --no-storage-download             If enabled, blobs are always downloaded from upstream
      --no-storage-upload               If enabled, blobs are not uploaded to blob storage
      --rpm-prefix string               Where to retrieve SRPM content. Only used when source-rpm is not a local file (default "https://git.centos.org/rpms")
      --single-tag string               If set, only this tag is imported
      --source-rpm string               Location of RPM to process
      --ssh-key-location string         Location of the SSH key to use to authenticate against upstream
      --ssh-user string                 SSH User (default "git")
      --storage-addr string             Bucket to use as blob storage
      --tmpfs-mode string               If set, packages are imported to path and patched but not pushed
      --upstream-prefix string          Upstream git repository prefix
      --upstream-prefix-https string    Web version of upstream prefix. Required if module-mode
      --version int                     Upstream version

Use "srpmproc [command] --help" for more information about a command.