REPORTER-UPLOAD(1)
π reporter-upload(1) β the LIBREPORT MANUAL, but make it cute
okay so bestie, welcome to reporter-upload π this is a page from the LIBREPORT MANUAL and it's genuinely one of the handier little tools in the libreport fam, so let's get into it π«Ά
β¨ NAME β¨
reporter-upload β Uploads compressed tarball of problem directory. π¦β¨
that's literally it. it zips up your problem dir into a compressed tarball and yeets it to a URL. iconic behaviour, no notes π
πΈ SYNOPSIS πΈ
reporter-upload [-c CONFFILE]... [-d DIR] [-u URL] [-b FILE] [-r FILE]
look at her. concise. efficient. main character energy π
π¦ DESCRIPTION π¦
The tool is used to create a compressed tarball of the problem directory and upload it to a URL. Supported protocols include FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP and FILE. π
like, she does the tarring and the uploading. one tool, zero chaos (well, y'know, the problem directory is already chaos, but she's not adding to it π).
π Configuration file π
Configuration file contains entries in a format "Option = Value". π
The options are:
URLβ The URL where tarball should be uploaded. πSSHPublicKeyβ The SSH public key. πSSHPrivateKeyβ The SSH private key. π
π§ Integration with ABRT events π§
reporter-upload can be used as a reporter, to allow users to upload compressed tarballs of problem directories to a configured URL. This usage can be configured in /etc/libreport/report_event.conf:
EVENT=report_Upload reporter-upload
It can be also used on the post-create event to upload it automatically. β‘
EVENT=post-create reporter-upload
so you can either have her hop in when someone hits report, or have her auto-run the second a problem dir is created. set it and forget it, fr fr π«Ά
β OPTIONS β
-d DIRβ Path to problem directory. π-c CONFFILEβ Path to configuration file. When used in ABRT event system, the file contains site-wide configuration. Users can change the values via environment variables. If not specified, it defaults to"/etc/libreport/plugins/upload.conf". ποΈ-u URLβ The URL where tarball should be uploaded. URL should have the formprotocol://[user[:pass]@]host/dir/[file.tar.gz]where protocol can behttp(s),ftp,scp, orfile. File protocol canβt have user and host parts:file:///dir/[file.tar.gz]. If URL ends with a slash, the archive name will be generated and appended to URL; otherwise, URL will be used as full file name. π-b,--pubkey FILEβ Set SSH public key file. π-r,--key FILEβ Set SSH private key file. π
ok tiny heads-up on the -u one: if your URL ends in a slash, she'll generate the archive name and stick it on the end. if there's no trailing slash, she takes the URL as the full file name. so mind your slashes, bestie π
π ENVIRONMENT VARIABLES π
Environment variables take precedence over values provided in the configuration file. π (env vars said "i'm the main character now" and honestly? respect.)
Upload_URLβ The URL where should be the tarball uploaded.Upload_Usernameβ User name for the upload URLUpload_Passwordβ Password for the upload URLUpload_SSHPublicKeyβ Path to SSH public key fileUpload_SSHPrivateKeyβ Path to SSH private key file
π FILES π
/usr/share/libreport/conf.d/plugins/upload.confβ Readonly default configuration files. π/etc/libreport/plugins/upload.confβ Configuration file. βοΈ
π₯ SEE ALSO π₯
go read those too, iykyk πβ¨
πΈ AUTHORS πΈ
- ABRT team π
aaaand that's the whole page, bestie! π shoutout to the ABRT team for making her, and this lil doc-drop is LIBREPORT 2.17.15, dated 07/15/2024. go upload something iconic ππ¦β¨
π¦ where this page comes from
- opensuse-leap 16.0: libreport-plugin-reportuploader 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-reportuploader 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-reportuploader 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-reportuploader 2.17.15-bp160.1.14 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms