Apk spec: Difference between revisions

From Alpine Linux
(→‎Syntax: Removed old definition style for Field Characters, there is only the table for set of field characters, descriptions, etc.)
(Remove References to Blob since that is just an internal implementation structure and not apart of the spec)
Line 21: Line 21:
|-
|-
| C
| C
| Blob Pull Checksum
| Pull Checksum
| ?
| ?
| ?
| ?
Line 93: Line 93:
|-
|-
| Z
| Z
| Blob Pull Checksum
| Pull Checksum
| ?
| ?
| ?
| ?
Line 141: Line 141:
|-
|-
| r
| r
| Blob Pull Dependencies
| Pull Dependencies
| ?
| ?
| ?
| ?
Line 160: Line 160:




= Blob =
; A
: Architecture
 
; C
: 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
: Pull Checksum
 
; a
: Check File Existense - if file from line above, using F: keyword, doesn't exist <nowiki>goto bad_entry()</nowiki>. 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
: Pull Dependencies
 
; s
: Get Tag Id
 
; t
: Build Timestamp (epoch)
 


= APINDEX =
= APINDEX =

Revision as of 07:52, 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 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) ? ? ?


A
Architecture
C
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
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
Pull Dependencies
s
Get Tag Id
t
Build Timestamp (epoch)


APINDEX

Archive

APKBUILD