Skip to content

Commit 7433672

Browse files
committed
repo-wide: Replace montoring.yml with monitoring.yaml
**Summary** - Previous commit handled all the renames, this commit chnages: - Comment text in some monitoring files - The taskfile task for a new monitoring file - The CI check for monitoring file existence
1 parent 071d113 commit 7433672

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

Taskfile.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -295,19 +295,19 @@ tasks:
295295
- common/Scripts/check_appstream_progress.py packages
296296

297297
add-monitoring:
298-
desc: Add skeleton for monitoring.yml
298+
desc: Add skeleton for monitoring.yaml
299299
dir: '{{ .USER_WORKING_DIR }}'
300300
vars:
301301
DATE:
302302
sh: date -u +%Y-%m-%d
303303
COMMENT: "# No known CPE, checked {{ .DATE }}"
304304
cmds:
305-
- touch monitoring.yml
305+
- touch monitoring.yaml
306306
- yq --inplace '
307307
. head_comment="Remove all comments before submitting, except CPE check date if none found" |
308308
.releases.id line_comment = "Check https://release-monitoring.org/" |
309309
.releases.rss line_comment = "For example https://github.com/PyO3/maturin/releases.atom" |
310310
.releases.[] = ~ |
311311
(.security | key) head_comment = "{{ .COMMENT }}" |
312312
.security.cpe = ~
313-
' monitoring.yml
313+
' monitoring.yaml

common/CI/package_checks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def _includes_homepage(self, file: str) -> bool:
421421

422422

423423
class Monitoring(PullRequestCheck):
424-
_error = '`monitoring.yml` is missing'
424+
_error = '`monitoring.yaml` is missing'
425425
_level = Level.WARNING
426426

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

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

435435

436436
class PackageBumped(PullRequestCheck):

packages/a/appstream-data/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/f/ffmpeg-chromium-opera/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/f/ffmpeg-chromium-vivaldi-stable/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/f/ffmpeg-chromium/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/p/piksemel/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/py/python-gobject2/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/py/python2-gobject/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/w/webrtc-audio-processing03/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

packages/w/woff-tools/monitoring.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
1+
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
22
# https://github.com/getsolus/packages/issues/4533
33
releases:
44
id: ~

0 commit comments

Comments
 (0)