This guide will help you host an APT repository on Github.
You need to install the following packages.
- reprepro
| version: '3' | |
| services: | |
| kafka-1: | |
| image: 'bitnami/kafka:3.3.1' | |
| container_name: kafka-1 | |
| environment: | |
| - KAFKA_ENABLE_KRAFT=yes | |
| - KAFKA_CFG_PROCESS_ROLES=broker,controller | |
| - KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER |
| #!/bin/bash | |
| # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| # PT009 use a regular assert instead of unittest-style '{assertion}' | |
| # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| # - to enforce the assertion style recommended by pytest | |
| # - to make use of pytest's assertion rewriting | |
| find tests/ -type f -name "test_*.py" -exec sed -i -E 's/self\.assertFalse\((.*)\)/assert not \1/g' {} \; | |
| find tests/ -type f -name "test_*.py" -exec sed -i -E 's/self\.assertTrue\((.*)\)/assert \1/g' {} \; | |
| find tests/ -type f -name "test_*.py" -exec sed -i -E 's/self\.assertEqual\(([^,]*), (.*)\)$/assert \1 == \2/g' {} \; |
| /bitrix/* | |
| !/bitrix/components | |
| /bitrix/components/bitrix/ | |
| !/bitrix/php_interface/ | |
| /bitrix/php_interface/dbconn.php | |
| /bitrix/php_interface/*.bak | |
| !/bitrix/templates/ | |
| !/bitrix/activities | |
| /bitrix/activities/bitrix/ | |
| /local/php_interface/dbconn.php |
| wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh |