Difference between revisions of "Apk spec"

From Alpine Linux
Jump to: navigation, search
m (APKINDEX not APINDEX)
(Initial edit of showing if a specific field character exists in the APKINDEX)
Line 22: Line 22:
 
| <nowiki>^A:\S+$</nowiki>
 
| <nowiki>^A:\S+$</nowiki>
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| C
 
| C
Line 29: Line 29:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| D
 
| D
Line 36: Line 36:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| F
 
| F
Line 50: Line 50:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| L
 
| L
Line 57: Line 57:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| M
 
| M
Line 71: Line 71:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| R
 
| R
Line 85: Line 85:
 
| <nowiki>^S:(\d+)$</nowiki>
 
| <nowiki>^S:(\d+)$</nowiki>
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| T
 
| T
Line 92: Line 92:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| U
 
| U
Line 99: Line 99:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| V
 
| V
Line 106: Line 106:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| Z
 
| Z
Line 127: Line 127:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| i
 
| i
Line 134: Line 134:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| m
 
| m
Line 141: Line 141:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| o
 
| o
Line 148: Line 148:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| q
 
| q
Line 162: Line 162:
 
| ?
 
| ?
 
| ?
 
| ?
| ?
+
| yes
 
|-
 
|-
 
| r
 
| r
Line 183: Line 183:
 
| <nowiki>^t:(\d+)$</nowiki>
 
| <nowiki>^t:(\d+)$</nowiki>
 
| ?
 
| ?
| ?
+
| yes
 
|}
 
|}
  

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

File Formats

Index

Install DB

Package File

APKINDEX

Archive