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

Use repositories file by default for GH scripts #8527

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Conversation

heaths
Copy link
Member

@heaths heaths commented Jul 1, 2024

The default UX shouldn't change: to override any default values for disambiguating parameters, you had to pass values. If we change the default parameter set (or, for a couple scripts, leave it) to use the file we can remove the duplicate repo and language information from the -Repositories and -Languages parameters because to override those - even if they were the default parameter - you had to specify a different value. The end result should be no change.

Also cleans up warnings in the README and a couple other scripts using their respective linters I have enabled in VSCode.

The default UX shouldn't change: to override any default values for disambiguating parameters, you had to pass values. If we change the default parameter set (or, for a couple scripts, leave it) to use the file we can remove the duplicate repo and language information from the `-Repositories` and `-Languages` parameters because to override those - even if they were the default parameter - you had to specify a different value. The end result should be no change.

Also cleans up warnings in the README and a couple other scripts using their respective linters I have enabled in VSCode.
@heaths heaths requested a review from a team as a code owner July 1, 2024 20:30
@heaths heaths requested review from jsquire and hallipr July 1, 2024 20:30
@heaths heaths enabled auto-merge (squash) July 1, 2024 20:34
Copy link
Member

@jsquire jsquire left a comment

Choose a reason for hiding this comment

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

Good with the script changes, but I'd like to retain the README formatting as it was.

tools/github/README.md Show resolved Hide resolved
tools/github/scripts/Validate-AzsdkCodeOwner.ps1 Outdated Show resolved Hide resolved
@heaths
Copy link
Member Author

heaths commented Jul 1, 2024

/check-enforcer override

@heaths heaths merged commit fbb7b98 into Azure:main Jul 1, 2024
4 checks passed
@heaths heaths deleted the rust-repo branch July 1, 2024 21:05
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