Apk spec: Difference between revisions

From Alpine Linux
(Initial edit of showing if a specific field character exists in the APKINDEX)
(package index column now states either yes or no if that field (i.e. that row) can exit in the apkindex)
Line 43: Line 43:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| I
| I
Line 64: Line 64:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| P
| P
Line 78: Line 78:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| S
| S
Line 113: Line 113:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| a
| a
Line 120: Line 120:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| c
| c
Line 155: Line 155:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| p
| p
Line 169: Line 169:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| s
| s
Line 176: Line 176:
| ?
| ?
| ?
| ?
| ?
| no
|-
|-
| t
| t

Revision as of 07:43, 25 March 2015

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

File Formats

Index

Install DB

Package File

APKINDEX

Archive