Commit Graph

1017 Commits

Author SHA1 Message Date
jo 25e947c8bf Rename airtime-liquidsoap to libretime-liquidsoap
BREAKING:
sudo rm -f \
  /etc/logrotate.d/airtime-liquidsoap
2021-10-14 15:31:59 +02:00
jo 8be1366bef Rename python apps entrypoints
BREAKING: Remove old entrypoints using
sudo rm -f \
  /usr/{bin,local/bin}/airtime-liquidsoap \
  /usr/{bin,local/bin}/airtime-playout \
  /usr/{bin,local/bin}/pyponotify
2021-10-14 15:31:59 +02:00
jo bde2f2d494 Rename python apps
BREAKING: Remove old packages using
sudo pip uninstall \
  airtime-playout \
  airtime-celery \
  api_clients

Fix libretime-api-client import for playout
2021-10-14 15:31:57 +02:00
Kyle Robbertze 0450ca7aad
Merge pull request #1386 from jooola/feat/enhance_setup.py_deps
Add missing local api_client dependency
2021-10-12 07:09:42 +00:00
jo 893f172432 Add local api_client dependency to playout 2021-10-12 02:06:42 +02:00
jo c99f45996f fix: ignore ended items in playout push queue 2021-10-11 23:43:36 +02:00
jo a55962a42c Remove unused /run/airtime directory 2021-10-06 18:10:22 +02:00
jo d7615cfe37 Install pypo with pip and change script prefix to default /usr/local 2021-10-01 17:41:20 +02:00
jo c2df85c751 Cleanup redondant/useless requirements 2021-09-13 14:44:32 +02:00
jo d12e232a6f Add format target in makefiles 2021-09-13 14:43:18 +02:00
Kyle Robbertze 56f5a84146
Merge pull request #1339 from jooola/feat/ci_start_linting
Start linting 🎉 !
2021-09-13 12:01:31 +00:00
jo 3a336375c2 Setup python_requires to >=3.6
Fix python_requires format
2021-09-10 15:14:48 +02:00
jo 3dbc1205d0 Start linting with mypy 2021-09-10 15:14:48 +02:00
jo ceb40ee216 Use shared python makefile and start linting
Always update setuptools/wheel/pip

Never fail while linting

We use github annotations to impove the code incrementally.
2021-09-10 15:14:46 +02:00
jo 0d88d17f7c Use setup extra_requires for dev/prod dependencies
Also add pylint by default.
2021-09-10 13:45:27 +02:00
jo 3677a08656 Prepare Ubuntu 20.04 support
Start building docker dev images for testing purpose.
2021-09-09 17:54:27 +02:00
jo 1ec11f2a87 Prepare Debian 11 support
Start building docker dev images for testing purpose.
2021-09-09 16:31:55 +02:00
jo e69c2796fa Remove unused python packages from playout
- anyjson is failing with setuptools >=58, because it
dropped the use_2to3 support.
- other package are simply not used.
2021-09-07 11:08:58 +02:00
Kyle Robbertze 509f680e6d
Merge pull request #1309 from paddatrapper/fix/filesize-host
Use api_clients method to update file size of items on the server
2021-09-03 10:13:42 +00:00
Kyle Robbertze 1d33c037e3
Merge pull request #1322 from jooola/feat/housekeeping
Housekeeping
2021-09-02 18:59:04 +00:00
jo 45697aeaf3 Remove unused python modules in playout 2021-09-02 16:06:26 +02:00
jo 5a3b03cf19 Move playout authors credits in a README section 2021-09-02 16:06:26 +02:00
jo 3ac747f031 Remove license file in playout 2021-09-02 16:06:26 +02:00
jo c9e35b1f62 Update setup tools project details 2021-09-02 15:45:37 +02:00
jo cac25543c6 Drop Upstart support 2021-09-02 14:30:31 +02:00
jo 3da0310173 Drop SysV support 2021-09-02 14:30:31 +02:00
Kyle Robbertze ce3957fef1 rename report function 2021-09-01 15:25:38 +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 60c5c5fbb2 Move icecast from project to pypo packages 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 abc6420c05 Fix python shebangs
Some systems only provide a versionned `python3` executable.
2021-08-24 15:33:56 +02: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
jo 9881eebf55 Fix shellcheck warnings 2021-08-17 12:23:36 +02:00
jo b5f302ac61 Enhance bash shebangs 2021-08-17 12:22:47 +02:00
jo 8b3e09d41c Format shell scripts
Fix flags order
2021-08-17 12:22:46 +02:00
jo 81e9e9f17c Rename isAlive method to is_alive
Python 3.9 compatibility fix
2021-08-15 18:47:24 +02:00
jo 01fbd1e8b9 Add isort pre-commit hook
Sort import statement in python files

See https://github.com/PyCQA/isort
2021-06-05 00:39:35 +02:00
jo 1e1cf249f7 Search and replace unicode a0c2 with 0020 2021-06-05 00:39:35 +02:00
jo b26de72704 Remove python encoding pragma 2021-06-05 00:39:23 +02:00
jo 6871956baa Fix end of files 2021-06-04 17:06:05 +02:00
jo d8195f0fd8 Fix trailing whitespaces in files 2021-06-04 17:06:05 +02:00
jo c27f020d73 Format code using black 2021-06-04 17:06:05 +02:00
jo 65f7b41487 Fix spelling 2021-06-04 17:04:53 +02:00
jo ac17db97fc Fix missing encoding pragma on python files 2021-06-04 17:04:53 +02:00
Kyle Robbertze 2df0189a90 add API v2 2021-05-14 13:04:46 +02:00
Kyle Robbertze 3af17a6761 fix: force_ssl logic in pypofile 2021-02-10 16:34:42 +02:00
Jérôme Lebleu 298c5a9264 Fix missing 'fallback' kwarg for base_port in pypofile 2021-02-03 17:25:11 +01:00
Kyle Robbertze 7cb34df4fa Use force_ssl in python apps
Fixes: #957
2021-01-21 09:49:55 +02:00