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

Add environment variable to disable updates check #4564

Conversation

Otiel
Copy link
Contributor

@Otiel Otiel commented Apr 27, 2024

fixes #4556

This adds support for the environment variable KIOTA_OFFLINE_ENABLED. If set to true, checking for updates before each command will be skipped.

Related PR for docs: MicrosoftDocs/openapi-docs#68

@Otiel

This comment was marked as off-topic.

@andrueastman andrueastman linked an issue Apr 29, 2024 that may be closed by this pull request
Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @Otiel

Could you please do the following,

  • Run dotnet format to fix the linting errors reported
  • Add an entry in the Changelog file at the repository root

@Otiel Otiel force-pushed the feature/4556-add-environment-variable-to-disable-updates-check branch from 45ea7ae to 2a71847 Compare April 29, 2024 20:25
@Otiel Otiel force-pushed the feature/4556-add-environment-variable-to-disable-updates-check branch from 2a71847 to 913c95a Compare April 29, 2024 20:27
@Otiel
Copy link
Contributor Author

Otiel commented Apr 29, 2024

@andrueastman Done.

@andrueastman andrueastman enabled auto-merge April 30, 2024 06:40
auto-merge was automatically disabled April 30, 2024 06:45

Pull Request is not mergeable

@andrueastman andrueastman enabled auto-merge April 30, 2024 06:55
@andrueastman andrueastman merged commit e0bfc35 into microsoft:main Apr 30, 2024
206 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Disable "check for updates"
2 participants