Commit Graph

1438 Commits

Author SHA1 Message Date
Kjeld Schouten-Lebbing e7ee7d7176
Update CODEOWNERS
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-10 15:23:27 +01:00
Dan Christensen 6afb793e1a
fix: Chart changelogs (#7151)
The app-changelog.md files that are generated by git-chglog are not
being constrained tightly enough to specific branches to present useful
changelogs.  For example, the plex-12.0.10..plex-12.0.11 changelog link
to GitHub points to the comparison between
plex-utills-3.0.9..plex-12.0.11.

Using -\d+\.\d+\.\d+ as the tag name suffix seems safe since the version
numbers are under this project's control.

Signed-off-by: Dan Christensen <opello@opello.org>
2023-02-10 15:18:05 +01:00
Kjeld Schouten-Lebbing 5d31385a70
Update charts-release.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-10 10:44:48 +01:00
Kjeld Schouten-Lebbing dded9730cf
Update charts-release.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-09 20:19:56 +01:00
Kjeld Schouten-Lebbing 79819d9501
Update charts-release.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-09 15:42:36 +01:00
Kjeld Schouten-Lebbing 0e111d237d
Update charts-release.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-09 14:00:28 +01:00
Dan Christensen 0d4e9d03b9
fix: Build links to Docker images for Chart.yaml (#6963)
* style: Split long lines, follow .editorconfig

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: Clarify why some sources are being excluded

The explanation is also meant to remind anyone that sees it that the
code could inadvertently remove a sources sequence entry that was
intentionally added, because it can not tell.

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: Comment the image-to-URL code

Signed-off-by: Dan Christensen <opello@opello.org>

* refactor: Use case instead of if-ladder

This is a faithful move from the if-ladder to a case statement that
preserves the existing behavior, with optimization to follow.  The
behavior of the function before and after this change is the same.

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: Remove dead code

No "container source" entry from description_list.md has a scheme.  The
values are parsed from the Dockerfiles and would not have one there
either.

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: tccr.io image links

Parse the tccr.io prefix specifically instead of just checking for the
substring tccr which could result in a false positive.

The generated link was also going to point to a truecharts subdirectory
under mirror in the containers repository that does not exist.

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: lscr.io image links

Parse the lscr.io prefix specifically instead of just checking for the
substring lscr which could result in a false positive.

The generated link would also return a 404 because the web interface
requires the image name to be passed in the query string.

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: gcr.io image links

Parse the gcr.io prefix specifically instead of just checking for the
substring gcr which could result in a false positive.

Signed-off-by: Dan Christensen <opello@opello.org>

* feat: Do not add sources if no prefix is created

The intent of this code is to generate URLs to be included in
documentation to attribute inputs to the chart.  If a publicly
accessible URL can not be generated from the image name it makes sense
to not add anything and instead rely on a manual edit to the Chart.yaml.

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: Disable azurecr.io image links

There does not seem to be a general purpose web index to the azurecr.io
hosted images.

Signed-off-by: Dan Christensen <opello@opello.org>

* feat: Disable mcr.microsoft.com image links

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: public.ecr.aws image links

Parse the public.ecr.aws prefix specifically instead of just checking
for the substring public.ecr.aws which could result in a false positive.

Signed-off-by: Dan Christensen <opello@opello.org>

* fix: Disable ocir.io image links

There does not seem to be a general purpose web index to the ocir.io
hosted images.

Signed-off-by: Dan Christensen <opello@opello.org>

* refactor: Add Docker Hub hosted image links

From the perspective of linking to image details on the Docker Hub web
interface, there are two types of images:

  1. Docker Official Images
  2. all of the other images, regardless of their trustworthiness

The Docker Official Images can be referenced several ways, either on the
command line when passed to docker pull, or in the FROM instruction of a
Dockerfile:

  * busybox
  * library/busybox
  * docker.io/busybox
  * docker.io/library/busybox

Furthermore, over the years there have been several domains used for the
official Docker Hub registry:

  * docker.io
  * index.docker.io
  * registry-1.docker.io
  * registry.hub.docker.com

The goal here is handling each possible case, which makes Docker Hub
images more complex than the handling for other registries.

It also makes the case block's '*' (default) case harder to find in the
sequence of glob expressions, but this is necessary to avoid repeating
the parsing or adding another helper function.

Reference:
https://github.com/docker/hub-feedback/issues/2113
https://github.com/docker/cli/issues/3793

Signed-off-by: Dan Christensen <opello@opello.org>

* feat: ghcr.io image links

Signed-off-by: Dan Christensen <opello@opello.org>

* feat: quay.io image links

Signed-off-by: Dan Christensen <opello@opello.org>

* feat: Do not generate likely-bad links

By assuming image names that are not handled by other cases are Docker
Hub images there is a risk of generating bad links.  Minimize this risk
by not generating a link if the image name for a Docker Hub link has two
slashes.  This is a case that should not happen and would likely mean an
unsupported registry is being used.

There is still a risk of an unsupported registry being treated as Docker
Hub and an invalid link being generated.  That case is if the domain and
image name is example.com/busybox where there is only one slash.

Signed-off-by: Dan Christensen <opello@opello.org>

* refactor: Sort cases

Sort the cases from longest to shortest prioritizing any case with a
suffix only glob over any case with a prefix glob.  The intention is to
avoid having a case that can not be reached.

The combined Docker Hub and default case is last.  It might make sense
to split the default case handling off but it does not seem to be a
problem right now.

Signed-off-by: Dan Christensen <opello@opello.org>

---------

Signed-off-by: Dan Christensen <opello@opello.org>
2023-02-09 13:08:53 +01:00
TrueCharts Bot d106354b20
chore(deps): update renovatebot/github-action action to v34.125.1 (#7014) 2023-02-08 09:26:41 +02:00
TrueCharts Bot 3cb889f0d6
chore(deps): pin dessant/lock-threads action to (#7015) 2023-02-08 09:26:25 +02:00
Kjeld Schouten-Lebbing 9836d08cb6
Update CODEOWNERS
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-06 18:47:50 +01:00
Kjeld Schouten-Lebbing 19ca7eb014
Update pr-validate.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-06 18:42:27 +01:00
Kjeld Schouten-Lebbing aae8ab21ab
Update CODEOWNERS
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-06 18:38:26 +01:00
Kjeld Schouten-Lebbing 32cbcf7e58
Update CODEOWNERS
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-06 18:32:07 +01:00
Kjeld Schouten-Lebbing dddf4c258b
Update pr-validate.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-06 18:29:56 +01:00
TrueCharts Bot d21bd95e72
chore(deps): update renovatebot/github-action action to v34.124.3 (#6985) 2023-02-05 22:13:36 +02:00
TrueCharts Bot 148e93b07e
chore(deps): update renovatebot/github-action action to v34.124.1 (#6969) 2023-02-05 11:57:25 +02:00
TrueCharts Bot 1f1d5af088
chore(deps): update renovatebot/github-action action to v34.122.0 (#6962) 2023-02-04 12:38:24 +02:00
Kjeld Schouten-Lebbing e8b027bee6
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 22:35:58 +01:00
Kjeld Schouten-Lebbing 0eea98acc9
Create daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 22:20:48 +01:00
TrueCharts Bot f28b233436
chore(deps): pin dessant/lock-threads action to (#6952) 2023-02-03 23:18:37 +02:00
Kjeld Schouten-Lebbing 3dd4d64d5b
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 15:19:13 +01:00
Kjeld Schouten-Lebbing 1cca23fcba
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 15:16:29 +01:00
Kjeld Schouten-Lebbing 7c18db5eff
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 15:08:51 +01:00
Kjeld Schouten-Lebbing d42f6c94f5
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 15:02:17 +01:00
Kjeld Schouten-Lebbing 79ebef60f4
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 14:55:24 +01:00
Kjeld Schouten-Lebbing 7896e56df5
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 14:44:34 +01:00
Kjeld Schouten-Lebbing b5e395c597
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 14:14:17 +01:00
Kjeld Schouten-Lebbing e707bf17c4 Revert "Revert "Update daily.yaml""
This reverts commit 7cb1f60a18.
2023-02-03 14:04:57 +01:00
Kjeld Schouten-Lebbing 7cb1f60a18 Revert "Update daily.yaml"
This reverts commit 99dbf87bc5.
2023-02-03 14:00:04 +01:00
Kjeld Schouten-Lebbing 99dbf87bc5
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 13:59:30 +01:00
Kjeld Schouten-Lebbing dfb5320691
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 13:42:32 +01:00
Kjeld Schouten-Lebbing 3fdd23f5f8
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-03 12:21:10 +01:00
Stavros Kois 3a11c90d2e
Update renovate.json5
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-02-03 11:01:08 +02:00
allcontributors[bot] 00ad282740
docs: add oblivioncth as a contributor for doc (#6825)
* docs: update .github/README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-02-03 00:20:23 +02:00
Kjeld Schouten-Lebbing 15536d4095
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-01 18:33:21 +01:00
Kjeld Schouten-Lebbing 8e6f9fa49d
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-01 18:30:45 +01:00
Kjeld Schouten-Lebbing c095243be6
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-01 18:26:30 +01:00
Kjeld Schouten-Lebbing 32ad91d075
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-01 18:25:54 +01:00
Kjeld Schouten-Lebbing 527ba39df1
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-01 18:18:54 +01:00
Dan Christensen b87f6893ad
fix(ci): Chart.yaml update bugs (#6808)
* fix(ci): Do not duplicate sources

Signed-off-by: Dan Christensen <opello@opello.org>

* fix(ci): Match chart against Markdown link text

More specifically match the chart to the container in the website's
description_list.md.  Since multiple charts contain the term "plex" and
not all of them are even Plex related, extraneous sources were being put
in the plex Chart.yaml.

Signed-off-by: Dan Christensen <opello@opello.org>

---------

Signed-off-by: Dan Christensen <opello@opello.org>
2023-02-01 09:03:45 +01:00
Kjeld Schouten-Lebbing 05adde2be9
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-02-01 00:01:50 +01:00
Kjeld Schouten-Lebbing a127aab095
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 23:55:14 +01:00
Kjeld Schouten-Lebbing b8ebdd5845
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 23:37:19 +01:00
Kjeld Schouten-Lebbing 891d197b86
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 22:29:59 +01:00
Stavros Kois e649085d24
Don't fail when there is no text in desclist
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-01-31 23:10:40 +02:00
Kjeld Schouten-Lebbing 9e002de8fc
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 21:04:29 +01:00
Kjeld Schouten-Lebbing c1487d5a57
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 20:59:37 +01:00
Kjeld Schouten-Lebbing c6c28d7853
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 20:59:12 +01:00
Kjeld Schouten-Lebbing 96bcd4ef57
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 20:57:52 +01:00
Kjeld Schouten-Lebbing 4f0f330345
Update daily.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-01-31 20:53:40 +01:00