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

Fix decoding bug, improve docs, update deps #32

Merged
merged 8 commits into from
Dec 7, 2024
Merged

Conversation

marcobiscaro2112
Copy link
Contributor

@marcobiscaro2112 marcobiscaro2112 commented Dec 7, 2024

Review per commit is recommended.

  • Fix decoding bug in get-content!
  • Add get-content-raw function that decodes file's content to a byte array
  • Support providing a token via gh auth token
  • Upgrade dependencies
    • Upgrade nubank/clj-github-app from 0.2.1 to 0.3.0
  • Mark optional dependencies with scope provided
    • clj-commons/clj-yaml
    • http-kit.fake
    • dev.nubank/clj-github-mock
  • Upgrade GitHub actions, fix a reflective access

- Upgrade nubank/clj-github-app from 0.2.1 to 0.3.0
- Mark optional dependencies with scope provided
  - clj-commons/clj-yaml
  - http-kit.fake
  - dev.nubank/clj-github-mock
Also, improve documentation about credentials.
base64 decoding each line and then joining decoded lines is wrong, because the encoded base64 string may have a line break in the middle of a multibyte codepoint.

The correct behavior is to strip all line breaks first, and only them decode the entire string.
@marcobiscaro2112 marcobiscaro2112 changed the title Fix encoding bug, improve docs, update deps Fix decoding bug, improve docs, update deps Dec 7, 2024
@marcobiscaro2112 marcobiscaro2112 marked this pull request as ready for review December 7, 2024 00:33
@marcobiscaro2112 marcobiscaro2112 merged commit 8f1dba8 into main Dec 7, 2024
3 checks passed
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