Commit Graph

68 Commits

Author SHA1 Message Date
dependabot[bot]
08f5c2b860 Bump actions/setup-node from 6.1.0 to 6.2.0 in /.github/workflows
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](395ad32622...6044e13b5d)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 08:13:00 +00:00
Daniel Markstedt
c47a303455 Drop back to a python 3.9 baseline as we're stuck on Bullseye 2025-12-23 22:51:15 +01:00
dependabot[bot]
22533febb5 Bump actions/upload-artifact from 5.0.0 to 6.0.0 in /.github/workflows
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](330a01c490...b7c566a772)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 11:12:45 +01:00
dependabot[bot]
2069bfbf4c Bump actions/setup-node from 6.0.0 to 6.1.0 in /.github/workflows
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](2028fbc5c2...395ad32622)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 11:11:05 +01:00
dependabot[bot]
24eab21306 Bump actions/checkout from 6.0.0 to 6.0.1 in /.github/workflows
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...8e8c483db8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-19 11:02:59 +01:00
dependabot[bot]
2129906182 Bump SonarSource/sonarqube-scan-action in /.github/workflows
Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases)
- [Commits](fd88b7d7cc...a31c9398be)

---
updated-dependencies:
- dependency-name: SonarSource/sonarqube-scan-action
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-18 12:55:55 +01:00
dependabot[bot]
9b761fabbe Bump actions/setup-python from 6.0.0 to 6.1.0 in /.github/workflows
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](e797f83bcb...83679a892e)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-06 07:08:19 +01:00
Daniel Markstedt
a99e1c51b9 Move the protobuf source into its own dir in the repo root
The protobuf source file is used by more than just the C++ code,
so let's move it into its own location for consistency and discoverability
2025-12-03 23:20:46 +01:00
dependabot[bot]
460c117b20 Bump actions/checkout from 5.0.0 to 6.0.0 in /.github/workflows
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 19:56:13 +01:00
Daniel Markstedt
a1f784f919 check for fork before pushing a container to GHCR 2025-11-23 15:58:13 +01:00
Daniel Markstedt
c532c3965a don't push to GHCR when originator is dependabot 2025-11-23 10:33:18 +01:00
Daniel Markstedt
b75f621548 cleanup of GitHub workflow trigger configurations
- consistently use branch triggers
- trigger on PR reopened event
- remove redundant workflow dispatch trigger
- consistent sort order of everything
- remove discarded release image workflow
2025-11-23 09:27:35 +01:00
Daniel Markstedt
2f25bd1563 use ghcr to store backend containers instead of docker hub 2025-11-23 09:05:18 +01:00
Daniel Markstedt
793b12cb46 Update SonarQube job conditions not to run for dependabot
Dependabot won't have the privileges to access the Sonar access token, so these jobs will always fail for their PRs
2025-11-07 07:18:12 +01:00
Daniel Markstedt
9b3e482c89 Run Python workflows on any change to Python code 2025-11-07 00:31:26 +01:00
Daniel Markstedt
78a50f93b0 Revert back to Ubuntu 22.04 for armhf cross-compilation 2025-11-07 00:09:08 +01:00
Daniel Markstedt
fa11aa983b Use Ubuntu Noble Numbat armhf repos 2025-11-07 00:03:30 +01:00
Daniel Markstedt
e569ee1493 Use more recent Ubuntu, node.js, and Python 2025-11-06 23:53:56 +01:00
Daniel Markstedt
d40e5f7cb9 Have dependabot scan each docker subdir 2025-11-06 23:53:56 +01:00
Daniel Markstedt
5da559ef70 Refresh the SonarQube Cloud workflow 2025-11-06 23:53:56 +01:00
Daniel Markstedt
7eca895076 Bump to the latest GitHub actions, lock to hashes 2025-11-06 23:53:56 +01:00
Daniel Markstedt
ea2e3f4f99 Configure Dependabot for multiple ecosystems
Added support for Docker, GitHub Actions, npm, and Python package ecosystems with weekly update schedules.
2025-11-06 23:03:43 +01:00
dependabot[bot]
52e4a92aec Bump black from 22.8.0 to 24.3.0 in /python/web (#1444)
* Bump black from 22.8.0 to 24.3.0 in /python/web

Bumps [black](https://github.com/psf/black) from 22.8.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.8.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Github CI: Backend web test runner use python 3.9.19

* Reformat python sources with black

* Docker: Bump to python 3.9-slim image for pytest

* Bump pytest version to 8.1.1

* Bump more library versions, and freeze them

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Markstedt <daniel@mindani.net>
2024-03-22 00:19:13 -07:00
Daniel Markstedt
818addb0e0 CI workflow: Build unit tests in debug mode (#1417)
* Run CI jobs on push events only when merged to develop or main

* Build unit tests with debug flags
2024-01-18 13:38:55 +09:00
Uwe Seimet
7fa9abe5a3 Remove fullspec/standard sub-folder (#1324)
* Remove fullspec/standard sub-folder
2023-11-14 15:51:36 +01:00
Uwe Seimet
5542fa9e7c Re-add CONNECT_TYPE_CONNECT_TYPE_AIBOM and CONNECT_TYPE_GAMERNIUM (#1315) (#1317)
* Re-add CONNECT_TYPE_CONNECT_TYPE_AIBOM and CONNECT_TYPE_GAMERNIUM
2023-11-08 13:27:49 +01:00
Uwe Seimet
5715ec1470 Add note on OS to ISSUE_TEMPLATE (#1310) 2023-11-07 14:54:31 +01:00
Eric Helgeson
eb8afa8319 Remove myself from CODEOWNERS 2023-11-05 00:21:13 +09:00
Daniel Markstedt
0a138eb1be Add back branch rule that fell off 2023-11-03 21:40:48 +09:00
Daniel Markstedt
cf5421d1f5 Move branches rule from push trigger to PR trigger 2023-11-03 21:37:13 +09:00
Daniel Markstedt
b69c039a0c Restore workflow events for pushs to paths (#1289) 2023-11-03 04:28:53 -07:00
Daniel Markstedt
d1a080b7d0 Remove workflow events that used the wrong syntax. Fall back to the default: opened, synchronize, and reopened 2023-11-03 16:54:39 +09:00
Daniel Markstedt
063e8ed32b Static analysis fixes for Python codebase (#1277)
* Don't log names of internal symbols that can be used for attacks

* Add integrity check to dropzone.js library

* Better a11y of web form labels

* Safer handling of file download paths

* Don't invert boolean check

* Make backend auth check a flask abort

* Clean up indentation to remove unwanted tabs

* Run workflow either on PR events, or branch pushes, not both
2023-11-01 06:28:53 -07:00
Daniel Markstedt
37b9110c99 When Python code changes, build C++ and run static analysis 2023-11-01 21:55:51 +09:00
Uwe Seimet
43088ab3bc Remove non-working Banana Pi code (#1252)
* Remove non-working Banana Pi code

* Remove SonarQube suppressions which can be resolved by a code update

* Update device detection
2023-10-22 17:29:26 +02:00
Tony Kuker
10f59afbae Update Sonar Project Key (#1230) 2023-10-02 09:06:51 +02:00
Tony Kuker
84c20c4f29 Update Sonarcloud version (#1225) 2023-10-01 16:41:53 -05:00
Tony Kuker
74eef6f9cc Enable actions on pull request (#1209)
* Update revision for release

* Create sonarcloud.yml

* Update sonarcloud.yml

* Update sonarcloud.yml

* Update sonarcloud.yml

* Update sonarcloud.yml

* Delete sonarcloud.yml

* Update revision number for release

* Remove SonarCloud cache setup as it is now offered by default (#1135)

No need to configure the cache anymore, SonarCloud now has an automatic analysis caching. See https://docs.sonarcloud.io/advanced-setup/languages/c-c-objective-c/#analysis-cache.

* Revert "Remove SonarCloud cache setup as it is now offered by default (#1135)" (#1144)

This reverts commit 3ad668cfd1.

* Update web.yml

* Update cpp.yml

* Update web.yml

* Update build_code.yml

* Update build_code.yml

* Update cpp.yml

* Update web.yml

---------

Co-authored-by: Tony Kuker <akuker@gmail.com>
Co-authored-by: Massimo Paladin <massimo.paladin@gmail.com>
2023-09-02 18:36:45 -05:00
Daniel Markstedt
d3317e9702 Bump stylelint to 15.10.2 and remove deprecated module (#1189)
- Bump stylelint and stylelint-config-standard libs to the latest versions (security fixes)
- Remove deprecated stylelint-config-prettier module
- Scan the classic style sheet with stylelint and prettier in the github workflow
- Address stylelint and prettier issues in the classic stylesheet
- Bump prettier to 3.0.0
2023-07-28 22:53:12 -07:00
Daniel Markstedt
1a5f185183 Remove SonarCloud cache setup as it is now offered by default (#1135) (#1143)
No need to configure the cache anymore, SonarCloud now has an automatic analysis caching. See https://docs.sonarcloud.io/advanced-setup/languages/c-c-objective-c/#analysis-cache.

Co-authored-by: Massimo Paladin <massimo.paladin@gmail.com>
2023-04-09 19:29:03 -05:00
Daniel Markstedt
2354b62f43 Introduce FTP server option; sundry bug fixes (#1028)
* Add script to install ftp server

* Grep only the first ip address to avoid capturing the docker ip address

* Consistently use --assume-yes and --no-install-recommends with apt-get

* Capture corner case where both rascsi and piscsi groups exist

* Add CI/CD dependency of easyinstall.sh

* Update the run choices
2022-12-09 21:00:31 -08:00
Daniel Markstedt
52c2aa474f Rebrand project to PiSCSI (#1016)
* Rebrand project to PiSCSI
- rascsi ->piscsi
- rasctl -> scsictl
- rasdump -> scsidump
- ras* -> piscsi* (rasutil -> piscsi_util, etc.)

* Refined the formatting and wording of the app startup banner
* Kept some references to rascsi and rasctl where backwards compatibility is concerned
* Point to the new github repo URL

Co-authored-by: nucleogenic <nr@nucleogenic.com>
Co-authored-by: Uwe Seimet <Uwe.Seimet@seimet.de>
2022-12-05 09:58:23 -08:00
nucleogenic
88ff542aeb Run web API test suite in GitHub Actions (#1009)
- Fixed ignore patterns in .dockerignore
- Added healthchecks to backend and web containers
- Reduced Docker image sizes
- Removed RaSCSI references in various areas (e.g. rascsi -> backend)
- Added compilation-only step to easyinstall.sh
- Moved apt package lists to variables
- Revert to triggering GitHub Actions runs on push
- Updated web/frontend_checks workflow to run black and flake8 against all Python sources
- Capture log files from backend/web containers
- Fix None to float conversion bug when user agent is absent or unrecognised
2022-12-04 14:31:57 +00:00
akuker
eca8145311 Add debug build to github workflows #1012 (#1015)
#1012 Add debug build and gamernium/aibom builds
2022-12-03 22:40:19 -06:00
nucleogenic
aa3e36d311 Revert to triggering C++ GHA workflows on push (#1003) 2022-11-22 15:42:02 +00:00
nucleogenic
8e6be9856e Run all workflows against changes to the develop branch (#995) 2022-11-18 16:41:13 +00:00
nucleogenic
163cb5a10e Add GitHub Actions for web UI, fix C++ unit test job, enable SonarCloud cache, introduce parallel execution where possible (#974) 2022-11-18 13:58:26 +00:00
Uwe Seimet
1c0179e7e3 rasdump and monitor updates, made rasdump work, improved bus abstraction (#973)
* Moved rasdump and monitor to sub-folders, cleaned up code

* Fixes rasdump issues and added additional features like device type check, LUN support and configurable buffer size
2022-11-09 08:40:26 +01:00
Daniel Markstedt
08194af424 Move C++ code into cpp/ dir (#941)
- Moved C++ code to cpp/ from src/raspberrypi
- Related updates to Makefile, easyinstall.sh, and the github build rules
- Removed the native X68k C code in src/x68k from the repo
2022-10-25 12:59:30 -07:00
Uwe Seimet
efbfb54d26 More unit tests, replacement of raw pointers and C arrays, separation of concerns (#878)
* Added unit tests

* Fixed SonarCloud issues

* Updated error handling

* Updated deletion of controllers

* Image folder handling cleanup

* Fixed clang warning

* Removed duplicate code

* Reduced code complexity

* Updated array handling

* Initialize device with ID and LUN

* Use smart pointers

* Updated memory management

* Logging updates

* Extracted methods

* Split scsi.h
2022-10-04 17:23:42 +02:00