1
0
Fork
You've already forked goorphans
0
Tooling for managing the orphaned packages process and other Fedora-releated things.
  • Go 94.9%
  • Go Template 4.4%
  • Makefile 0.7%
Maxwell G 435af028aa
All checks were successful
builds.sr.ht/main Job completed
Implement nags 2fa command
2026年06月24日 17:22:27 -05:00
.builds ci: remove golangci-lint Copr 2026年04月21日 22:17:37 -05:00
actions Implement nags 2fa command 2026年06月24日 17:22:27 -05:00
cmds Implement nags 2fa command 2026年06月24日 17:22:27 -05:00
common common: add missing key to Orphans struct 2026年05月08日 16:08:54 -05:00
config Implement nags 2fa command 2026年06月24日 17:22:27 -05:00
distgit distgit: remove unnecessary assignment 2025年12月09日 21:45:21 -06:00
fasjson fasjson: use common.GetJSON helper and set User-Agent 2026年06月07日 23:18:50 -05:00
mail Implement nags 2fa command 2026年06月24日 17:22:27 -05:00
notifs lint: wrap lines to 90 characters 2025年11月03日 08:23:31 -06:00
pagure distgit: add client for pagure-dist-git extra files 2025年10月01日 23:50:10 -05:00
templates Implement nags 2fa command 2026年06月24日 17:22:27 -05:00
.gitignore Reorganize command hierarchy 2025年09月17日 23:27:56 -05:00
.golangci.toml lint: wrap lines to 90 characters 2025年11月03日 08:23:31 -06:00
go.mod go get -u 2026年06月07日 23:20:18 -05:00
go.sum go mod tidy 2026年06月07日 23:27:55 -05:00
LICENSE Add the rest of the code 2025年09月16日 17:20:14 -05:00
main.go Add the rest of the code 2025年09月16日 17:20:14 -05:00
Makefile Add Makefile 2026年06月07日 23:28:21 -05:00
PROCESS.md PROCESS: add commands to docs 2025年11月03日 08:39:16 -06:00
README.md doc README: update password example 2025年10月06日 18:21:50 -05:00

Goorphans

builds.sr.ht status

WIP tooling for managing the orphaned packages process and other Fedora releated things.

Installation

# krb5 is needed for the FASJSON bindings
sudo dnf install -y golang krb5-devel
# Or whatever your shell supports...
fish_add_path $(go env GOPATH)/bin
go install -v go.gtmx.me/goorphans@latest
goorphans --help

Configuration

goorphans can be configured with a TOML file at ~/.config/goorphans.toml (or the value of --config) or with environment variables.

Run goorphans dump-config to show the default config file. The code block below shows all the supported options.

[smtp]
# Env: GOORPHANS_SMTP_HOST
host = ''
# Env: GOORPHANS_SMTP_PORT
port = 0
# Env: GOORPHANS_SMTP_USERNAME
username = ''
# Env: GOORPHANS_SMTP_PASSWORD
# password can be specified in plain text or via password-cmd.
password = ''
# Env: GOORPHANS_SMTP_PASSWORD_CMD
# password-cmd can be either a string or []string of arguments.
# The first line of the command output is used as the password
# password-cmd = "echo password"
password-cmd = ["echo", "password"]
# Env: GOORPHANS_SMTP_FROM
# From: header
from = ''
# Env: GOORPHANS_SMTP_SECURE
# "tls" or "starttls" (determined based on port by default)
secure = ''
# Env: GOORPHANS_SMTP_INSECURE_SKIP_VERIFY
# Don't validate SMTP server TLS certificates.
insecure-skip-verify = false
[fasjson]
# Env: GOORPHANS_FASJSON_TTL
# Cache TTL in seconds
ttl = 604800.0
# Env: GOORPHANS_FASJSON_DB
# Defaults to https://pkg.go.dev/os#UserCacheDir + "/goorphans/fasjson.db"
db = '/home/gotmax/.cache/goorphans/fasjson.db'
[orphans]
# Env: GOORPHANS_ORPHANS_BASEURL
# Base url where orphans.json and orphans.txt are stored
baseurl = 'https://a.gtmx.me/orphans/'
# Env: GOORPHANS_ORPHANS_DOWNLOAD
# Whether to always re-download orphans data
download = false
# Env: GOORPHANS_ORPHANS_TO
# To for the Orphaned Packages report
to = ['devel-announce@lists.fedoraproject.org']
# Env: GOORPHANS_ORPHANS_REPLY_TO
# To for the Orphaned Packages report
reply-to = 'devel@lists.fedoraproject.org'
# Env: GOORPHANS_ORPHANS_BCC
# Can be used to send a copy to yourself.
bcc = []
# Env: GOORPHANS_ORPHANS_DIRECT_MAINTS_ONLY
direct-maints-only = false