mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 13:45:53 +00:00
Feature Request - Support for Alpine APK packages #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @am11 on GitHub (Jun 26, 2017).
Similar to
debandrpm;dotnet alpineapkpackaging would be a great addition.Name verbosity is to disambiguate from possible future implementation of
androidapk. :)Note that Alpine packages can be downloaded and added offline from untrusted channels:
@qmfrederik commented on GitHub (Jun 26, 2017):
The package format is described here: https://wiki.alpinelinux.org/wiki/Alpine_package_format, seems somewhat similar to the package format used by Debian.
As to the feature request in itself: sure, why not, although I can't promise anything and pull requests are always welcome :)
@am11 commented on GitHub (Jun 26, 2017):
For reference, here is a list of latest APKs for the distro http://dl-cdn.alpinelinux.org/alpine/latest-stable/main/x86_64/.
Would it make sense to incorporate /depend on abuild utility in the targets, that will calculate the hashes and everything (for DRY)? This way, if they change the tool in future, we won't need to refactor.
@qmfrederik commented on GitHub (Jun 26, 2017):
@am11 Until now I've tried to implement everything in managed code (reusing existing .NET libraries where possible) to make sure you can run
dotnet rpm,... on any operating system (e.g. I can rundotnet rpm -f netcoreapp1.1 -r rhel.7on Windows and get a RPM package that I can use on Linux.It looks like the file format is straightforward - two .tar.gz files; the
data.tar.gzfile being identical to what we use on Debian, and thecontrol.tar.gzfile seems to only contain text files. So there would at least be code reuse.Just to set expectations - I'll probably do some work on the RPM format first, then move to Ubuntu/Debian and macOS next; PRs are always welcome :)
@am11 commented on GitHub (Jun 26, 2017):
@qmfrederik, thanks. I agree doing everything in managed code is the way to go for xplat'ness. Just looked at the RPM implementation, I will try to chime in if I get something concrete ready for Alpine Linux. :)