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 upload-sym to support uploading multiple files #3032

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

willkg
Copy link
Contributor

@willkg willkg commented Oct 11, 2024

Instead of uploading a single sym file at a time, I decided to fix upload-sym.py to support uploading multiple files in one upload pass. Then I used it to upload the jna symbols files just now.

It now supports:

bin/upload-sym.py --auth-token=xyz file1.sym file2.sym file3.sym ...

One nice thing you can do is use find or fd to upload a bunch of sym files in a directory regardless of where in the directory they are:

bin/upload-sym.py --auth-token=xyz $(find tmp/ "*.sym")

bin/upload-sym.py --auth-token=xyz $(fd ".*\.sym" tmp/)

Instead of uploading a single sym file at a time, I decided to fix
upload-sym.py to support uploading multiple files in one upload pass.
Then I used it to upload the jna symbols files just now.
@willkg willkg requested a review from a team as a code owner October 11, 2024 20:18
@willkg willkg merged commit 0b4e0e9 into main Oct 14, 2024
2 checks passed
@willkg willkg deleted the upload-multiple-files branch October 14, 2024 11:59
@willkg
Copy link
Contributor Author

willkg commented Oct 14, 2024

Thank you!

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