Bug 1262185
| Summary: | ownCloud bundles all kinds of crap (patchwork, punic, forks of smb4php and phpzipstreamer) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | owncloud | Assignee: | James Hogarth <james.hogarth> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | awilliam, d.bz-redhat, fedora, helio, ignatenko, james.hogarth, samuel-rhbugs, shawn |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-01 23:31:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1262468, 1262469, 1296901, 1296939, 1298475, 1298649 | ||
| Bug Blocks: | 504493 | ||
|
Description
Adam Williamson
2015-09-11 05:03:21 UTC
I just submitted review requests for php-punic (bug #1262468) and php-patchwork-utf8 (bug #1262469) This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. As a quick update to this... The 8.2.2 work has brought the bundling down to: Provides: bundled(deepdiver1975/tarstreamer) Provides: bundled(interfasys/lognormalizer) Provides: bundled(league/flysystem) Provides: bundled(pear/console_getopt) Provides: bundled(pear/pear-core-minimal) Provides: bundled(swiftmailer) Provides: bundled(mcnetic/phpzipstreamer) why pear/console_getopt and pear/pear-core-minimal, both are available ? Because I managed to miss them whilst working through the others.... Guess there will be a 8.2.2-2 in due course with more hacking to unbundle done on it ;) mcnetic/phpzipstreamer => review #1296901 deepdiver1975/tarstreamer => owncould/tarstreamer => review #1296939 As I recall, the phpzipstreamer in ownCloud is forked from upstream's, there are more detailed notes in the spec file; so just packaging upstream may not be enough to unbundle OC's usage. @Admn, thanks for the notice, but I think this is ok now.
From 8.2.2 3rdparty/composer.lock
"name": "mcnetic/zipstreamer",
"version": "v0.7",
"source": {
"type": "git",
"url": "https://github.com/McNetic/PHPZipStreamer.git",
"reference": "44c99c659abf4dac92882437c1da68de824ca9d0"
},
Which is the exact revision in https://github.com/remicollet/remirepo/blob/94ad2fa705b18be2d1fd223c6b9a44289f0ab032/php/php-mcnetic-zipstreamer/php-mcnetic-zipstreamer.spec#L9
Diffing the sources is also ok (the only diff is my patch to fix the test suite)
ah, cool, I guess they finally reconciled with upstream then. league/flysystem => review request #1298475 interfasys/lognormalizer => review #1298649 This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase So the 8.2 which is in progress of going out will be completely unbundled of php libraries thanks to Remi's hard work. The expectation is that 9.0 will be the same. The question remaining is that this was focused on the php side of things - how about the javascript side? The included jquery should be simple enough to unbundle to js-jquery1 but there's a few other things too such as bootstrap, underscore, handlebars, jcrop etc Should these also be unbundled similar to the php side of things or are we considering these acceptable bundling given the lack of composer.lock style information in the javascript world to lock down versions? Perhaps just test unbundling jquery to js-jquery1 ? This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Well thanks to the sterling work of many there are no bundled PHP libraries in owncloud in our repos at this point. 1) EPEL6 - about to be retired so can be ignored 2) EPEL7 - the 8.2.3 update which strips all the php bundling and the autoloader about to hit testing 3) F22/23/24/rawhide - the initial 8.2.3 update has already gone out with the unbundling, in testing is an additional bundling we caught in testing and the autoloader based build As a result of the above I'm going to close this with NEXTRELEASE finishing the clean up. |