Difference between revisions of "Packaging Standards"

From WebOS Internals
Jump to navigation Jump to search
Line 122: Line 122:
 
| Feed || Package source feed
 
| Feed || Package source feed
 
|-
 
|-
| Type || Application, Patch, Service, Plugin, LinuxBinary
+
| Type || Application, Patch, Service, Plugin, Linux Applicaton, etc. ...
 
|-
 
|-
 
| Category || Package category
 
| Category || Package category

Revision as of 13:36, 4 October 2009

This page will document the agreed packaging standards for webOS homebrew ipkg files and open standard ipkg feeds.


[RFC] Version 2.2

NOTE: New fields are in bold

Name Definition
Size Package size (in KB)
Status Installed/Not-installed (and other stuff we don't use)
Architecture all, armv7, or i686
Section The category when there is no source data
Package Package name in reverse-dns style
Filename Actual name of .ipk file
Depends Actual package names of dependencies (comma-space separated, ignore contents of () at the end)
Maintainer Group or individual responsible for maintenance
Version In N:N(.N)*(-N)? format (see ipkg source for the different version parts)
Description Title of the package
MD5Sum MD5 checksum of package to verify downloaded file
Installed-Time Timestamp of installation
Installed-Size Size of installed package
Source *See lower table*


Source
Title Actual title of application
Source Where to obtain source code
LastUpdated Timestamp of last update
Feed Package source feed
Type Application, Patch, Service, Plugin, Linux Application, etc. ...
Category Package category
Homepage URL to package homepage
Icon URL to icon image (assumed to be 64x64)
FullDescription Actual description of package (includes html?)
Screenshots Array of URLs
License Package license conditions
PostInstallFlags RestartLuna, RestartJava
PostRemoveFlags RestartLuna, RestartJava
WebOSCompat JSON array of compatible webOS versions (ex. ["1.1.0","1.2.0"])


Version 2.1

Name Definition
Size Package size (in KB)
Status Installed/Not-installed (and other stuff we don't use)
Architecture all, armv7, or i686
Section The category when there is no source data
Package Package name in reverse-dns style
Filename Actual name of .ipk file
Depends Actual package names of dependencies (comma-space separated, ignore contents of () at the end)
Maintainer Group or individual responsible for maintenance
Version In N:N(.N)*(-N)? format (see ipkg source for the different version parts)
Description Title of the package
MD5Sum MD5 checksum of package to verify downloaded file
Installed-Time Timestamp of installation
Installed-Size Size of installed package
Source *See lower table*


Source
Title Actual title of application
Source Where to obtain source code
LastUpdated Timestamp of last update
Feed Package source feed
Type Application, Patch, Service, Plugin, Linux Applicaton, etc. ...
Category Package category
Homepage URL to package homepage
Icon URL to icon image (assumed to be 64x64)
FullDescription Actual description of package (includes html?)
Screenshots Array of URLs
License Package license conditions
PostInstallFlags RestartLuna, RestartJava
PostRemoveFlags RestartLuna, RestartJava