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

Use Git checker for all elementary repositories #156

Merged
merged 1 commit into from
May 7, 2024

Conversation

davidmhewitt
Copy link
Member

The json checker for the Stylesheet introduced in #155 won't necessarily work for all releases, because we don't upload release tarballs in the expected way. See the empty assets array at https://api.github.com/repos/elementary/stylesheet/releases/latest

compared to the following for libportal:
https://api.github.com/repos/flatpak/libportal/releases/latest

We can use the git checker instead to bump the tag and commit hash when there are updates. So I've replaced the stylesheet checker and added it for the other elementary repositories. Testing locally notices the outdated granite:

OUTDATED: granite.git
 Has a new version:
  URL:       https://github.com/elementary/granite.git
  Commit:    f190e26e1c850b3ab078357f1dcedd6e8278f61f
  Tag:       7.5.0
  Branch:    None
  Version:   7.5.0
  Timestamp: None

INFO    src.main: Check finished with 0 error(s)

Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

TIL there's a git checker. That's super useful!

@danirabbit danirabbit merged commit d35e7b4 into main May 7, 2024
@danirabbit danirabbit deleted the davidmhewitt/git-x-checker branch May 7, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants