An open API service indexing awesome lists of open source software.

https://github.com/jaredallard/binhost

Gentoo Binhost Manager
https://github.com/jaredallard/binhost

binhost gentoo

Last synced: about 1 year ago
JSON representation

Gentoo Binhost Manager

Awesome Lists containing this project

README

          

# binhost

A Gentoo binary host platform. Enables building and tracking various
targets.

## Table of Contents

- [API](#api)
- [POST /v1/upload](#post-v1upload)
- [GET /v1/targets](#get-v1targets)
- [POST /v1/targets/:target](#post-v1targetstarget)
- [License](#license)

## Developing

We use [mise]() to manage development versions and tasks.

```bash
mise run build
```

Now you can run the server with:

```bash
ENV=development ./bin/binhost
```

## API

Loose documentation of the API provided by `binhost` is below.

### `POST /v1/upload`

Uploads the provided `gpkg`. If a `target` is not specified via URL
parameters, the `CHOST` is used as the target name. Errors if a target
doesn't exist.

### `GET /v1/targets`

Lists all of the available targets (package indexes).

### `POST /v1/targets/:target`

Creates the provided target.

## License

AGPL-3.0