Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

develop into test/master-fix-history-2 #14

Merged
merged 81 commits into from
Dec 21, 2023

Conversation

AlvinSchiller
Copy link
Owner

No description provided.

s-martin and others added 30 commits December 23, 2022 23:49
* Updated Python versions to use for CI

* Update pythonpackage.yml

* Don’t check 3.10
* Create php.yml

* Update php.yml

* Update php.yml

* Update php.yml

* Update php.yml

* * enable PHP Composer validation and running tests in Github Action
* fix composer.json
* update composer.lock

* fix yaml syntax

* added mission parameters in test data

* update phpunit and phpmock and fix warnings

* separate group for tests, which require a real env
* Remove Gmusic 

https://play.google.com/music

* Remove link to Gmusic
This implementation was never finished and now we have a full python implementation „future3“.

Propose to delete this folder.
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.27 to 9.5.28.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.5.28/ChangeLog-9.5.md)
- [Commits](sebastianbergmann/phpunit@9.5.27...9.5.28)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update setup_pirateAudioHAT.sh

Fix MiczFlor#1974

* Update README.md

* Update setup_pirateAudioHAT.sh

Support early and late revisions of PirateHat, see pimoroni/pirate-audio#63 (comment)

* Update README.md

Support early and late revisions of PirateHat, see pimoroni/pirate-audio#63 (comment)

* Update README.md
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.28 to 9.6.4.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](sebastianbergmann/phpunit@9.5.28...9.6.4)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add patch for serializable

* Update php.yml
* Update dockerimage.yml

* Update dockerimage.yml

* fix yml

* Update dockerimage.yml

* Use cache

* Update dockerimage.yml
unquoted "is set" check fails if var is not set and if-statement has a subsequent check. Further the preceding "is empty" check is sufficient in this case.
* overhaul docs for 2.x

* remove outdated docs

* fix warnings and minor improvements

* move howto to wiki

* move howto to wiki

* move the calender up

