Metadata-Version: 2.1
Name: fedora-sig-onboard
Version: 0.1.0
Summary: Onboard a package onto the appropriate Fedora SIG
Author: Davide Cavalca
Author-email: dcavalca@fedoraproject.org
License: MIT
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click
Requires-Dist: pyxdg
Requires-Dist: requests

# fedora-sig-onboard

`fedora-sig-onboard` is a simple tool to onboard a Fedora package onto the relevant SIG. It will attempt to add the SIG to the package ACL, update the bugzilla assignee and add the package to [Anitya](https://release-monitoring.org). Rust and Golang packages are currently supported, and will be respectively onboarded onto the [Rust SIG](https://fedoraproject.org/wiki/SIGs/Rust) and the [Go SIG](https://fedoraproject.org/wiki/SIGs/Go).

# Installation
``` console
pip install 'git+https://pagure.io/fedora-sig-onboard.git'
```

## Usage

Add your dist-git and Anitya to the configuration file in `~/.config/fedora-sig-onboard/fedora-sig-onboard.conf`:

```
[api]
dist_git_token = YOUR_DIST_GIT_TOKEN_HERE
antiya_token = YOUR_ANITYA_TOKEN_HERE
```

To onboard a package:

```
$ fedora-sig-onboard onboard rust-escape_string
[rust-escape_string] updating ACL
[rust-escape_string] updating bugzilla assignees
[rust-escape_string] adding to anitya
$
```

Multiple packages can also be specified, and will be processed in sequence. If no package is specified, `fedora-sig-onboard` will attempt to infer the package name from the current directory.

## License
`fedora-sig-onboard` is MIT licensed.
