Rewrite maifetch in GnuCOBOL#16
Open
Errordog2 wants to merge 2 commits into
Open
Conversation
Author
|
Follow-up: I fixed the GnuCOBOL CI failure from the first run by using GnuCOBOL's direct ACCEPT ... FROM ENVIRONMENT identifier form for environment lookup. The new branch head is 807e046, and the GnuCOBOL workflow is now passing: https://github.com/Errordog2/maifetch/actions/runs/27433729517 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/claim #1
This PR rewrites maifetch in GnuCOBOL for the latest maintainer direction requesting a GnuCOBOL implementation.
Scope:
src/maifetch.cob.--access-token/-a/-t,--logo-size/-l,--score-count/-s, and--config-file/-c./api/v1/profilesand/api/v1/playsvia authenticatedcurlrequests, then formats profile and recent-score output from those API responses.MAIFETCH_PROFILE_FIXTURE,MAIFETCH_PLAYS_FIXTURE) so CI can validate output without live credentials.gnucoboland runsmake test.Validation:
git diff --checkpassed locally.git diff --cached --checkpassed locally.tests/run-fixture-test.shis staged executable (100755).make testis not runnable on this Windows machine becausecobcis not installed; the included CI installs GnuCOBOL on Ubuntu and runs the fixture test.Maintainer LLM note: files created or rewritten with LLM assistance include an
OpenAI GPT-5 Codexnote at the top, following the issue instruction.