~jan0sch/smederee

Showing 11 changes starting from 759619167ae6798afd0ccd67947c2273ba865e27.
2025-05-05 (Mon), 6:49 PM - Jens Grassel - 759619167ae6798afd0ccd67947c2273ba865e27

Update scalafmt core to 3.9.6

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • .scalafmt.conf with 1 added and 1 removed lines
2025-05-01 (Thu), 8:17 AM - Jens Grassel - 4303da0f408113a8f39a4cc5345c74f72f382984

vcs: Re-run health check if needed.

- get the timestamp of the latest patch
- re-run the health check automatically if the cached one is older
Summary of changes
1 files modified with 9 lines added and 2 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 9 added and 2 removed lines
2025-04-30 (Wed), 1:09 PM - Jens Grassel - ed9ca6dacaaa506b65dbe3942e21e226ecd3aef5

Update munit to 1.1.1

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2025-04-29 (Tue), 5:33 PM - Jens Grassel - fa4c2447535b9c4564c4713f9fb4a564ea189bb4

Update scalafmt core to 3.9.5

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • .scalafmt.conf with 1 added and 1 removed lines
2025-04-29 (Tue), 6:12 AM - Jens Grassel - 65ebc15e09784b48a573e4792ca1cbbc88019547

Update semanticdb to 4.13.5

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • project/plugins.sbt with 1 added and 1 removed lines
2025-04-26 (Sat), 1:47 PM - Jens Grassel - d9d372a2aaec96e6e1c591b43b9d962c4e4065a7

vcs: Cache repository health run in database and use it.

- load cached health result from db
- use cached on if no repair run is requested
- run check always if repair run is requested
- save result of check command if not already cached
- always show button to run repair command
Summary of changes
2 files modified with 26 lines added and 10 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 26 added and 8 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryHealth.scala.html with 0 added and 2 removed lines
2025-04-24 (Thu), 2:32 PM - Jens Grassel - 2c6f3d2da698ff0a6fc4a77977a60fa926f96750

chore: Fix leaked api key. (>_<)

- remove api key from script
- change script and docs to define key in sourced file
- change api key on the deptrack server
Summary of changes
1 files modified with 2 lines added and 1 lines removed
  • upload_boms.sh with 2 added and 1 removed lines
2025-04-24 (Thu), 2:28 PM - Jens Grassel - a1787a2ed53b796d325b14b3c88c68aa121f42d7

Update flyway to 11.8.0

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2025-04-24 (Thu), 7:15 AM - Jens Grassel - f6b621fd537810a06872b169941d6a579337a661

chore: Add tooling to enable workflow using dependency track.

- add parameter to build.sbt to generate XML BOM output
- add `bom_project_id_mapping.sh` to `.ignore` to avoid leaking sensitive data
- add `upload_boms.sh`

If `bom_project_id_mapping.sh` exists and is properly setup then the BOM files
are generated and uploaded to a dependency track instance by executing the
`upload_boms.sh` script.
Summary of changes
1 files added
  • upload_boms.sh
2 files modified with 2 lines added and 0 lines removed
  • .ignore with 1 added and 0 removed lines
  • build.sbt with 1 added and 0 removed lines
2025-04-23 (Wed), 2:10 PM - Jens Grassel - 4994e27a5093770cdfd15178bb51d6541aa4edce

Update pureconfig to 0.17.9

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2025-04-22 (Tue), 10:29 AM - Jens Grassel - 837d6a6728a25f7d0ccfa7368b4cd99c670d5f6c

vcs: Prepare database functionality for health checks.

- change database column types for stderr and stdout to support lines
- add `Eq` instance for `VcsRepositoryHealth`
- add `findHealthCheck` and `saveHealthCheck` to `VcsMetadataRepository`
- implement `findHealthCheck` and `saveHealthCheck` in `DoobieVcsMetadataRepository`
- add tests for implemented methods
Summary of changes
1 files added
  • modules/hub/src/main/resources/db/migration/hub/V11__repository_health_tables_stdout_and_stderr_to_array.sql
5 files modified with 138 lines added and 0 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala with 37 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/VcsMetadataRepository.scala with 20 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepository.scala with 4 added and 0 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala with 60 added and 0 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/Generators.scala with 17 added and 0 removed lines