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

Download replay file instead of RepoResult.zip file #158

Merged
merged 2 commits into from
May 16, 2024

Conversation

armanio123
Copy link
Member

Use the Azure DevOps api to get to the replay file instead of downloading the RepoResult.zip file, unzipping and extracting it.

@armanio123 armanio123 requested a review from jakebailey May 16, 2024 00:58
if (argv.length !== 11) {
console.error(`Usage: ${path.basename(argv[0])} ${path.basename(argv[1])} <ts_entrypoint> <old_ts_npm_version> <new_ts_npm_version> <repo_list_path> <worker_count> <worker_number> <result_dir_name> <diagnostic_output> <prng_seed>`);
if (argv.length !== 14) {
console.error(`Usage: ${path.basename(argv[0])} ${path.basename(argv[1])} <ts_entrypoint> <old_ts_npm_version> <new_ts_npm_version> <repo_list_path> <worker_count> <worker_number> <result_dir_name> <diagnostic_output> <prng_seed> <buildId> <teamFoundationCollectionUri> <teamProject>`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point we really need to change how we do this; the positional parameters are totally unweildy and we just keep adding more on 😄

Named parameters or just using env vars would probably be easier.

@armanio123 armanio123 merged commit b8f135a into main May 16, 2024
2 checks passed
armanio123 added a commit that referenced this pull request May 21, 2024
@armanio123 armanio123 deleted the DownloadReplayFile branch May 21, 2024 23:28
armanio123 added a commit that referenced this pull request May 21, 2024
* Revert "Download replay file instead of RepoResult.zip file (#158)"

This reverts commit b8f135a.

* Added Replay script location as text

---------

Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
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