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

[NFC] repo-wide: Use .yaml extension for monitoring files #4812

Merged
merged 2 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,19 +295,19 @@ tasks:
- common/Scripts/check_appstream_progress.py packages

add-monitoring:
desc: Add skeleton for monitoring.yml
desc: Add skeleton for monitoring.yaml
dir: '{{ .USER_WORKING_DIR }}'
vars:
DATE:
sh: date -u +%Y-%m-%d
COMMENT: "# No known CPE, checked {{ .DATE }}"
cmds:
- touch monitoring.yml
- touch monitoring.yaml
- yq --inplace '
. head_comment="Remove all comments before submitting, except CPE check date if none found" |
.releases.id line_comment = "Check https://release-monitoring.org/" |
.releases.rss line_comment = "For example https://github.com/PyO3/maturin/releases.atom" |
.releases.[] = ~ |
(.security | key) head_comment = "{{ .COMMENT }}" |
.security.cpe = ~
' monitoring.yml
' monitoring.yaml
4 changes: 2 additions & 2 deletions common/CI/package_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def _includes_homepage(self, file: str) -> bool:


class Monitoring(PullRequestCheck):
_error = '`monitoring.yml` is missing'
_error = '`monitoring.yaml` is missing'
_level = Level.WARNING

def run(self) -> List[Result]:
Expand All @@ -430,7 +430,7 @@ def run(self) -> List[Result]:
if not self._has_monitoring_yml(f)]

def _has_monitoring_yml(self, file: str) -> bool:
return self._exists(os.path.join(os.path.dirname(file), 'monitoring.yml'))
return self._exists(os.path.join(os.path.dirname(file), 'monitoring.yaml'))


class PackageBumped(PullRequestCheck):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions packages/a/appstream-data/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~
rss: ~
security:
cpe: ~
7 changes: 0 additions & 7 deletions packages/a/appstream-data/monitoring.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions packages/f/ffmpeg-chromium-opera/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~
rss: ~
security:
cpe: ~
7 changes: 0 additions & 7 deletions packages/f/ffmpeg-chromium-opera/monitoring.yml

This file was deleted.

7 changes: 7 additions & 0 deletions packages/f/ffmpeg-chromium-vivaldi-stable/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~
rss: ~
security:
cpe: ~
7 changes: 0 additions & 7 deletions packages/f/ffmpeg-chromium-vivaldi-stable/monitoring.yml

This file was deleted.

7 changes: 7 additions & 0 deletions packages/f/ffmpeg-chromium/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~
rss: ~
security:
cpe: ~
Loading
Loading