Archlinux repository server & package build system, written in V.
 
 
 
 
 
 
Go to file
Jef Roosens 6276fbe0d3
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/arch Pipeline was successful Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/build Pipeline failed Details
Added arch package descriptions
2022-02-24 22:06:14 +01:00
.woodpecker This should fix the arch publish 2022-02-24 14:24:57 +01:00
src Updated CI Dockerfile; fixed formatting & vet 2022-02-22 08:14:20 +01:00
.dockerignore Switched to patch-based builder, based on weekly 2022-01-27 19:18:11 +01:00
.editorconfig Some experimenting with docker api 2022-02-19 22:25:52 +01:00
.gitignore Merged dockerfiles 2022-02-22 18:04:54 +01:00
CHANGELOG.md Failed attempt at writing PKGBUILD [CI SKIP] 2022-02-22 20:46:28 +01:00
Dockerfile Merged dockerfiles 2022-02-22 18:04:54 +01:00
LICENSE Added AGPLv3 license [CI SKIP] 2022-01-27 22:34:12 +01:00
Makefile Fix for broken PKGBUILD 2022-02-24 14:00:40 +01:00
PKGBUILD Added arch package descriptions 2022-02-24 22:06:14 +01:00
README.md Removed builder & patches code; updated README 2022-02-19 15:27:41 +01:00
cli.v Very basic CLI to update repos 2022-02-22 10:11:18 +01:00
test.py Tweaked CI a bit 2022-01-31 23:39:04 +01:00

README.md

Vieter

Vieter is a re-implementation of the Pieter project. The goal is to create a simple PKGBUILD-based build system, combined with a self-hosted Arch repository. This would allow me to periodically re-build AUR packages (or PKGBUILDs I created myself), & make sure I never have to compile anything on my own systems, making my updates a lot quicker.

Why V?

I chose V as I've been very intrigued by this language for a while now. I wanted a fast language that I could code while relaxing, without having to exert too much mental effort & V seemed like the right choice for that.

Custom Compiler

Currently, this program only works with a very slightly modified version of the V standard library, and therefore the compiler. The source code for this fork can be found here. You can obtain this modified version of the compiler by running make v, which will clone & build the compiler. Afterwards, all make commands that require the V compiler will use this new binary.

Features

The project will consist of a server-agent model, where one or more builder nodes can register with the server. These agents communicate with the Docker daemon to start builds, which are then uploaded to the server's repository. The server also allows for non-agents to upload packages, as long as they have the required secrets. This allows me to also develop non-git packages, such as my terminal, & upload them to the servers using CI.

Directory Structure

The data directory consists of three main directories:

  • downloads - This is where packages are initially downloaded. Because vieter moves files from this folder to the pkgs folder, these two folders should best be on the same drive
  • pkgs - This is where approved package files are stored.
  • repos - Each repository gets a subfolder here. The subfolder contains the uncompressed contents of the db file.
    • Each repo subdirectory contains the compressed db & files archive for the repository, alongside a directory called files which contains the uncompressed contents.