Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Updated some of the information
Browse files Browse the repository at this point in the history
  • Loading branch information
wwahammy committed Jun 14, 2012
1 parent 5303c4e commit 24eadbe
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions src/dynamic/developers/autopackage.html.md
@@ -1,7 +1,7 @@
--- ---
layout: 'article' layout: 'article'
title: 'Making AutoPackage Files' title: 'Making AutoPackage Files'
version: 0.6 version: 0.7
--- ---


This document details the thought process for generating a `.autopkg` file to produce the desired output. For details on all possible fields of an AutoPackage file, [look here][ref-autopackage]. This document details the thought process for generating a `.autopkg` file to produce the desired output. For details on all possible fields of an AutoPackage file, [look here][ref-autopackage].
Expand All @@ -22,6 +22,7 @@ The documentation on this page is based upon CoApp.Devtools version 1.2.0.108.
* [developer-library](#devlib-role) * [developer-library](#devlib-role)
* [assembly](#assembly-role) * [assembly](#assembly-role)
* [Frequently Used Rules](#frequent) * [Frequently Used Rules](#frequent)
* [metadata](#metadata-rule)
* [Other Optional Rules](#optional) * [Other Optional Rules](#optional)


----- -----
Expand All @@ -32,7 +33,7 @@ The documentation on this page is based upon CoApp.Devtools version 1.2.0.108.
This contains much of the basic descriptive information about a package. This contains much of the basic descriptive information about a package.
``` c# ``` c#
package { package {
name: "MyPackage"; // Name or title of package. This is also called the "common name" name: "MyPackage"; // Name or title of package. This is also called the "common name" must only use ascii //letters, numbers, underscores and periods
version: "1.2.3.4"; /* Must be a 4-part version string: "a.b.c.d" version: "1.2.3.4"; /* Must be a 4-part version string: "a.b.c.d"
a = Major version a = Major version
b = Minor version b = Minor version
Expand All @@ -44,8 +45,17 @@ package {
Software with only 2- or 3-part versions should be left-justified, with Software with only 2- or 3-part versions should be left-justified, with
the build and revision numbers padded out to form a 4-part version. the build and revision numbers padded out to form a 4-part version.
As a general rule, the build number should never be less than "1". As a general rule, the build number should never be less than "1".
If not provided it will be extracted from the first binary file in the package. If no file exists, package will not build.
*/ */
arch: [x86 | x64 | any]; // Any particular package should be for exactly ONE of these architectures. arch: [x86 | x64 | any]; /* Any particular package should be for exactly ONE of these architectures. If not provided it will be extracted from the first binary file in the package. If no file exists, package will not build */


/* optional properties */
display-name: "any name"; /* a user friendly name, any string that is less than 260 characters I believe.*/

location: http://coapp.org/repository/${OutputFilename}; /* url to the location where package can be downloaded from.*/
feed: http://coapp.org/repository/packages.atom.xml; /* url to the feed where this and newer version of the package can be found. */
publisher: "publisher name"; // the name of a group or person publishing the package
} }
``` ```


Expand Down Expand Up @@ -140,6 +150,7 @@ requires {
"LibA-2-x86-1111222233334444", "LibA-2-x86-1111222233334444",
"LibB-9.1-x86-ffff0000ffff0000" "LibB-9.1-x86-ffff0000ffff0000"
}; };
//packages can be less specific
} }
``` ```
<span class="label warning">Note!</span> Please note that the version listed is a partial version and not a 4-part version. Providing a full 4-part version in the package identifier will bind against that **EXACT** version, and will not accept an alternate (binary compatable) installation. By providing a partial version, CoApp will look for any binary compatable version of the package specified that is at least the version specified. <span class="label warning">Note!</span> Please note that the version listed is a partial version and not a 4-part version. Providing a full 4-part version in the package identifier will bind against that **EXACT** version, and will not accept an alternate (binary compatable) installation. By providing a partial version, CoApp will look for any binary compatable version of the package specified that is at least the version specified.
Expand All @@ -150,7 +161,7 @@ If your package links to assemblies in another CoApp package, it may be necessar
manifest[zlib] { manifest[zlib] {
assembly : { assembly : {
// This is the assembly name to reference. // This is the assembly name to reference.
// It must be the name of an assembly from a package in the "requires" rule. (see «assembly role«#assembly-role» below) // It must be the name of an assembly from a package in the "requires" rule. (see assembly role#assembly-role below)
"zlib[vc10]" "zlib[vc10]"
}; };


Expand Down Expand Up @@ -208,7 +219,7 @@ developer-library[<LibName>] {


## [Frequently Used Rules](!frequent) ## [Frequently Used Rules](!frequent)


#### metadata #### [metadata](!metadata-rule)


#### compatability-policy #### compatability-policy


Expand Down

0 comments on commit 24eadbe

Please sign in to comment.