Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions changelog/unreleased/41824
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Bugfix: Ship only the app payload in the release tarballs

The release bundles contained 13 bundled apps as the working tree they had been
built in, rather than as the app's release artifact. Each of those app
directories carried `.git/` (a shallow clone including its pack file),
`.github/`, `tests/`, `vendor-bin/` and `build/artifacts/`, the last holding a
second copy of the app's own tarball. That was 101.94 MB of the 441.8 MB
uncompressed complete tarball, in 16 shipped git repositories.

Three things made it more than dead weight. `files_antivirus` shipped its
anti-virus acceptance data, so a ClamAV scan of the tarball, or of any image
built from it, reported `Eicar-Test-Signature FOUND` and could be rejected by an
anti-virus gate. The development files were covered by the app's
`appinfo/signature.json`, so an administrator could not delete them without
breaking `occ integrity:check-app`. And the shipped `.git/` carried the release
engineer's clone metadata, including their name and e-mail address.

The affected app releases have been repackaged, and the release tooling now
refuses to build a bundle that contains a build working tree, so this cannot
recur unnoticed. The standard tarball was affected as well, through
`notifications`.

https://github.com/owncloud/core/issues/41824
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
// We only can count up. The 4. digit is only for the internal patch-level to trigger DB upgrades
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patch-level
// when updating major/minor version number.
$OC_Version = [11, 0, 0, 0];
$OC_Version = [11, 0, 1, 0];

// The human-readable string
$OC_VersionString = '11.0.0';
$OC_VersionString = '11.0.1';

$OC_VersionCanBeUpgradedFrom = [[8, 2, 11],[9, 0, 9],[9, 1]];

Expand Down