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 229aa83e53
Implement debug logging, they said. It'll be fun, they said.
2 years ago
.devcontainer oops 2 years ago
example Reworked example 2 years ago
src Implement debug logging, they said. It'll be fun, they said. 2 years ago
.envrc Ver bump in PKGBUILD 2 years ago
.gitignore .gitignore 2 years ago
.gitlab-ci.yml added CI 3 years ago
CONTRIBUTING.md added custom strings + LICENSE.md and CONTRIBUTING.md 3 years ago
Cargo.lock Massive malachite internal rework 2 years ago
Cargo.toml Ver bump in Cargo.toml 2 years ago
LICENSE LICENSE + Fmt 2 years ago
PKGBUILD Ver bump in PKGBUILD 2 years ago
README.md Update README.md 2 years ago
flake.lock Implied --all if no packages present\nAdded exclude to pull 2 years ago
flake.nix Big FMT job 2 years ago

README.md

Logo

Malachite

License GitHub isses GitHub pull requests
Discord The maintainer of this repository
Mastodon Follow Twitter Follow

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

Pacman Repository Creation

  • mlc config to create the config (and also populate it)
  • mlc init to build repository base from config file
  • mlc build <package>/--all to either build individual packages or all packages in mlc.toml
  • mlc repo-gen to generate functional pacman repository at <name>/<name>.db from built packages

How to build:

Tested on latest Cargo (1.60.0-nightly)


Debug/development builds

  • cargo build

Optimised/release builds

  • cargo build --release