Malachite is a simple yet useful workspace and local repository management tool, made for packagers of Arch Linux based distributions.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
michal e5010ab082 readme stuff 3 years ago
src got clippy to shut up 3 years ago
.gitignore made the program 3 years ago
CONTRIBUTING.md added custom strings + LICENSE.md and CONTRIBUTING.md 3 years ago
Cargo.toml made the program 3 years ago
LICENSE.md added custom strings + LICENSE.md and CONTRIBUTING.md 3 years ago
README.md readme stuff 3 years ago

README.md

Logo

Malachite

Discord

Malachite is a simple yet useful workspace and local repository management tool, made for packagers of Arch Linux based distributions.

Basic usage

Action Command
Build a package mlc build <package>
Generate local repository mlc repo-gen
Update local repos/PKGBUILDs mlc pull/update
Create and/or open config file mlc conf
Initialises repo/workspace based on config in mlc.toml mlc init
Prunes old, duplicate packages from repository mlc prune <days>

Exit codes overview

Exit Code (i32) Reason
1 Running ame as UID 0 / root
2 Failed adding package to database
3 Failed initialising database
4 Error creating cache and/or database paths
5 Could not find one or more required package dependencies
6 User cancelled package installation
7 Pacman error when installing package

How to build:

Tested on latest Cargo (1.60.0-nightly)


Debug/development builds

  • cargo build

Optimised/release builds

  • cargo build --release