Build and inspection management
Go to file
2021-03-05 21:00:00 +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 fix php8 setup 2021-02-06 13:47:34 +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 fix php version 2021-03-05 21:00:00 +01: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 php8.0 php8.0-dev php8.0-cli php8.0-common php8.0-mysql php8.0-pgsql php8.0-xdebug php8.0-opcache php8.0-pdo php8.0-sqlite php8.0-mbstring php8.0-curl php8.0-imap php8.0-bcmath php8.0-zip php8.0-dom php8.0-xml php8.0-phar php8.0-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.