Feature #2293

Implement Composer PSR-0 autoloader

Added by Davide Principi about 6 years ago. Updated over 5 years ago.

Status:CLOSEDStart date:10/28/2013
Priority:NormalDue date:10/29/2013
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v1.5.0
Resolution: NEEDINFO:No

Description

Move autoloader out of Nethgui Framework:

http://getcomposer.org/doc/01-basic-usage.md


Related issues

Related to NethServer 6 - Enhancement #2167: Remove external JS libraries from source repositories CLOSED 11/11/2013 11/12/2013

Associated revisions

Revision 5a231a53
Added by Davide Principi almost 6 years ago

Use Composer PSR-0 autoloader. Refs #2293

Revision 3ab7c556
Added by Davide Principi almost 6 years ago

Use Composer PSR-0 autoloader. Refs #2293

Revision ab670b72
Added by Davide Principi almost 6 years ago

Use PSR-0 autoloader also on index_dev.php controller. Refs #2293

Revision 90fb403d
Added by Davide Principi almost 6 years ago

Use Composer PSR-0 class loader for unit tests. Refs #2293

History

#1 Updated by Davide Principi almost 6 years ago

  • Due date set to 10/29/2013
  • Status changed from NEW to TRIAGED
  • Target version changed from ~FUTURE to v6.5-beta3
  • Start date set to 10/28/2013
  • % Done changed from 0 to 20
  • Estimated time set to 6.00

#2 Updated by Davide Principi almost 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#3 Updated by Davide Principi almost 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Removed autoloader function from Nethgui\Framework. Now framework user must use Composer to setup PSR-0 autoloading.

Modified nethserver-httpd-admin, nethserver-devtools accordingly

Test case
There must be no visible changes to NethServer web UI

#4 Updated by Davide Principi almost 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-nethgui-1.2.4-1.0git5a231a53.ns6.noarch.rpm
nethserver-httpd-admin-1.0.6-1.0git3ab7c556.ns6.noarch.rpm

In nethserver-updates:
nethserver-devtools-1.1.0-1.ns6.noarch.rpm

#5 Updated by Giacomo Sanchietti almost 6 years ago

  • Assignee set to Giacomo Sanchietti

#6 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Web GUI is working as expected.

Tested with:
  • nethserver-nethgui-1.2.4-13.0gitb814d52a.ns6.noarch
  • nethserver-httpd-admin-1.0.6-12.0git547b73e8.ns6.noarch
  • nethserver-devtools-1.1.0-1.ns6.noarch.rpm

Marking as VERIFIED

#7 Updated by Davide Principi almost 6 years ago

  • Status changed from VERIFIED to CLOSED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-samba-1.4.0-1.ns6.noarch.rpm
nethserver-directory-1.3.0-1.ns6.noarch.rpm
nethserver-dnsmasq-1.1.0-1.ns6.noarch.rpm
nethserver-shorewall-1.0.3-1.ns6.noarch.rpm
nethserver-mail-server-1.5.0-1.ns6.noarch.rpm
nethserver-mail-filter-1.1.4-1.ns6.noarch.rpm
nethserver-nethgui-1.3.0-1.ns6.noarch.rpm
nethserver-base-1.5.0-1.ns6.noarch.rpm
nethserver-lib-1.4.0-1.ns6.noarch.rpm
nethserver-httpd-admin-1.1.0-1.ns6.noarch.rpm
nethserver-yum-1.2.0-1.ns6.noarch.rpm
nethserver-ntopng-1.1.0-1.ns6.noarch.rpm

#8 Updated by Davide Principi over 5 years ago

  • Target version deleted (v6.5-beta3)

Also available in: Atom PDF