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 back onLanguage:dockerfile activation event #3928

Merged
merged 1 commit into from
May 4, 2023
Merged

Add back onLanguage:dockerfile activation event #3928

merged 1 commit into from
May 4, 2023

Conversation

stackia
Copy link
Contributor

@stackia stackia commented May 4, 2023

Previously we rely on the inferred activation event for dockerfile, but microsoft/vscode#179287 breaks this behavior for us.

This PR adds back the onLanguage:dockerfile activation event in package.json.

Fixes #3899

@stackia stackia requested a review from a team as a code owner May 4, 2023 08:35
Copy link
Collaborator

@bwateratmsft bwateratmsft left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

@bwateratmsft bwateratmsft enabled auto-merge (squash) May 4, 2023 10:48
@bwateratmsft bwateratmsft merged commit 008d1c7 into microsoft:main May 4, 2023
@stackia stackia deleted the patch-1 branch May 4, 2023 10:50
alexyaang added a commit that referenced this pull request May 11, 2023
* scaffold tasks with native architecture

* specified return architecture

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* moved util file to appropriate location

* moved more util functions to appropriate folder

* added stricter type cheking

* refactored switch statements

* refactored more switch statements

* removed l10n

* slightly changes json schema

* Bump yaml from 2.2.1 to 2.2.2 (#3916)

Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](eemeli/yaml@v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add back onLanguage:dockerfile activation event (#3928)

* Add `SUPPORT.md` file (#3929)

* Add `SUPPORT.md` file

* Update SUPPORT.md

* Revert back to normal ARM auth package (#3930)

* moved util file to appropriate location

* moved more files to appropriate locations

* Separate task and client logic

* better descriptions

* added support for more Cpu Archs

* corrected suggested list

* added OS type to code more organized

* redid imports to separate client and task

* converted util method to Docker CLI Arg

* revert advanced type declaration to simpler form

* minor changes to naming

* removed util file

* edited json schema

* Update src/runtimes/docker/utils/normalizeContainerOS.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* handle edge cases with util method

* simplified json schema

* tweaked file layout

* use util in arg

* Update src/runtimes/docker/utils/normalizeContainerOS.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* Update src/runtimes/docker/utils/getNativeArchitecture.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* Update src/runtimes/docker/contracts/ContainerClient.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* making getNativeArchitecture more robust

* added comments to avoid confusion

* small tweak to normalizePlatform

* exported utils and imported them

* handle more os edge cases

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stackie Jia <jsq2627@gmail.com>
alexyaang added a commit that referenced this pull request May 11, 2023
* scaffold tasks with native architecture

* specified return architecture

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* moved util file to appropriate location

* moved more util functions to appropriate folder

* added stricter type cheking

* refactored switch statements

* refactored more switch statements

* removed l10n

* slightly changes json schema

* Bump yaml from 2.2.1 to 2.2.2 (#3916)

Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](eemeli/yaml@v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add back onLanguage:dockerfile activation event (#3928)

* Add `SUPPORT.md` file (#3929)

* Add `SUPPORT.md` file

* Update SUPPORT.md

* Revert back to normal ARM auth package (#3930)

* moved util file to appropriate location

* moved more files to appropriate locations

* Separate task and client logic

* better descriptions

* added support for more Cpu Archs

* corrected suggested list

* added OS type to code more organized

* redid imports to separate client and task

* converted util method to Docker CLI Arg

* revert advanced type declaration to simpler form

* minor changes to naming

* removed util file

* edited json schema

* Update src/runtimes/docker/utils/normalizeContainerOS.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* handle edge cases with util method

* simplified json schema

* tweaked file layout

* use util in arg

* Update src/runtimes/docker/utils/normalizeContainerOS.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* Update src/runtimes/docker/utils/getNativeArchitecture.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* Update src/runtimes/docker/contracts/ContainerClient.ts

Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>

* making getNativeArchitecture more robust

* added comments to avoid confusion

* small tweak to normalizePlatform

* exported utils and imported them

* handle more os edge cases

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Brandon Waterloo [MSFT] <36966225+bwateratmsft@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stackie Jia <jsq2627@gmail.com>
bwateratmsft added a commit that referenced this pull request May 16, 2023
…3943)

* Cherry-pick #3928: Add back onLanguage:dockerfile activation event

* Update version, changelog for 1.25.1
@bwateratmsft
Copy link
Collaborator

We're going to release this in a 1.25.1 release to get it out sooner.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension 'Docker' is configured as formatter but it cannot format 'Dockerfile'-files
2 participants