Difference between revisions of "Publish a Package"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
Publishing a package makes it available for tenants to install. It also makes it possible for the publisher (you) to automatically upgrade local Package Subscribers, using the [[Deploy]] option.
Publishing a package makes it available for tenants to install. It also makes it possible for the publisher (you) to automatically upgrade local Package Subscribers, using the [[Deploy]] option.
<noinclude>__TOC__</noinclude>
{{:Option:Publish Package}}
 
====Publishing a Package====
====Publishing a Package====
''Publishing'' a package creates a zip file that can be deployed to installers in one of several ways.
'''To publish a package:'''
#Follow the instructions to [[Package#Create_a_Package|Create a Package]], then [[Package#Add Item to a Package|Add items to the Package]].
#Optionally, click '''[Edit]''' to make changes to an existing package before publishing.
#Fill in the package settings below.
#Click '''[Publish]''' to begin the publishing process.


{{Enablefeature|Publish Package|Manage Tenant Capabilities|}}
====Publishing a Delta Package====
A ''delta'' package is one that contains only those elements which have changed--that is, the differences, or "delta", from the original version of the package. So if the original version of the package contained an entire application, the "delta" (update) package might contain a single object.


'''To publish a [[Package]]:'''
'''To publish a delta package:'''
#Follow the instructions to [[Package#Create_a_Package|Create a Package]], then [[Package#Add Item to a Package|Add items to the Package]].
#Follow the instructions to [[Package#Create_a_Package|Create a Package]], then [[Package#Add Item to a Package|Add items to the Package]].
#Optionally, click '''[Edit]''' to make changes to an existing package before publishing.
#Fill in the package settings below.
#Fill in the package settings below.
#Click '''[Publish]''' to begin the publishing process.
#Click '''[Publish]''' to begin the publishing process.
#Fill in the settings below.
#: Often, that is all you need to do to generate a delta package.
<blockquote>
#: Each item in the package has a {{^GUID}}, so the equivalent item in the target system is automatically updated when the package is installed.
=====Basic Information=====
#: At times, though, you need the additional behaviors that result from using the [[Overwrite Previous Package]] option.
:{| class="tight-rows"
#: That option updates a couple of object aspects that are normally left alone, and it causes items deleted from the source system to be deleted from the target system.
|-
# When package-overwrite behavior is needed, publish the package a second time, without changing it.<br>The overwrite option now appears.
|align="right" width="70em"| '''Name''' || Name of the package
# Choose the '''Overwrite Previous Package''' option to get those behaviors.
:''Learn more:'' [[Package Items#How Package Items are Applied]]


|-
====Package Settings====
| align="right"| '''Version'''  
:'''Basic Information'''
| Version number of the package.<br>The default value is an auto-incrementing dot-version:
::* '''Name -''' Name of the package
: If the Package version is "1", the default will be "1.1".
::* '''Version -''' Version number of the package.
: If the Package version is "1.1", the default will be "1.2", and so on
::*: The value can be set to whatever you like.
The value can be changed to whatever you like.
::*: The default value is an auto-incrementing dot-version:
: After publication, the value is displayed as the version number in the Package object.
::*::*  If the current Package version is "1", the default will be "1.1".
: (The Package object stores version numbers and notes for the last five versions.)
::*::* If the current version is "1.1", the default will be "1.2", and so on
::*::* After publication, the value is displayed as the version number in the Package object.<br>(The Package object stores version numbers and notes for the last five versions.)


|-
::* '''Version Notes -''' Notes about the package.
| align="right"| '''Version Notes'''
::*: Version notes appear in the package's [[Packages#Revision Details|Revision Details]].
| Notes about the package. <br>These notes appear in the revision list for the package.
::*: They are also shown to installers, when they are doing a direct online install--for example, from the [[Community Marketplace]].
|}
::*: The notes are not included in the archive, so they are not shown when installing from a file.
::*: (The notes should be copied to the email or web page that includes the file, along with any other information the installer needs to know.)


=====Installation Options=====
:'''Installation Options'''
:This section appears when the [[Overwrite Previous Package]] option has been enabled by the Service Provider.
:This section appears when the [[Overwrite Previous Package]] option has been enabled by the Service Provider.
:{| class="tight-rows"
::* '''Merge with Previous Version'''  
|-
::*: Make additions to installed package items, and add new package items.
|align="right" width="170em"| '''Merge with Previous Version'''  
::* '''Overwrite Previous Version'''  
| Make additions to installed package items, and add new package items.
::*: Delete installed package items that have been dropped from the package,<br>make additions to previously installed items, and add new items.<noinclude>
|-
 
| align="right"| '''Overwrite Previous Version'''  
[[Category:Development]]
| Delete installed package items that have been dropped from the package, make additions to previously installed items, and add new items.
[[Category:System Administration]]
|}
</noinclude>
</blockquote>

Latest revision as of 19:23, 14 July 2015

Publishing a package makes it available for tenants to install. It also makes it possible for the publisher (you) to automatically upgrade local Package Subscribers, using the Deploy option.

Lock-tiny.gif

Publishing a Package

Publishing a package creates a zip file that can be deployed to installers in one of several ways.

To publish a package:

  1. Follow the instructions to Create a Package, then Add items to the Package.
  2. Optionally, click [Edit] to make changes to an existing package before publishing.
  3. Fill in the package settings below.
  4. Click [Publish] to begin the publishing process.

Publishing a Delta Package

A delta package is one that contains only those elements which have changed--that is, the differences, or "delta", from the original version of the package. So if the original version of the package contained an entire application, the "delta" (update) package might contain a single object.

To publish a delta package:

  1. Follow the instructions to Create a Package, then Add items to the Package.
  2. Fill in the package settings below.
  3. Click [Publish] to begin the publishing process.
    Often, that is all you need to do to generate a delta package.
    Each item in the package has a GUID, so the equivalent item in the target system is automatically updated when the package is installed.
    At times, though, you need the additional behaviors that result from using the Overwrite Previous Package option.
    That option updates a couple of object aspects that are normally left alone, and it causes items deleted from the source system to be deleted from the target system.
  4. When package-overwrite behavior is needed, publish the package a second time, without changing it.
    The overwrite option now appears.
  5. Choose the Overwrite Previous Package option to get those behaviors.
Learn more: Package Items#How Package Items are Applied

Package Settings

Basic Information
  • Name - Name of the package
  • Version - Version number of the package.
    The value can be set to whatever you like.
    The default value is an auto-incrementing dot-version:
    • If the current Package version is "1", the default will be "1.1".
    • If the current version is "1.1", the default will be "1.2", and so on
    • After publication, the value is displayed as the version number in the Package object.
      (The Package object stores version numbers and notes for the last five versions.)
  • Version Notes - Notes about the package.
    Version notes appear in the package's Revision Details.
    They are also shown to installers, when they are doing a direct online install--for example, from the Community Marketplace.
    The notes are not included in the archive, so they are not shown when installing from a file.
    (The notes should be copied to the email or web page that includes the file, along with any other information the installer needs to know.)
Installation Options
This section appears when the Overwrite Previous Package option has been enabled by the Service Provider.
  • Merge with Previous Version
    Make additions to installed package items, and add new package items.
  • Overwrite Previous Version
    Delete installed package items that have been dropped from the package,
    make additions to previously installed items, and add new items.