What's new in 2015.1
This section provides a summary of the notable changes in Swarm for the
2015.1 release. Full details are available in the distribution's
RELNOTES.txt
file.
Major new functionality
- Localization support
-
User-facing strings now run through a translation component that supports string replacement, escapement, and pluralization. The default locale, and a fallback locale, can be set in the configuration file. The browser's locale is detected automatically, although this can be disabled.
See Locale for details.
- Download ZIP archive
-
Files and folders can now be downloaded as ZIP archives. Any depot path can be archived, however it must not be larger than 512mb (the default limit).
See Downloading files as ZIP archive and Archives configuration for details.
- Changelist files limit
-
Swarm now limits the number of files displayed in a changelist. Previously, if you viewed a particularly large change with many thousands of files, Swarm might run out of memory. Swarm now limits the number of files displayed to 1,000 (by default), and the limit is configurable.
See Changelist files limit for details.
Minor new functionality
- Enhanced recognition of JIRA references
-
Swarm now detects JIRA issues that are wrapped in round brackets "()", and curly braces "{}".
- XHProf module improvement
-
The XHProf module now automatically cleans up old report files. Previously, if XHProf was enabled the number of log files would grow over time, and due to their large size consume a significant amount of disk space.
- Timeout for large commits
-
A configurable timeout now controls how long Swarm can spend submitting files to a Perforce service.
See Commit timeout for details.
- Better connection error handling
-
Swarm now detects errors connecting to a Perforce service and reports them as HTTP 503 errors (service unavailable). This improvement should assist in debugging problems with the port, user, and password configuration.
- Minor visual refresh
-
User avatars now appear rounded. Rows in tables no longer appear with alternating background colors (zebra striping).
- Worker notification
-
A notice has been added to the top of the Swarm home page when Swarm detects that no workers are running. This helps highlight a common configuration problem.
- Review state transition rules improved
-
The rules governing review state transitions have been improved to allow review authors to approve or reject their own reviews if they are a branch moderator.
See State change restrictions with moderation for details.
Known limitations
- Access Control
-
Swarm maintains a variety of information in the Perforce service's keys facility. By default, users with list-level privileges can read these keys, which can include comments that contain excerpts of code they may not normally have access to.
Perforce server version 2013.1 and higher have a configuration setting to require admin-level privileges. See Hiding Swarm storage from regular users.
- Virtual host recommended
-
Swarm must be installed to the root of a domain. We recommend creating a virtual host dedicated to Swarm.
- LibreOffice
-
Due to issues with LibreOffice's headless mode on the Mac platform, Swarm cannot display Office-type file formats if it is installed on the Mac platform.
- Task Stream Reviews
-
Pre-commit reviews in a task stream are not yet supported.
- Trigger script for Windows
-
We include a trigger script for both Linux/Mac and Windows; however, the Windows variant currently lacks support for the following features:
-
enforce (enforce that submits are tied to an approved Swarm review)
-
strict (ensure the content of submits matches the content of their associated approved Swarm review)
-
- Trigger table entries with '%quote%' not supported on 2010.2
-
The Swarm trigger scripts (found in p4-bin/scripts) document the trigger table entries to add, making use of
%quote%
to surround the pathname to the script; however,%quote%
is not supported on 2010.2 Perforce Servers (they are harmless though). If you're running a 2010.2 Perforce server, ensure that there are no spaces in the path to the trigger script. - KText reviews and strict triggers
-
Reviews that involve KText files are not currently compatible with the
strict
trigger as the keywords make the review's files appear to be modified even when they are unchanged. - 2014.2 RPM package upgrade issue
-
Upgrades from 2014.2 RPM packages are incorrectly treated as new installations by the packaging system. This is due to the package being renamed in 2014.3. Minor configuration issues might result.
- RHEL/CentOS 7.x support
-
Multiple issues prevent Swarm RPM packages from installing correctly on RedHat Enterprise Linux, or CentOS, versions 7.0 or higher.