-
Notifications
You must be signed in to change notification settings - Fork 26
Environment management
ARS uses Environments to convey compatibility information to users and to automated update clients.
An Environment consists of two fields.
Environment Title is the human-readable label shown to the user. We recommend using simple, short strings such as "Joomla 4.0", "PHP 7.3" and so on.
XML update stream platfomr is a machine readable version of the compatibility information. It consists of a prefix, a forward slash and a version number. For example joomla/4.0
means that the software is compatible with Joomla 4.0 whereas php/7.4
means that the software is compatible with PHP 7.4.
Only the joomla
and php
prefixes carry special meaning. They will be used to generate the corresponding compatibility fields in the Joomla XML update stream, one XML field per environment.
You can but shouldn't use complex patterns such as joomla/(3\.9)|(3\.10)|(4\.0)
for Joomla 3.9, 3.10 and 4.0 compatibility. The resulting XML will be valid but you are undermining yourself in the long term. If you think about it you'll see why (hint: how do you handle Joomla 4.1 being released or dropping Joomla 3.9 support?). Moreover, this kind of complex pattern is incompatible with our Version Compatibility component.
We recommend using the following prefixes:
-
joomla/
for Joomla! version numbers. -
php/
for PHP version numbers. -
wordpress/
for WordPress version numbers. -
windows/
for Windows version numbers. -
linux/
for Linux. Things are murkier here since there's no versioning besides the kernel. You could instead target individual distributions by using prefixes such asubuntu/
,debian/
,fedora/
etc. -
macos/
for Mac OS X and macOS. Note that macOS Big Sur onwards the major version number was bumped from 10 to 11. -
pdf/
for PDF files. It's best to use the PDF version used by your document, e.g.PDF/1.4a
.
Copyright (C) 2010-2017 Akeeba Ltd.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section "GNU Free Documentation License".
Introducing Akeeba Release System
- Understanding the structure of a repository
- Category management
- Release management
- Item management
- Environment management
- Download IDs
- Viewing the logs
- Component options