* add link to 3x readthedocs migration
* Handler gets called when pushing AND releasing the button
* The handler should be called only when the button is pressed, as configured here: https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/develop/components/gpio_control/GPIODevices/simple_button.py#L86
* removed "is set" check (#)

unquoted "is set" check fails if var is not set and if-statement has a following check. Further the preceding "is empty" check is sufficient in this case.

* Sync fuer shortcuts und audiofile von lokalem Ordner (wenn Datei/Ordner nicht existent)

* chmod und chown korrigiert. update mpc angepasst

* sync in eigenes Script ausgelagert

* Settings in conf ausgelagert. Weitere Anpassungen im Abluaf

Enabled Flag hinzugefuegt, mit fruehem ausstieg.
rsync command ignoriert nun hinzufuegen der "folder.conf" als Aenderung.
- hierdurch sync nicht nur bei erstem Scan sondern immer moeglich
Ordner auf Remote werden initialisiert wenn nicht vorhanden.

* Synchronisierung korrigiert

Uunveraenderte Dateien werden uebersprungen (--update). Permissions ignoriert (--np-perms). folder.conf als Aenderung ignoriert (--exclude).
Nachtraegliches Setzen der Persmission korrigiert.

* gitignore erweitert

* Sync Shared als Componente ausgelagert

* Sync Shared Flag angepasst

* Skripte Pfade und Aufrufe korrigiert

* Skript Name angepasst

* Install Skript hinzugefuegt

* ReadMe hinzugefuegt

* New feature 'full sync'. rsync options corrected

Added full synchronisation on rfid scan.
Changed rsync option to correctly sync files and ignore 'folder.conf' and 'placholder' file

* Added DEBUG_sync_shared_sh to WebUi

* Added new Feature

Command for changing acticvation of 'cync on rfid scan'

* corrected description of new Command

* Timeout for server check added to settings

* Added script for configuration. Improved installation

* Adjusted sync rules for folder.conf

Sync folder.conf from server, but dont delete it if only present on phoniebox (except folder will be deleted)

* Added Readme

* Readme adjusted

* Readme adjusted

* refactored sync script.

* changed definition of owner and rights in setup conf

* refactored sync script

added function for changing access of files/folder
changed definition of SYNC*PATH variables

* refactoring and path handling

Make sure the path variables are alike and dont have a trailing slash
moved command handling to funtions
moved rsync to single function
moved server check to funtion

* removed leftover var

* new rfid commands harmonised

* minor corrections

* Added synchronisation mode SSH

config updated for new settings

* Settings sample updated

* Exclude special folders from syncing

* renamed folder sync-shared-from-server to sync-shared

Updated README.md

* refactored commands to playout_control.sh

fullsync and changeOnRfidScan refactored to playout_controls.sh

* fixed exec_for_mode for paths with whitespaces

* use consinstent quotation

* use consistent var access

* removed unused logic

* added documentation comments to conf file

* reordered conf and updated README

* updated README

* refactored function definition

* fixed sync_from_server for paths with whitespaces

* applied editorconfig

* applied filename convention

* refactored filepath to var

* updated README

added special thanks section

* fixed db update after sync for spotify version

* install packages for openssh-client added

* updated comments

* Update README.md

* fixed logic for subfolder shortcuts

* Update README.md
* Delete stretch-install-default-HotspotAddOn.sh

* Delete stretch-install-default.sh

* Delete Dockerfile.stretch.amd64

* Delete Dockerfile.stretch.armv7

* Remove stretch tasks

* Delete 15-fastcgi-php.conf.stretch-default.sample

* Delete php.ini.stretch-default.sample

* Delete sudoers.jessie-default.sample

* Delete sudoers.stretch-default.sample

* Delete wpa_supplicant.conf.stretch.sample

* Delete smb.conf.stretch-default.sample

* Delete smb.conf.stretch-default2.sample

* Delete smb.conf.jessie-default.sample

* Delete lighttpd.conf.jessie-default.sample

* Delete lighttpd.conf.stretch-default.sample

* delete unsused dhcpcd.conf files
* Add bullseye Dockerfile

* Update dockerimage.yml

* Fix name

* Fix name

* Make version of php depending on installed ver

* Adding two missing tests for bullseye
These test files are now located in ./components/gpio_control/test
added quotation for correct interpretation
dependabot bot and others added 29 commits October 2, 2023 01:38
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v2.10.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.11 to 9.6.13.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.13/ChangeLog-9.6.md)
- [Commits](sebastianbergmann/phpunit@9.6.11...9.6.13)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](docker/setup-qemu-action@v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* check for user 'pi' and home '/home/pi'
retrieve correct information even if called with sudo

* use correct user in docker and test scripts.

docker env USER added.
var USER is not exported by default.

test installation script now uses current user and home from env.
removed duplicate test script for alternative user.

* check and handle installation exitcode

* harmonize workflow trigger.
activated test2 for buster

* fix cron schedule.

Only run once at 5, not every minute
* fixed markdown warnings

* fix flake warnings
* removed obsolete v3.x workflow files

* set user and group as build args to test altuser

removed now obsolete "*_altuser" Dockerfile

* set GIT_BRANCH and GIT_URL as build args

makes sure that the installation script uses the current repo/branch

* use correct variables for refname resolving

* harmonized workflow and Dockerfiles

* optimize test docker performance. copy changed

only include the scripts that are needed.
Otherwise every code change will invalidate the container cache.
changed internal path of container and test scripts

* optimize test docker performance. refactored

changed thestructure to use the cache as much as possible.
repo url -> packages -> user -> scripts

* changed cache key

with ref instead of ref_name pull request will get a different cache

* get username with whoami

to be compatible with containers

* implemented different strategies for uniformity

* set noninteractive on debconf

get rid of warning "debconf: unable to initialize frontend: Dialog"
export DEBIAN_FRONTEND=noninteractive does not work with sudo

* unified workflow for debian. delete obsolete files

* fix branch name on pr

* refactored into subworkflow

* fixed apt-key deprecation

* unified Dockerfile. renamed workflow files

* fix repo name on pullrequest
Bumps [mopidy-iris](https://github.com/jaedb/iris) from 3.68.0 to 3.69.2.
- [Release notes](https://github.com/jaedb/iris/releases)
- [Commits](jaedb/Iris@3.68.0...3.69.2)

---
updated-dependencies:
- dependency-name: mopidy-iris
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [php-mock/php-mock-phpunit](https://github.com/php-mock/php-mock-phpunit) from 2.7.2 to 2.8.0.
- [Release notes](https://github.com/php-mock/php-mock-phpunit/releases)
- [Commits](php-mock/php-mock-phpunit@2.7.2...2.8.0)

---
updated-dependencies:
- dependency-name: php-mock/php-mock-phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* merge autohotspot setup into main install script

* added autohotspot config step

* fix intendation

* fix tests

* add "iw" to needed packages.
Update docker packages

* refactored into sample confs.
disable autohotspot service if not selected.
remove old docs

* use crontab command.
reactivate disable powermanagment.
update comments.
remove obsolete files and calls.

* hamonized function calls

* only copy original file if not already present.

even with multiple invocation we want to keep the first original file.
Delete autohotspot service in helperscript

* update CODEOWNERS

* remove changes for autohotspot if not selected

* ignore output on service check

* fixes for "clear autohotspot configurations"

* added test for autohotsppt installation

* fix intendation

* check for activated wifi device

* moved autohotspot installation to separate script

moved autohotspot.sh to sampleconfig

* fix remove crontab entry

* unified: dont remove autohotspot configuration

* fix refactored device / ssid check logic

on boot or after unblock of wifi the device can give additional errorcodes (-11)
this caused incorrectly a hotspot start

* fix conf file copy handling on multiple invocation

* update docs

* refactored duplications

* fix for deactivated wifi on startup

also check for hard blocked wifi

* add --force-hotspot option for easier testing

* update script with changes from original source

* extend service handling durin installation

* some clean up

* fix var checks

* update docs

* update docs
* add autohotspot config checks

* print info if AUTOHOTSPOTconfig is not set
* fixed markdown warnings

* fix flake warnings

* * use bookworm
* use venv as Bookworm implemented PEP668
* explicitly install netcat-traditional package

* dont sudo activate

* allow breaking system packages

* fix break-system-packages, as this switch doesnt exist pre bookworm

* improve command for break system packages

* set break system packages globally

* fix permissions for mpd.conf

* revert last commit

* explictily start mpd

* explicitly stop mod when using Spotify

* use parallel for coveralls
* Renamed INSTALL-stretch.md to INSTALL.md

* Update links to 'one line installer'

* Moved and Merged UPGRADE.md to wiki

* Moved INSTALL-COMPLETE-GUIDE.md to wiki

* Moved PHONIEBOX_ReadOnly to wiki

* Removed unused images (contained in the wiki)

* Update link to the english phoniebox website
set https for phoniebox.de URL

* Updated dead links

* fix branch aware link

* fix doc: default to master branch

* fixed gitter links. Added matrix badge

* Updated gitter badge. better image resolution

* change occurences of "buster" in comments and docs

* renamed var DEBIAN_VERSION_NAME to DEBIAN_CODENAME

* change occurences of "buster" in docs.

* harmonized spelling of 'Raspberry Pi OS'

* renamed DEBIAN_VERSION_NAME to DEBIAN_CODENAME
* optimize check for installed packages (apt, pip)

* fix jukebox_dir

* remove package optimization from dockerfile

add comments in package step

* add package installation from file

test reads the same file. only one place to maintain

* install internal packages in Dockerfile

dont install resolvconf as it will fail in containers

* added textfile for arm sepcific packages

* removed as already part of install script

* add package textfile for autohotspot setup

* correct variable usage.

* check homedir as prerequisite

* some fixes

* read modules to test from file

* renamed package txt for raspberry pi specifics

* update sed call

* renamed local variable

* save images as artifact

* clarify function name. add function comment

* fixed mpd service enablement

* fix unnecessary rebuild of unrelated package files
* rename install script to "install-jukebox.sh"

* further changes
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1 to 2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Upgrade guide](https://github.com/coverallsapp/github-action/blob/main/UPGRADE.md)
- [Commits](coverallsapp/github-action@v1...v2)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.13 to 9.6.15.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.15/ChangeLog-9.6.md)
- [Commits](sebastianbergmann/phpunit@9.6.13...9.6.15)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [php-mock/php-mock-phpunit](https://github.com/php-mock/php-mock-phpunit) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/php-mock/php-mock-phpunit/releases)
- [Commits](php-mock/php-mock-phpunit@2.8.0...2.9.0)

---
updated-dependencies:
- dependency-name: php-mock/php-mock-phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* make homedir executable for lighttp

* fix deprecations lighttp

* removed faulty code (error in php 8.x)

* automatic editorconfig changes (whitespaces)
* fix editorconfig for yml files

* set next develop version

* add workflow for releases
* update spotify notice

* update link for calendar 2023

* note about maintenance mode. updated links

* filter paths for CI installation worlflow

* update spotify PR
@AlvinSchiller AlvinSchiller merged commit 7e42a19 into test/master-fix-history-2 Dec 21, 2023
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants