aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.57k stars 374 forks source link

Haiku hpkg support #710

Open kallisti5 opened 6 years ago

kallisti5 commented 6 years ago

The Haiku operating system leverages a package format named "hpkg" and a custom repository format to manage its software. The project needs better backend repository management of software packages.

Is there any interest from aptly to accept patches adding support for the hpkg package format and repository?

Here's an example of one of our repositories:

https://eu.hpkg.haiku-os.org/haikuports/master/repository/x86_64/current/

smira commented 6 years ago

@kallisti5 today in aptly there's no clear separate between package and .deb package, so it's really hard to add support for any other package format.

First step (and really hard one) is to extract things common for any package format (e.g. searching for packages or creating snapshots), and putting Debian-specific stuff into separate package. All the code should be updated for that, and only after that we can start supporting package formats other than .deb. Plus aptly should probably enforce package type on publishing (e.g. it's not possible to publish both Debian & Haiku packages from the same source).