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

Quality of Life Improvements #83

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

carlkidcrypto
Copy link

@carlkidcrypto carlkidcrypto commented Jan 11, 2025

This PR adds:

Key Changes:

  • Added download_clang_format_binaries.sh which automated the downloading of binary files
  • Added maintain.md to document how the files that download_clang_format_binaries.sh relies on must be maintained

Testing:

I did basic testing of the download_clang_format_binaries.sh script. I tried the following options:

./download_clang_format_binaries.sh 19
./download_clang_format_binaries.sh 18
./download_clang_format_binaries.sh 10

I wasn't sure how to test the action.yml.

More Thoughts:

This is a big change in terms of how things were done in the past. Perhaps this can be a new major version.
v1.0.0. But with a few beta releases first like v1.0.0b1 or something like that.

- made a shell script: download_clang_format_binaries to grab the bins from the upstream repo. No need to manually commit then all the time.

- added a versions.txt file that maps short names to latest long name. For example 18==18.1.8.

- delete the bins added to this repo. It makes for a large repo to clown down. Plus this should in theory speed up execution time of the action.

- make a blank.txt inside the clang-format folder.
- making the script more robust and future proof.

- rename a few files to add more features to the download script.
- added a maintain markdown file.
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.

1 participant