Apk spec: Difference between revisions

From Alpine Linux
m (split up field data format, existing for human readable, the new row is the regex string for that field character)
m (A: architecture specified regex capture group)
Line 19: Line 19:
| A
| A
| Architecture
| Architecture
| <nowiki>^A:\S+$</nowiki>
| <nowiki>^A:(\S+)$</nowiki>
| ?
| ?
| ?
| ?

Revision as of 06:26, 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