Table of Contents
<Name>
<Version>
<Framework>
<Vendor>
<URL>
<License>
<ChangeLog>
<Description>
<BuildHost>
<BuildDate>
<PackageRequired>
<ModuleRequired>
<OS>
<Filelist>
<DatabaseInstall>
<DatabaseUpgrade>
<DatabaseReinstall>
<DatabaseUninstall>
<IntroInstall>
<IntroUninstall>
<IntroReinstall>
<IntroUpgrade>
<CodeInstall>
<CodeUninstall>
<CodeReinstall>
<CodeUpgrade>
<PackageMerge>
IfPackage
and IfNotPackage
LinkObject
API changesThe OPM (OTRS Package Manager) is a mechanism to distribute software packages for the OTRS framework via HTTP, FTP or file upload.
For example, the OTRS project offers OTRS modules like a calendar, a file manager or web mail in OTRS packages via online repositories on our ftp servers. The packages can be managed (install/upgrade/uninstall) via the admin interface.
If you want to create an OPM online repository, just tell the OTRS framework
where the location is by activating the SysConfig setting Package::RepositoryList
and adding the new location there. Then you will have a new select option in the package manager.
In your repository, create an index file for your OPM packages. OTRS just reads this index file and knows what packages are available.
shell> bin/otrs.Console.pl Dev::Package::RepositoryIndex /path/to/repository/ > /path/to/repository/otrs.xml
You can use the following OPM commands over the admin interface or over
bin/otrs.PackageManager.pl
to manage admin jobs for OPM packages.
Install OPM packages.
Web: http://localhost/otrs/index.pl?Action=AdminPackageManager
CMD:
shell> bin/otrsConsole.pl Admin::Package::Install /path/to/package.opm
Uninstall OPM packages.
Web: http://localhost/otrs/index.pl?Action=AdminPackageManager
CMD:
shell> bin/otrsConsole.pl Admin::Package::Uninstall /path/to/package.opm
Upgrade OPM packages.
Web: http://localhost/otrs/index.pl?Action=AdminPackageManager
CMD:
shell> bin/otrsConsole.pl Admin::Package::Upgrade /path/to/package.opm
List all OPM packages.
Web: http://localhost/otrs/index.pl?Action=AdminPackageManager
CMD:
shell> bin/otrsConsole.pl Admin::Package::List