Difference between revisions of "Apk spec"

From Alpine Linux
Jump to: navigation, search
(Added final missing field values - P,c, and i)
m (APKINDEX not APINDEX)
Line 194: Line 194:
 
== Package File ==
 
== Package File ==
  
= APINDEX =
+
= APKINDEX =
  
 
= Archive =
 
= Archive =

Revision as of 07:05, 25 March 2015

Underconstruction clock icon gray.svg
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Systmkor on 25 Mar 2015.)

This page is to describe and formalize the specication of 'apk' package manager.

Database

Syntax

Starts on line number 800 in database.c, also check package.c

Field Character Description Field Data Format regex install-db package-index
A Architecture ? ^A:\S+$ ? ?
C Pull Checksum ? ? ? ?
D Pull Dependencies ? ? ? ?
F File Path ? ? ? ?
I Package Installed Size ? ? ? ?
L License ? ? ? ?
M File Permissions ? ? ? ?
P Package Name (no version, just the plain name) ? ? ? ?
R Get File ? ? ? ?
S Package Size ? ^S:(\d+)$ ? ?
T Package Description ? ? ? ?
U Package URL ? ? ? ?
V Package Version ? ? ? ?
Z Pull Checksum ? ? ? ?
a Check for file existence ? ? ? ?
c Git commit of aport ? ? ? ?
i Automatic Install Condition (aka Install IF) ? ? ? ?
m Maintainer ? ? ? ?
o Package Origin ? ? ? ?
q Replaces Priority ? ? ? ?
p Package Provides ? ? ? ?
r Pull Dependencies ? ? ? ?
s Get Tag Id ? ? ? ?
t Build Timestamp (epoch) ? ^t:(\d+)$ ? ?

File Formats

Index

Install DB

Package File

APKINDEX

Archive