sommerfeld-io / source2adoc

Streamline the process of generating AsciiDoc documentation from inline comments within source code files. This tool converts inline documentation into AsciiDoc files, tailored for seamless integration with Antora.
https://source2adoc.sommerfeld.io
Other
0 stars 0 forks source link

Refactor Internal Go Components for Improved Design and Reduced Overhead #59

Closed sebastian-sommerfeld-io closed 3 months ago

sebastian-sommerfeld-io commented 3 months ago

This pull request introduces a series of refactorings to the internal Go components of ther project, aimed at enhancing the overall design and reducing overhead without altering existing functionality. With the assistance of GitHub Copilot, the changes focus on creating a simpler and more efficient structure for both the filesystem and the interfaces and functions.

Key Changes

Goals

github-actions[bot] commented 3 months ago

:mag: Vulnerabilities of sommerfeldio/source2adoc:f016c842e1776999e10d168b2928112b0fe86272

:package: Image Reference sommerfeldio/source2adoc:f016c842e1776999e10d168b2928112b0fe86272
digestsha256:018ca18c53252c864b3e72994059c8c0b8da127ce6d864807caaf0ad21602245
vulnerabilitiescritical: 0 high: 0 medium: 4 low: 0 unspecified: 2
size6.6 MB
packages22
:package: Base Image alpine:3
also known as
  • 3.19
  • 3.19.1
  • latest
digestsha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0
vulnerabilitiescritical: 0 high: 0 medium: 4 low: 0 unspecified: 2
critical: 0 high: 0 medium: 4 low: 0 ssl_client 1.36.1-r15 (apk) pkg:apk/alpine/ssl_client@1.36.1-r15?arch=x86_64&upstream=busybox&distro=alpine-3.19.1
```dockerfile # Dockerfile (45:45) FROM alpine:3.19.1 AS run ```
medium : CVE--2023--42366
Affected range<1.36.1-r16
Fixed version1.36.1-r16
EPSS Score0.04%
EPSS Percentile12th percentile
Description
medium : CVE--2023--42365
Affected range<1.36.1-r17
Fixed version1.36.1-r17
EPSS Score0.04%
EPSS Percentile12th percentile
Description
medium : CVE--2023--42364
Affected range<1.36.1-r17
Fixed version1.36.1-r17
EPSS Score0.04%
EPSS Percentile12th percentile
Description
medium : CVE--2023--42363
Affected range<1.36.1-r17
Fixed version1.36.1-r17
EPSS Score0.04%
EPSS Percentile12th percentile
Description
critical: 0 high: 0 medium: 0 low: 0 unspecified: 2libssl3 3.1.4-r5 (apk) pkg:apk/alpine/libssl3@3.1.4-r5?arch=x86_64&upstream=openssl&distro=alpine-3.19.1
```dockerfile # Dockerfile (45:45) FROM alpine:3.19.1 AS run ```
unspecified : CVE--2024--4603
Affected range<3.1.5-r0
Fixed version3.1.5-r0
EPSS Score0.04%
EPSS Percentile15th percentile
Description
unspecified : CVE--2024--2511
Affected range<3.1.4-r6
Fixed version3.1.4-r6
EPSS Score0.04%
EPSS Percentile10th percentile
Description
github-actions[bot] commented 3 months ago

Overview

Image reference sommerfeldio/source2adoc:rc sommerfeldio/source2adoc:f016c842e1776999e10d168b2928112b0fe86272
- digest b16ec6ef7ef9 018ca18c5325
- provenance https://github.com/sommerfeld-io/source2adoc/commit/46952a00c45f4815c92c465b05d1281b5c23d5cd https://github.com/sommerfeld-io/source2adoc/commit/f016c842e1776999e10d168b2928112b0fe86272
- vulnerabilities critical: 0 high: 0 medium: 4 low: 0 unspecified: 2 critical: 0 high: 0 medium: 4 low: 0 unspecified: 2
- platform linux/amd64 linux/amd64
- size 6.6 MB 6.6 MB (-1.2 kB)
- packages 27 22 (-5)
Base Image alpine:3
also known as:
3.19
3.19.1
latest
alpine:3.19.1
also known as:
3
3.19
latest
- vulnerabilities critical: 0 high: 0 medium: 4 low: 0 unspecified: 2 critical: 0 high: 0 medium: 4 low: 0 unspecified: 2
Labels (3 changes) > * `±` 3 changed > * _9 unchanged_ ```diff maintainer=sebastian@sommerfeld.io org.opencontainers.image.authors=source2adoc open source project -org.opencontainers.image.created=2024-05-22T22:15:59.442Z +org.opencontainers.image.created=2024-05-23T09:17:18.836Z org.opencontainers.image.description=Streamline the process of generating AsciiDoc documentation from inline comments within source code files. This tool converts inline documentation into AsciiDoc files, tailored for seamless integration with Antora. org.opencontainers.image.documentation=https://source2adoc.sommerfeld.io org.opencontainers.image.licenses=NOASSERTION -org.opencontainers.image.revision=46952a00c45f4815c92c465b05d1281b5c23d5cd +org.opencontainers.image.revision=f016c842e1776999e10d168b2928112b0fe86272 org.opencontainers.image.source=https://github.com/sommerfeld-io/source2adoc org.opencontainers.image.title=source2adoc org.opencontainers.image.url=https://github.com/sommerfeld-io/source2adoc org.opencontainers.image.vendor=source2adoc open source project -org.opencontainers.image.version=main +org.opencontainers.image.version=pr-59 ```
Packages and Vulnerabilities (5 package changes and 0 vulnerability changes) > * :heavy_minus_sign: 4 packages removed > * :infinity: 1 packages changed > * 21 packages unchanged
Changes for packages of type apk (4 changes)
Package Version
sommerfeldio/source2adoc:rc
Version
sommerfeldio/source2adoc:f016c842e1776999e10d168b2928112b0fe86272
:heavy_minus_sign: ca-certificates 20230506-r0
:heavy_minus_sign: libc-dev 0.7.2-r5
:heavy_minus_sign: openssl 3.1.4-r5
critical: 0 high: 0 medium: 0 low: 0 unspecified: 2
Removed vulnerabilities (2):
  • unspecified : CVE--2024--4603
  • unspecified : CVE--2024--2511
:heavy_minus_sign: pax-utils 1.3.7-r2
Changes for packages of type golang (1 changes)
Package Version
sommerfeldio/source2adoc:rc
Version
sommerfeldio/source2adoc:f016c842e1776999e10d168b2928112b0fe86272
:infinity: stdlib go1.22.3 1.22.3
sonarcloud[bot] commented 3 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
55.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud