Difference between revisions of "Apk spec"

From Alpine Linux
Jump to: navigation, search
(Initial edit of database per line syntax)
(More updates to database keywords and syntax)
Line 4: Line 4:
  
 
== Syntax ==
 
== Syntax ==
Starts on line number 800 in database.c
+
Starts on line number 800 in database.c, also check package.c
  
 
; A
 
; A
Line 10: Line 10:
  
 
; C
 
; C
: checkusm?
+
: Blob Pull Checksum
  
 
; D
 
; D
: dependencies
+
: Pull Dependencies
  
 
; F
 
; F
Line 19: Line 19:
  
 
; I
 
; I
:
+
: Package Installed Size
 +
: see package.c
  
 
; L
 
; L
Line 25: Line 26:
  
 
; M
 
; M
: '0:0:'
 
 
: File Permissions
 
: File Permissions
  
Line 32: Line 32:
  
 
; R
 
; R
:
+
: Get File
  
 
; S
 
; S
:
+
: Package Size
  
 
; T
 
; T
Line 47: Line 47:
  
 
; Z
 
; Z
:
+
: Blob Pull Checksum
  
 
; a
 
; 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
 
; c
Line 62: Line 62:
  
 
; o
 
; o
:  
+
: Package Origin
 +
 
 +
; q
 +
: Replaces Priority
  
 
; p
 
; p
:
+
: Provides
 +
: in database.c Does nothing and slides to next case s in source
  
 
; r
 
; r
:
+
: Blob Pull Dependencies
 +
 
 +
; s
 +
: Get Tag Id
  
 
; t
 
; t
: Timestamp (epoch)
+
: Build Timestamp (epoch)
  
 
= Blob =
 
= Blob =

Revision as of 09:15, 4 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

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