Skip to content

Conversation

@armanio123
Copy link

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
armanio123 pushed a commit that referenced this pull request May 21, 2024
@armanio123 armanio123 deleted the DownloadReplayFile branch May 21, 2024 23:28
armanio123 pushed 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 <[email protected]>
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.

3 participants