Commit Graph

17171 Commits

Author SHA1 Message Date
jo 84c334eafb Add missing ffmpeg package for fixtures generation 2021-09-01 16:00:08 +02:00
jo 4a3ce313d1 Enhance CI workflow
- Explode tests in multiple jobs.
- Cache apt dependencies in a shared docker image.
- Run tests on different distribution (debian/ubuntu, and maybe centos).
2021-09-01 16:00:08 +02:00
Kyle Robbertze 1e7e8112df
Merge pull request #1246 from jooola/deps_manager
Create dependencies manager
2021-09-01 13:58:01 +00:00
jo fa35fc5b0e Remove sysv related packages 2021-09-01 15:51:40 +02:00
jo 4bd76f096c Fix packages path in installer 2021-09-01 15:33:48 +02:00
Kyle Robbertze ce3957fef1 rename report function 2021-09-01 15:25:38 +02:00
Kyle Robbertze 9c001a6d06 force keyword only arguments 2021-08-31 20:11:39 +02:00
Kyle Robbertze 815a253be0
Merge pull request #1306 from paddatrapper/fix/apt-update
add apt update to accept release suite change
2021-08-31 20:07:41 +02:00
jo fb3ee2d27a Install venv instead of virtualenv 2021-08-31 16:07:29 +02:00
jo 42acf124a0 Revert "Move icecast from project to pypo packages"
This reverts commit a6cca16e579aecd4540df228c9e288d4f4f3534a.
2021-08-31 16:07:29 +02:00
jo b5c9a6b2c7 Use packages manager in install script 2021-08-31 16:07:29 +02:00
jo 3b546a05c6 Remove install/apt folder 2021-08-31 16:07:29 +02:00
jo f5288109e5 Generate installer/apt/ files
Generate installer/apt/ files with our dependencies manager.
2021-08-31 16:07:29 +02:00
jo ee4cf4268d Remove coreutils as most system ship it 2021-08-31 16:07:29 +02:00
jo 06547efec7 Remove binaries not used by liquidsoap anymore 2021-08-31 16:07:29 +02:00
jo 7080aa4758 Add comment for sysv related packages 2021-08-31 16:07:29 +02:00
jo 34e836c746 pwgen package is not used anymore
See 989f040603
2021-08-31 16:07:29 +02:00
jo 154ee7cc22 Remove packages used for a workaroung on ubuntu 14
See 2ae2377ee2 (diff-0991ed0aaae32d2b0c9723cd9127f95bc19d176a5fd668d9b331f487136318fe)
2021-08-31 16:07:29 +02:00
jo b1cffc7b7d Add comment for zip/unzip packages 2021-08-31 16:07:29 +02:00
jo 01141606fd libpq-dev is required for psycopg2 in production
This is a package for the API.
2021-08-31 16:07:29 +02:00
jo 62938c3a83 Remove unused patch packages for centos 2021-08-31 16:07:29 +02:00
jo 60c5c5fbb2 Move icecast from project to pypo packages 2021-08-31 16:07:29 +02:00
jo 5b5505d42a Add comment about build-essential 2021-08-31 16:07:29 +02:00
jo 1cfd1cd013 Add comment about lame 2021-08-31 16:07:29 +02:00
jo bfd8e8aecf ecasound is used by the show recorder in pypo 2021-08-31 16:07:29 +02:00
jo 18f9c81b74 Add dependencies manager
Used to generate list of packages dependencies
for different distributions, and should improve
dependencies management by having them in each project.
This tools should gather the reason why a dependency is present,
so one can remove it when unused.

Rename deps script to packages

Move installer/packages to scripts and write tests

Remove packages-list make target
2021-08-31 16:07:21 +02:00
jo 30611f1d80 Remove already recommended packages by liquidsoap
Many packages are already in the recommends list
of the liquidsoap package or from the
plugin packages (only bionic), so we don't need to
install them manually.
2021-08-31 15:22:46 +02:00
jo f2b9391a22 Remove unused packages from apt requirements 2021-08-31 15:22:46 +02:00
jo 854663e51d Remove duplicate entries 2021-08-31 15:22:46 +02:00
jo 3e4968244d Sort apt requirements files 2021-08-31 15:22:46 +02:00
Kyle Robbertze 9db31c68ed
Merge pull request #1314 from jooola/feat/rework_fixtures
Generate analyzer fixtures
2021-08-31 14:00:32 +02:00
jo 6238455aaf Generate +/- dB files 2021-08-31 11:02:12 +02:00
jo 9f768bb5c4 Rework tests to work with new fixtures 2021-08-30 21:23:48 +02:00
jo 8ac5c1ba03 Generate analyzer fixtures using ffmpeg 2021-08-30 21:23:38 +02:00
Kyle Robbertze eb3ac44fa5
Merge pull request #1313 from xabispacebiker/arrow-icon-fix
Update styles.css
2021-08-26 11:49:33 +02:00
Kyle Robbertze 3babb458e2
Merge pull request #1312 from jooola/fix/shebangs
Fix python shebangs
2021-08-24 15:43:04 +02:00
jo abc6420c05 Fix python shebangs
Some systems only provide a versionned `python3` executable.
2021-08-24 15:33:56 +02:00
Kyle Robbertze e675647a41
Merge pull request #1311 from malespiaut/patch-1
Fixing a permission bug in the install script.
2021-08-24 12:19:23 +02:00
Marc-Alexandre Espiaut 44e654bc95
Fixing a permission bug in the install script.
On a fresh Ubuntu 18.04 install, the script stops when trying to execute `build.sh`. Calling `bash` to launch the script fixes the issue.
2021-08-24 08:00:16 +00:00
Kyle Robbertze d8780e8add use api_clients method to update file size of items on the server 2021-08-20 13:55:01 +02:00
Kyle Robbertze b193e0a28c add apt update to accept release suite change
Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929248
2021-08-18 17:56:45 +02:00
Kyle Robbertze 0c76ed72fb
Merge pull request #1303 from jooola/fix/api_client_v2_get_schedule
Fix api client v2 get schedule
2021-08-18 17:12:48 +02:00
jo 577e581959 Explode datetime import statement 2021-08-18 17:05:29 +02:00
jo efd362eb62 Scheduler should prepare 1 day ahead, not 1 hour
The old API client v1 used to call the following action, and underlying schedule model:
d6093f7356/airtime_mvc/application/controllers/ApiController.php (L720-L730)
d6093f7356/airtime_mvc/application/models/Schedule.php (L1118-L1140)

The new API v2 prepared 1 hour of scheduled track instead
of 1 day in the old  API.
2021-08-18 16:19:58 +02:00
Xabi Spacebiker 32cfff1815
Update styles.css
Fixed arrow-icon position. In the master branch, the icon arrow looks open when it'd be closed and viceversa.
2021-08-18 14:14:07 +02:00
Kyle Robbertze d6093f7356
Merge pull request #1301 from jooola/feat/upgrade_pre-commit
Upgrade pre commit hooks
2021-08-17 23:44:53 +02:00
jo 6d8e6e15cf Add extra builtin dictionnary for codespell 2021-08-17 22:49:55 +02:00
jo 7fbbce0032 Upgrade pre-commit hooks 2021-08-17 22:45:24 +02:00
Kyle Robbertze ff96d554a1
Merge pull request #1299 from LibreTime/revert-1298-fix/web-root
Revert "Fix default web_root"
2021-08-17 21:14:45 +02:00
Kyle Robbertze cd60f4f7a9
Revert "Fix default web_root" 2021-08-17 21:14:15 +02:00