Skip to content

Conversation

androidnisse
Copy link
Contributor

Summary

Test Plan

  • Added yes to a package.yml and tested with the new checks.

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

@androidnisse
Copy link
Contributor Author

Made by the help of copy paste and ChatGPT so please double check it.

@joebonrichie
Copy link
Contributor

What happens if you put yes/no in the summary or description?

@androidnisse
Copy link
Contributor Author

androidnisse commented Sep 23, 2025

What happens if you put yes/no in the summary or description?

It lets you push. This looks for : yes or : no so it needs the colon as well. But yes if a summary has : yes in it that would get an error.

Or as chatgpt would say

That regex only matches if the string ends with : yes or : no (with optional spaces, case-insensitive). It won’t match a stray “yes” or “no” elsewhere in the text.

@EbonJaeger
Copy link
Member

Could you please fix the issues that flake8 complains about? They appear to just be stylistic:

  • common/CI/package_checks.py:422:1: E302 expected 2 blank lines, found 1
  • common/CI/package_checks.py:434:27: E111 indentation is not a multiple of 4
  • common/CI/package_checks.py:434:27: E117 over-indented
  • common/CI/package_checks.py:443:1: E302 expected 2 blank lines, found 1

**Summary**
- Add checks for yes/no in package.yml.
- Resolves getsolus#6346
@androidnisse
Copy link
Contributor Author

Could you please fix the issues that flake8 complains about? They appear to just be stylistic:

* `common/CI/package_checks.py:422:1: E302 expected 2 blank lines, found 1`

* `common/CI/package_checks.py:434:27: E111 indentation is not a multiple of 4`

* `common/CI/package_checks.py:434:27: E117 over-indented`

* `common/CI/package_checks.py:443:1: E302 expected 2 blank lines, found 1`

Now it all looks green.

Copy link
Member

@EbonJaeger EbonJaeger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@EbonJaeger EbonJaeger merged commit 4d100d0 into getsolus:main Oct 3, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from Triage to Done in Solus Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Check new commits for yes/no in package.yml
3 participants