Build and inspection management
Go to file
2020-12-05 21:39:54 +01:00
.github/workflows Add NO_CI 2020-02-05 08:55:40 +01:00
Config phpcs fixes 2020-12-05 21:39:54 +01:00
Helper autofixes 2020-08-30 20:13:10 +02:00
Hooks update phpstan version 2020-02-25 22:46:48 +01:00
Inspection replace some phars with vendor packages 2020-10-07 23:00:38 +02:00
Js Fix permissions 2019-03-16 18:59:44 +00:00
sitespeed add issue information 2020-05-22 17:31:23 +02:00
Tools bump php version 2020-12-03 23:07:32 +01:00
.gitattributes Fix permissions 2019-03-16 18:59:44 +00:00
.gitignore undo reset 2020-07-31 15:39:11 +02:00
buildProject.php autofixes 2020-08-30 20:13:10 +02:00
buildProject.sh exclude documentation 2020-09-26 13:10:56 +02:00
config.sh fixes and cleanup 2019-12-14 23:38:07 +01:00
info.php autofixes 2020-08-30 20:13:10 +02:00
install.sh prepare for php 8.0 2020-11-30 22:21:37 +01:00
LICENSE.txt Fix permissions 2019-03-16 18:59:44 +00:00
minimumSetup.php remove db prefix 2020-03-12 18:02:55 +01:00
README.md improve readme 2020-09-12 08:46:29 +02:00
setup.sh replace some phars with vendor packages 2020-10-07 23:00:38 +02:00

General

The Orange Management build system is a collection of scripts to create builds. Builds that can get created are:

  • Public release builds
  • Public developer release builds

On top of the release builds the build system can also perform automated code inspections. This allows to run all tests and inspections without interaction and generates a report for developers at the end.

The last feature is the backend and documentation generation based on the DocBlock documentation.

Setup

  • Clone the repository somewhere save
  • Check out the install.sh file and/or run it
  • Modify the config.sh file to your needs
  • Run buildProject.sh

Dependencies

The build system will take care of most requirements, the following tools and commands have to be available on the system.

software-properties-common npm git php7.4 php7.4-dev php7.4-cli php7.4-common php7.4-mysql php7.4-pgsql php7.4-xdebug php7.4-json php7.4-opcache php7.4-pdo php7.4-sqlite php7.4-mbstring php7.4-curl php7.4-imap php7.4-bcmath php7.4-zip php7.4-dom php7.4-xml php7.4-phar php7.4-gd php-pear apache2 mysql-server postgresql postgresql-contrib vsftpd tesseract-ocr wget curl grep xarg sed composer

Inspections

The following inspections are performed:

  • Linting
  • Security
  • Unit tests
  • Metrics (loc, dependencies)
  • Code quality (crap, code coverage, code style)

In order to perform these inspections the build system relies on third party tools as well as custom scripts.