Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/AOSC-Dev/mirrormgr

Utility for generating sources.list for APT according to repository configurations (Rust version)
https://github.com/AOSC-Dev/mirrormgr

Last synced: 11 days ago
JSON representation

Utility for generating sources.list for APT according to repository configurations (Rust version)

Awesome Lists containing this project

README

        

# apt-gen-list-rs
Utility for generating sources.list for APT according to repository configurations (Rust version)

## Manual
```
apt-gen-list --help
```

## Installation
```
$ cargo build --release
# install -Dvm755 target/release/apt-gen-list /usr/local/bin/apt-gen-list

// install repo data, eg aosc:
$ git clone https://github.com/AOSC-Dev/aosc-os-repository-data.git
# mkdir -pv /usr/local/share/distro-repository-data/
# install -Dvm644 aosc-os-repository-data/* -t /usr/local/share/distro-repository-data/

// Install Shell completions
# install -dv "/usr/share/zsh/functions/Completion/Linux/"
# install -Dvm644 completions/_apt-gen-list "/usr/share/zsh/functions/Completion/Linux/"
# install -dv "/usr/share/fish/completions/"
# install -Dvm644 completions/apt-gen-list.fish "/usr/share/fish/completions/"
# install -dv "/usr/share/bash-completion/completions/"
# install -Dvm644 completions/apt-gen-list.bash "/usr/share/bash-completion/completions/"
```

## Dependencies

Building:
- Rust w/ Cargo
- C compiler
- make (when GCC LTO is used, not needed for Clang)

Runtime:
- Glibc
- OpenSSL
- APT