Apk spec: Difference between revisions

From Alpine Linux
(More updates to database keywords and syntax)
m (Created Base Table to move syntax field character and such into)
Line 5: Line 5:
== Syntax ==
== Syntax ==
Starts on line number 800 in database.c, also check package.c
Starts on line number 800 in database.c, also check package.c
{| class="wikitable"
|-
! Field Character
! Description
! Field Data Format
! install-db
! package-index
|-
| row 1, cell 1
| row 1, cell 2
| row 1, cell 3
| row 1, cell 4
| row 1, cell 5
|-
| row 2, cell 1
| row 2, cell 2
| row 2, cell 3
| row 2, cell 4
| row 2, cell 5
|}


; A
; A

Revision as of 06:36, 6 February 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 install-db package-index
row 1, cell 1 row 1, cell 2 row 1, cell 3 row 1, cell 4 row 1, cell 5
row 2, cell 1 row 2, cell 2 row 2, cell 3 row 2, cell 4 row 2, cell 5


A
Architecture
C
Blob Pull Checksum
D
Pull Dependencies
F
file path
I
Package Installed Size
see package.c
L
License
M
File Permissions
P
R
Get File
S
Package Size
T
Package Description
U
Package URL
V
Package Version
Z
Blob Pull Checksum
a
Check File Existense - if file from line above, using F: keyword, doesn't exist goto bad_entry(). If file does exist then slide to next case which is M and check for files proper uid, gid, and permissions.
c
i
m
maintainer
o
Package Origin
q
Replaces Priority
p
Provides
in database.c Does nothing and slides to next case s in source
r
Blob Pull Dependencies
s
Get Tag Id
t
Build Timestamp (epoch)

Blob

APINDEX

Archive

APKBUILD