[Bug 1047510] Review Request: php-opencloud - PHP SDK for OpenStack/Rackspace APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1047510



--- Comment #5 from Adam Williamson <awilliam@xxxxxxxxxx> ---
I've been looking into making OC's loading of 3rdparty libs for apps sane
today. AFAICS, OwnCloud's autoloader doesn't handle libs in
apps/some_app/3rdparty directories. It only handles core stuff. It might be
nice to make it handle this well - something like look in
apps/some_app/3rdparty when something from apps/some_app tries to access a
function - but I don't think it's trivial, and I'm not sure they'd want to take
patches which simply added apps/some_app/3rdparty/foo to the autoloader
*unconditionally*.

right now I'm working on a patch set which would make all apps consistent in
how they do things: add some_app/3rdparty to the include_path, then
require_once whatever they need to require relative to that. But for us not to
carry patches downstream, that does require us to use the same layout in
/usr/share/php or /usr/share/pear or whatever that OC has in some_app/3rdparty
.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]