bolcom / unFTP

A FTP(S) server with a couple of twists written in Rust. Follow and talk to us on https://t.me/unftp. Docs on https://unftp.rs
Apache License 2.0
269 stars 21 forks source link

ArchLinux package for unFTP #135

Open hannesdejager opened 2 years ago

hannesdejager commented 2 years ago

The package source can be saved under the packaging directory e.g. packaging/pacman or packaging/arch

image
ghenry commented 7 months ago

https://wiki.archlinux.org/title/creating_packages

ghenry commented 7 months ago

Where to save?

Aetf commented 6 months ago

I created an AUR package: https://aur.archlinux.org/packages/unftp, source here: https://github.com/Aetf/PKGBUILDs/tree/master/unftp

Haven't created a PR yet as I'm not sure how unftp wants to handle version updates. Maybe also use aurpublish and git subtree?

hannesdejager commented 5 months ago

Very nice @Aetf . What benefit would git subtree have over just including it as normal code in the packaging directory?

Aetf commented 5 months ago

Archlinux AUR is one git repository per package (https://wiki.archlinux.org/title/AUR_submission_guidelines#Publishing_new_package_content).

I use git subtree for all AUR packages I manage, as it keeps a single copy of clean history in both the main repo (https://github.com/Aetf/PKGBUILDs) and each individual package repo.

But I guess it's also fine to include as normal files here in unftp repo, depending on how you plan to manage release and updates. Anyway it will be one extra step in release to push to aur package repo.