Apk spec: Difference between revisions

From Alpine Linux
m (specified capture group for Architecture regex)
m (split up field data format, existing for human readable, the new row is the regex string for that field character)
Line 12: Line 12:
! Field Character
! Field Character
! Description
! Description
! Field Data Format (regex)
! Field Data Format
! regex
! install-db
! install-db
! package-index
! package-index
Line 18: Line 19:
| A
| A
| Architecture
| Architecture
| <nowiki>^(A:\S+)$</nowiki>
| <nowiki>^A:\S+$</nowiki>
| ?
| ?
| ?
| ?
| ?
Line 24: Line 26:
| C
| C
| Pull Checksum
| Pull Checksum
| ?
| ?
| ?
| ?
| ?
Line 30: Line 33:
| D
| D
| Pull Dependencies
| Pull Dependencies
| ?
| ?
| ?
| ?
| ?
Line 36: Line 40:
| F
| F
| File Path
| File Path
| ?
| ?
| ?
| ?
| ?
Line 42: Line 47:
| I
| I
| Package Installed Size
| Package Installed Size
| ?
| ?
| ?
| ?
| ?
Line 48: Line 54:
| L
| L
| License
| License
| ?
| ?
| ?
| ?
| ?
Line 54: Line 61:
| M
| M
| File Permissions
| File Permissions
| ?
| ?
| ?
| ?
| ?
Line 59: Line 67:
|-
|-
| P
| P
| ?
| ?
| ?
| ?
| ?
Line 66: Line 75:
| R
| R
| Get File
| Get File
| ?
| ?
| ?
| ?
| ?
Line 72: Line 82:
| S
| S
| Package Size
| Package Size
| ?
| ?
| ?
| ?
| ?
Line 78: Line 89:
| T
| T
| Package Description
| Package Description
| ?
| ?
| ?
| ?
| ?
Line 84: Line 96:
| U
| U
| Package URL
| Package URL
| ?
| ?
| ?
| ?
| ?
Line 90: Line 103:
| V
| V
| Package Version
| Package Version
| ?
| ?
| ?
| ?
| ?
Line 96: Line 110:
| Z
| Z
| Pull Checksum
| Pull Checksum
| ?
| ?
| ?
| ?
| ?
Line 102: Line 117:
| a
| a
| Check for file existence
| Check for file existence
| ?
| ?
| ?
| ?
| ?
Line 107: Line 123:
|-
|-
| c
| c
| ?
| ?
| ?
| ?
| ?
Line 113: Line 130:
|-
|-
| i
| i
| ?
| ?
| ?
| ?
| ?
Line 120: Line 138:
| m
| m
| Maintainer
| Maintainer
| ?
| ?
| ?
| ?
| ?
Line 126: Line 145:
| o
| o
| Package Origin
| Package Origin
| ?
| ?
| ?
| ?
| ?
Line 132: Line 152:
| q
| q
| Replaces Priority
| Replaces Priority
| ?
| ?
| ?
| ?
| ?
Line 138: Line 159:
| p
| p
| Package Provides
| Package Provides
| ?
| ?
| ?
| ?
| ?
Line 144: Line 166:
| r
| r
| Pull Dependencies
| Pull Dependencies
| ?
| ?
| ?
| ?
| ?
Line 150: Line 173:
| s
| s
| Get Tag Id
| Get Tag Id
| ?
| ?
| ?
| ?
| ?
Line 156: Line 180:
| t
| t
| Build Timestamp (epoch)
| Build Timestamp (epoch)
| ?
| ?
| ?
| ?
| ?

Revision as of 06:23, 23 March 2015

This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Systmkor on 23 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 ? ? ? ? ?
R Get File ? ? ? ?
S Package Size ? ? ? ?
T Package Description ? ? ? ?
U Package URL ? ? ? ?
V Package Version ? ? ? ?
Z Pull Checksum ? ? ? ?
a Check for file existence ? ? ? ?
c ? ? ? ? ?
i ? ? ? ? ?
m Maintainer ? ? ? ?
o Package Origin ? ? ? ?
q Replaces Priority ? ? ? ?
p Package Provides ? ? ? ?
r Pull Dependencies ? ? ? ?
s Get Tag Id ? ? ? ?
t Build Timestamp (epoch) ? ? ? ?

File Formats

Index

Install DB

Package File

APINDEX

Archive