summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: f0ba1a1b4dd5eda080be074b44b997b537975f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//! AUR Build Server — see DESIGN.md.
//!
//! One process, many threads, no async. The write path is: watcher detects a
//! change → candidate → human approval → build pipeline → atomic publish into a
//! signed pacman repo. Nothing reaches a consumer without an approval row
//! behind it (I1).

pub mod config;
pub mod db;
pub mod error;
pub mod fetch;
pub mod git;
pub mod hash;
pub mod http;
pub mod ops;
pub mod pipeline;
pub mod pkginfo;
pub mod pkgver;
pub mod recipe;
pub mod review;
/// The §16a fake toolchain: stand-ins for `makepkg`, `mkarchroot`, `gpg`,
/// `repo-add` and `pacman` so the whole step machine runs without root, network
/// or an Arch chroot.
///
/// Test-only, and compiled out of a production build (§6 M-4): the module exists
/// only under the `test-support` feature, which nothing but this crate's own
/// dev-dependency enables, and the shim binaries declare the same feature. A
/// binary an operator runs cannot fake a build tool it cannot see.
#[cfg(feature = "test-support")]
pub mod shims;
pub mod time;
pub mod watch;

pub use error::{Error, Result};