Difference between revisions of "Apk spec"

From Alpine Linux
Jump to: navigation, search
(Syntax: All 'Field Characters' for table filled out, next up descriptions)
(Syntax: All Known Descriptions for Field Characters filled out on table)
Line 99: Line 99:
 
|-
 
|-
 
| a
 
| a
| ?
+
| Check for file existence
 
| ?
 
| ?
 
| ?
 
| ?
Line 117: Line 117:
 
|-
 
|-
 
| m
 
| m
| ?
+
| Maintainer
 
| ?
 
| ?
 
| ?
 
| ?
Line 123: Line 123:
 
|-
 
|-
 
| o
 
| o
| ?
+
| Package Origin
 
| ?
 
| ?
 
| ?
 
| ?
Line 129: Line 129:
 
|-
 
|-
 
| q
 
| q
| ?
+
| Replaces Priority
 
| ?
 
| ?
 
| ?
 
| ?
Line 135: Line 135:
 
|-
 
|-
 
| p
 
| p
| ?
+
| Package Provides
 
| ?
 
| ?
 
| ?
 
| ?
Line 141: Line 141:
 
|-
 
|-
 
| r
 
| r
| ?
+
| Blob Pull Dependencies
 
| ?
 
| ?
 
| ?
 
| ?
Line 147: Line 147:
 
|-
 
|-
 
| s
 
| s
| ?
+
| Get Tag Id
 
| ?
 
| ?
 
| ?
 
| ?
Line 153: Line 153:
 
|-
 
|-
 
| t
 
| t
| ?
+
| Build Timestamp (epoch)
 
| ?
 
| ?
 
| ?
 
| ?

Revision as of 06:57, 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
A Architecture ? ? ?
C Blob 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 Blob Pull Checksum ? ? ?
a Check for file existence ? ? ?
c ? ? ? ?
i ? ? ? ?
m Maintainer ? ? ?
o Package Origin ? ? ?
q Replaces Priority ? ? ?
p Package Provides ? ? ?
r Blob Pull Dependencies ? ? ?
s Get Tag Id ? ? ?
t Build Timestamp (epoch) ? ? ?


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