Michael Gottesman
1e7eb3ea11
[swift-snapshot-tool] Fix snapshot filtering for release branches so that we do not include the release tags.
...
We only bisect on DEVELOPMENT snapshots.
2025-04-23 09:55:22 -07:00
Michael Gottesman
c87b3c765e
[swift-snapshot-tool] Add support for release branch 6.2.
2025-04-23 09:48:18 -07:00
Michael Gottesman
dfc1f0169b
[swift-snapshot-tool] Update the README and improve the --help commands.
2025-04-23 09:46:22 -07:00
Michael Gottesman
a2da134a4b
[swift_snapshot_tool] Use <= instead of < then when determining the tag to use for the date.
...
Otherwise, if one knows the specific date one wants to use, one always uses the
tag before it which is annoying.
2025-04-15 13:02:56 -07:00
Michael Gottesman
c8dbbc317e
[swift_snapshot_tool] Make the run command just accept a date like bisect does.
...
Previously, we wanted a full tag name, but that is really not needed. Better to
harmonize the two and eliminate the need for a full tag name.
2025-04-15 13:02:56 -07:00
Michael Gottesman
473753a98d
[swift_snapshot_tool] Turn off dry_run from bisect_toolchains.swift
2025-02-18 14:17:29 -08:00
Michael Gottesman
525713ae40
Merge pull request #77410 from gottesmm/pr-94aa0b2a8fff1e9552a8d5d424d294294869dc35
...
[swift_snapshot_tool] Add swift header to files that were missing it.
2024-11-11 21:09:43 -08:00
Michael Gottesman
cc9711e6a0
[swift_snapshot_tool] Add support for SWIFT_LIBRARY_PATH so scripts has access to the .dylib path so they can run tests.
2024-11-05 16:06:51 -08:00
Michael Gottesman
a3f54cdd5b
[swift_snapshot_tool] Add swift header to files that were missing it.
2024-11-05 16:06:05 -08:00
Michael Gottesman
8d05216b09
[swift_snapshot_tool] Fatal error if the older assumed good fails or if the newer assumed bad succeeds.
...
Often times this happens since one forget to add --invert to invert the failure
code in situations where the newer change succeeds and the older change fails...
so I added that admonition to the error message.
2024-10-19 11:18:12 -07:00
Michael Gottesman
b5fea5ecbc
[swift_snapshot_tool] Turn off dry run from run command.
...
I think this snuck in b/c I was playing with run_toolchain... unfortunately it
made it not actually work. Noticed it while I was triaging today.
2024-10-18 13:37:12 -07:00
Michael Gottesman
3c1bcc94ec
[swift_snapshot_tool] Some small fixes and add a run_toolchain command for running a command against a specific toolchain.
...
run_toolchain is mainly useful for diagnosing issues with ones script without
needing to fully bisect... but it also can just be used independently.
2024-09-11 15:23:40 -07:00
Michael Gottesman
f595374561
[swift_snapshot_tool] Make the required platform macOS v14 so that we can use some newer APIs.
2024-09-11 15:23:40 -07:00
Michael Gottesman
a451fc79c7
[swift_snapshot_tool] Add a README.
2024-09-09 12:46:27 -07:00
Michael Gottesman
4cc975200c
[swift_snapshot_tool] Default --workspace to use /tmp/swift_snapshot_tool_workspace_v1 instead of /tmp/workspace.
...
Now that I have put this into swift's utils, it isn't appropriate for me to just
take /tmp/workspace. The name swift_snapshot_tool_workspace_v1 is a better
name.
2024-09-09 12:45:42 -07:00
Michael Gottesman
efc87d9452
[utils] Add a small swift tool called swift_snapshot_tool for working with swift.org snapshots.
...
Just an initial start.
2024-09-05 13:24:01 -07:00