Tyler Veness
b7eb9fb8f9
[upstream_utils] Add std::is_debugger_present() shim ( #7423 )
2024-11-22 09:17:23 -08:00
Tyler Veness
a48f3c35f4
Remove argv usage from Python scripts ( #7311 )
...
argparse will automatically read sys.argv, so we don't need to pass it
in manually. Furthermore, none of our scripts customize argv.
2024-11-02 19:09:32 -07:00
Tyler Veness
f93bacc5c5
[upstream_utils] Remove unused clone_repo() function ( #7091 )
2024-09-20 20:12:48 -07:00
Tyler Veness
050eafd802
[upstream_utils] Shorten file copy command ( #6965 )
...
The new upstream_utils command-line API has been nice, but the
copy-upstream-to-thirdparty command has been annoying to type. Since it
already has documentation, we can shorten it to make it easier to
remember and type.
2024-08-15 07:44:50 -07:00
Tyler Veness
44311671f8
[upstream_utils] Use git to get repo root ( #6967 )
2024-08-15 07:44:22 -07:00
Joseph Eng
cd39c5e2a1
[upstream_utils] Determine patch list from patch files ( #6869 )
2024-07-23 15:58:15 -07:00
Tyler Veness
6ec8763eac
[upstream_utils] Make .c file rename toggleable ( #6858 )
2024-07-20 07:00:13 -07:00
Joseph Eng
5f261a88af
[upstream_utils] Rework upstream_utils scripts ( #6829 )
2024-07-16 17:20:07 -07:00
Tyler Veness
828bc5276f
[wpiutil] Upgrade to LLVM 16.0.6 ( #5435 )
...
Fixes #5332 .
2023-07-12 22:50:13 -07:00
Tyler Veness
5adf50d93c
[upstream_utils] Refactor upstream_utils scripts ( #4367 )
...
* Root folder variable names are now more descriptive
* clone_repo() now restores the current working directory
* Removed setup_upstream_repo() since it's now identical to clone_repo()
* Moved am_patches()'s for loop into user scripts so the filename prefix
doesn't need to be included in every patch filename
* Renamed am_patches() to git_am() since its only job now is to run "git am"
* Removed unused apply_patches() function
* Fixed typo in git_am()'s ignore_whitespace arg name
2022-08-20 07:26:34 -07:00
Tyler Veness
5eb44e22a9
Format Python scripts with black (NFC) ( #4325 )
2022-07-01 06:41:44 -07:00
Peter Johnson
1280a54ef3
[upstream_utils]: Make work with Python 3.8 ( #4298 )
...
str.removesuffix() is only available in Python 3.9, which is not in many
Linux installations.
2022-06-06 17:07:16 -07:00
Tyler Veness
db2e1d170e
[upstream_utils] Document how to update thirdparty libraries ( #4253 )
...
Also, add a CI job to ensure the sources in the repo are consistent with
the update scripts.
2022-05-26 09:02:32 -07:00
PJ Reiniger
553b2a3b12
[upstream_utils] Fix stackwalker ( #4265 )
2022-05-24 21:51:32 -07:00
Tyler Veness
d80e9cdf64
[upstream_utils] Use shallow clones for thirdparty repos ( #4255 )
...
This makes update_llvm.py in particular much faster because the full
repo requires fetching 2 GB.
2022-05-20 18:59:33 -07:00
Tyler Veness
4253d6d5f0
[upstream_utils] Apply "git am" patches individually ( #4250 )
...
Also, giving am_patches() zero patches isn't an error. The function will
just be a no-op.
2022-05-18 12:22:31 -07:00
PJ Reiniger
18db343cdc
[wpiutil, wpinet] Vendor libuv, stack walker ( #4219 )
2022-05-08 22:21:54 -07:00
Tyler Veness
bfc209b120
Automate fmt update ( #3486 )
...
Also refactored upstream_utils to make writing and maintaining new
upstream repo extractions easier.
2021-07-23 09:01:44 -07:00