Build and inspection management
Go to file
Dennis Eichhorn 093d526457 fix vendor
2023-09-24 16:03:38 +00:00
.github/workflows permission changes & minor bug fixes 2022-11-09 22:56:18 +01:00
Backup update scripts 2023-08-30 12:07:40 +00:00
Config fix vendor 2023-09-24 16:03:38 +00:00
Helper add rector 2023-09-22 17:56:56 +00:00
Hooks improve inspection 2023-05-30 14:01:30 +00:00
Inspection improve inspection 2023-05-30 14:01:30 +00:00
Js permission changes & minor bug fixes 2022-11-09 22:56:18 +01:00
Tools update 2023-08-28 22:06:04 +00:00
.gitattributes Fix permissions 2019-03-16 18:59:44 +00:00
.gitignore fix vendor 2023-09-24 16:03:38 +00:00
buildProject.php fix tests 2022-10-08 21:34:58 +02:00
buildProject.sh udpate scripts 2022-04-08 21:15:56 +02:00
config.sh fix url 2022-11-04 20:03:44 +01:00
ICAL.txt permission changes & minor bug fixes 2022-11-09 22:56:18 +01:00
info.php fix tests 2022-10-08 21:34:58 +02:00
LICENSE.txt change license 2022-08-20 11:57:50 +02:00
README.md update php version 2022-04-19 23:37:06 +02:00
setup.sh sql inspections 2023-01-07 18:56:55 +01:00

General

The Karaka 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.1 php8.1-dev php8.1-cli php8.1-common php8.1-mysql php8.1-pgsql php8.1-xdebug php8.1-opcache php8.1-pdo php8.1-sqlite php8.1-mbstring php8.1-curl php8.1-imap php8.1-bcmath php8.1-zip php8.1-dom php8.1-xml php8.1-phar php8.1-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.