Difference between revisions of "Packaging Standards"
Jump to navigation
Jump to search
(No reason to exclude donations. The FullDescription contents is at the discretion of the author.) |
(Accepted a number of proposals) |
||
Line 3: | Line 3: | ||
'''Please note, ipkg/libipkg has an internal, hard coded buffer of 8k to handle parsing the feed elements for each package. This means that description fields need to get reduced in length to prevent segfaults.''' | '''Please note, ipkg/libipkg has an internal, hard coded buffer of 8k to handle parsing the feed elements for each package. This means that description fields need to get reduced in length to prevent segfaults.''' | ||
− | ==[RFC] Version 2. | + | ==[RFC] Version 2.3== |
''NOTE1: New fields are in bold red'' | ''NOTE1: New fields are in bold red'' | ||
Line 17: | Line 17: | ||
| Status || Installed/Not-installed (and other stuff we don't use) | | Status || Installed/Not-installed (and other stuff we don't use) | ||
|- | |- | ||
− | | Architecture || all, armv7, or i686 | + | | Architecture || all, armv7, armv6 or i686 |
|- | |- | ||
| Section || The category when there is no source data | | Section || The category when there is no source data | ||
Line 71: | Line 71: | ||
| License || Package license conditions | | License || Package license conditions | ||
|- | |- | ||
− | | | + | | Price || Price in dollars and cents (e.g. "1.99") |
|- | |- | ||
− | | PostRemoveFlags || RestartLuna, RestartJava, | + | | PostInstallFlags || RestartLuna, RestartJava, RestartDevice |
+ | |- | ||
+ | | PostUpdateFlags || RestartLuna, RestartJava, RestartDevice | ||
+ | |- | ||
+ | | PostRemoveFlags || RestartLuna, RestartJava, RestartDevice | ||
|- | |- | ||
| <font color=red>'''WebOSVersions'''</font> || <font color=red>'''JSON array of compatible webOS versions (ex. ["1.1.0","1.2.0"])'''</font> | | <font color=red>'''WebOSVersions'''</font> || <font color=red>'''JSON array of compatible webOS versions (ex. ["1.1.0","1.2.0"])'''</font> | ||
Line 81: | Line 85: | ||
+ | ==Version 2.2== | ||
+ | {|class="wikitable" height:200px" border="1" | ||
+ | ! width="140" | Name | ||
+ | ! width="350" | Definition | ||
+ | |- | ||
+ | | Size || Package size (in KB) | ||
+ | |- | ||
+ | | Status || Installed/Not-installed (and other stuff we don't use) | ||
+ | |- | ||
+ | | Architecture || all, armv7, armv6, 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* | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | | valign="top" | Source | ||
+ | {| class="wikitable" width="200"; border="1" | ||
+ | | 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 (html is allowed). Maximum size is 4096 characters. | ||
+ | |- | ||
+ | | Screenshots || Array of URLs | ||
+ | |- | ||
+ | | License || Package license conditions | ||
+ | |- | ||
+ | | Price || Price in dollars and cents (e.g. "1.99") | ||
+ | |- | ||
+ | | PostInstallFlags || RestartLuna, RestartJava, RestartDevice | ||
+ | |- | ||
+ | | PostUpdateFlags || RestartLuna, RestartJava, RestartDevice | ||
+ | |- | ||
+ | | PostRemoveFlags || RestartLuna, RestartJava, RestartDevice | ||
+ | |} | ||
+ | |- | ||
+ | |} | ||
==Version 2.1== | ==Version 2.1== |
Revision as of 06:15, 7 February 2010
This page will document the agreed packaging standards for webOS homebrew ipkg files and open standard ipkg feeds as well as act as a whiteboard for new revisions. |
Please note, ipkg/libipkg has an internal, hard coded buffer of 8k to handle parsing the feed elements for each package. This means that description fields need to get reduced in length to prevent segfaults.
[RFC] Version 2.3
NOTE1: New fields are in bold red
NOTE2: Modified fields are in bold black
Name | Definition |
---|---|
Size | Package size (in KB) |
Status | Installed/Not-installed (and other stuff we don't use) |
Architecture | all, armv7, armv6 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
|
Version 2.2
Name | Definition |
---|---|
Size | Package size (in KB) |
Status | Installed/Not-installed (and other stuff we don't use) |
Architecture | all, armv7, armv6, 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
|
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
|