binhost

module
v0.0.0-...-c4e951e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: AGPL-3.0

README

binhost

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

Table of Contents

Developing

We use mise to manage development versions and tasks.

mise run build

Now you can run the server with:

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

Directories

Path Synopsis
cmd
binhost
Package main contains a CLI for starting the binhost server.
Package main contains a CLI for starting the binhost server.
internal
archive
Package archive implements a helper for extracting archives without needing to configure the extraction process.
Package archive implements a helper for extracting archives without needing to configure the extraction process.
config
Package config stores configuration for the binhost server.
Package config stores configuration for the binhost server.
dpi
Package dpi creates dependencies for usage across the binhost server.
Package dpi creates dependencies for usage across the binhost server.
ent
packages
Packages contains utilities for interacting with Gentoo packages.
Packages contains utilities for interacting with Gentoo packages.
parser
Package parser implements a parser for parsing binhost files, primarily Packages and gpkg files.
Package parser implements a parser for parsing binhost files, primarily Packages and gpkg files.
server
Package server contains the code for creating an HTTP server for serving a binhost.
Package server contains the code for creating an HTTP server for serving a binhost.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL