Граф коммитов

1292 Коммитов

Автор SHA1 Сообщение Дата
Noah Gilson 446f932cb9 Update to version 2 0 3 2024-03-21 15:37:40 -07:00
Noah Gilson 0ac87cd715 Merge branch 'nagilson-recommended-version-ex' of https://github.com/nagilson/vscode-dotnet-runtime into nagilson-recommended-version-ex 2024-03-20 16:15:30 -07:00
Noah Gilson 49746e28d8 fix test 2024-03-20 16:15:22 -07:00
Noah Gilson f603f5039a
Merge branch 'main' into nagilson-recommended-version-ex 2024-03-20 15:31:52 -07:00
Noah Gilson 56220a0cac Make Recommended Version API Return Version instead of String
This will make calling the API simpler for external users. Breaking change, but we have not documented this and its relatively new, so should be OK.
2024-03-20 15:30:31 -07:00
Noah Gilson 856fe78ce1
Use official templates so we get counted on the internal pie chart (#1713)
The migration tool and doc examples all use the unofficial one ecks dee

Also create a dupe of the PR pipeline so we can migrate main to that file once it is checked in and then delete the other one to rename it to a more descriptive name.
2024-03-19 15:32:11 -07:00
Noah Gilson 3501803d33 Use official templates so we get counted on the internal pie chart
The migration tool and doc examples all use the unofficial one ecks dee

Also create a dupe of the PR pipeline so we can migrate main to that file once it is checked in and then delete the other one to rename it to a more descriptive name.
2024-03-19 14:38:17 -07:00
Noah Gilson 0289a6d048
Migrate to 1ES Pipeline (#1679)
* Migrate pipeline to 1es

* Clean up changes made from migration tool

* Separate pipeline out into many yaml files so we can have 2 pipelines without code duplication
due to new internal requirement

* remove unncessary pipeline backup

* Remove pipeline from 1es for public as it is not going to be added to the organization in public

* Update yaml loop logic
Remove devcontainer as it is out of compliance and not used by anyone

* fix mappping by adding body to the loop with indentation:

* add a 1es repository

* Create a separate 1es pipeline

* use self to search in the correct repository

* migrate to self on 1es

* use folder name pipeline-templates over templates

* use yaml over yml

* temporarily move jobs into one os

* split pools

* Move the loop to out of the job

* move the task into steps instead of a job as u cant do a job in a job

* remove template keyword

* dont call steps template in job outside of steps

* use yaml instead of yml

* add sdl

* use unique names for jobs

* use _ instead of space

* Use azure pipelines name to conform to style

* give image to each parameter

* make it 1 os for 1 os job and use different pool

* Call pool explicyk

* try to fix names

* Use different source for mac instead of 1es

* Update get-func-name

* Update public PR pipeline

* use public pool as thats what the name param is for

* give image name instead of vmimage as it snot used

* try to switch to a better pool

* try using internal pool on public as external is not available

* Publish logs to os specific folder

* condition steps so they are skipped if not needed per os

* dont care if it succeeded

* add paran

* remove paran

* use parameter pools instead of agent os

* move to 7.0 instead of 6 bc six is broken in the cache online maybe

* switch to 1es pool

* try using public  pool

* See if mac pipeline has a mirror in svc

* use image names from open

* Use vm image in the image

* Use vm image in the image

* update vm image

* try to condition the pool

* code cleanup now that everything was working

* fix whitespace

* Update vscode-test

* Update vscode-test to the new name

* respond to most pr feedback

* rename the file as I cannot change the pipeline name while its in main maybe
2024-03-14 15:09:21 -07:00
Noah Gilson f08b1858c4
Merge pull request #1676 from nagilson/nagilson-resolver-added-bug
Treat Version Errors as Install Cancellations + Other minor logging improvements
2024-02-29 11:20:47 -08:00
Noah Gilson 7805325c01 Change Bad Versions Into Cancellations Instead of Error
When users enter manual versions we will see a lot more bad version strings which currently are reported as a failure for us to acquire. We dont want to pollute the telemetry with bad data for failure analysis.

When doing this change, I also improved logging for powershell and noticed some cancellation errors are still counted as failure due to some bugs like throwing a new error instead of bumping up the error, and some places throw the event and others throw the error inside of the event, We need to update the code to do both, although it is probably better to migrate all code to one system, that is a big change I dont want to do right now
2024-02-22 11:55:57 -08:00
Noah Gilson 1f0f2cf4fc Add logging for wsl detection 2024-02-21 15:11:30 -08:00
Noah Gilson b4e5ea63af Make version parsing always work for extended runtime versions 2024-02-21 14:38:54 -08:00
Noah Gilson 720f316370
Merge pull request #1668 from JL03-Yue/origin/jl03-version-split
Fix Version Parsing & Test Activation
2024-02-21 13:53:08 -08:00
Noah Gilson 72c5f863a7
Parenthesize the order of operations for and logic to represent correct behavior 2024-02-21 13:41:21 -08:00
annie 329671857e Change options to include red hat 2024-02-20 13:49:18 -08:00
annie 6d6d601863 Merge branch 'origin/jl03-version-split' of https://github.com/JL03-Yue/vscode-dotnet-runtime into origin/jl03-version-split 2024-02-20 13:16:19 -08:00
annie 3629d4e968 Add more option to include red hat 2024-02-20 13:15:45 -08:00
Noah Gilson b58dd5b8ed access env var in a safer way 2024-02-20 10:53:38 -08:00
Noah Gilson e4a0f6d365 Set test environment variable to prevent double activation
When we add activation on startup finished we encountered a new bug with the test process that has existed for many years
it will activate twice and the extension will be in a bad state. we need to allow manual activation to inject the correct mock classes into the extension and prevent it from activating on startupfinished under test.
2024-02-20 10:52:22 -08:00
Noah Gilson 12e06d3e81 Only activate the extension on start up to prevent re-registering the commands already registered from another copy of the extension 2024-02-14 10:15:07 -08:00
annie c1d4de1f30 change to original state 2024-02-13 21:22:00 -08:00
annie d8974edfe0 Merge branch 'origin/jl03-version-split' of https://github.com/JL03-Yue/vscode-dotnet-runtime into origin/jl03-version-split 2024-02-13 21:11:40 -08:00
annie 6ab592e66d add version split option for test 2024-02-13 21:10:54 -08:00
JL03-Yue e15e8d0d7b
Merge branch 'main' into origin/jl03-version-split 2024-02-13 16:45:31 -08:00
annie 751a219a0e change version split for test 2024-02-13 16:42:35 -08:00
Noah Gilson 35b93581b7
Merge pull request #1660 from nagilson/nagilson-Fix-stdout-err
Fix Bug where Password Prompt Failure to Launch could be considered Success
2024-02-12 10:17:00 -08:00
Noah Gilson af331bec50 Merge branch 'nagilson-Fix-stdout-err' of https://github.com/nagilson/vscode-dotnet-runtime into nagilson-Fix-stdout-err 2024-02-06 14:31:50 -08:00
Noah Gilson 6b19a21891 Move from * to startup finished to prevent lagging VS Code when it starts up 2024-02-06 14:31:43 -08:00
Noah Gilson bfaab0fae8
Merge branch 'main' into nagilson-Fix-stdout-err 2024-02-06 14:22:55 -08:00
Noah Gilson 7bacf7e79c
Merge pull request #1641 from nagilson/nagilson-stderr-insr
Dont treat stderr as error for Install Scripts
2024-02-06 14:22:09 -08:00
Noah Gilson 67e7786fca Improve error message for existing installs. 2024-02-06 14:14:34 -08:00
Noah Gilson 0825fdce2f Merge branch 'nagilson-Fix-stdout-err' of https://github.com/nagilson/vscode-dotnet-runtime into nagilson-Fix-stdout-err 2024-02-06 14:02:41 -08:00
Noah Gilson 736a2f3a9a Change WSL flag to negative by default as it needs to be activated before command appears, and cause activation to happen upon loading vscode 2024-02-06 14:02:27 -08:00
Noah Gilson fad035f4ac
Remove message as it already exists once before 2024-02-06 13:55:11 -08:00
Noah Gilson 3329c09c32 Add a message for when we dont need to do another install 2024-02-06 10:58:53 -08:00
Noah Gilson 539792b982 consider update a terminal failure
if we fail to update we are probably still fine
but update is sometimes the first command to be executed
if it is the first and fails, then we will continue with the master process being dead
while thinking it is alive
2024-02-06 10:28:12 -08:00
Noah Gilson 38aa367f95 resolve with stderr, err still gets posted fine 2024-02-05 16:39:08 -08:00
Noah Gilson 03d53e45bb
Merge branch 'main' into nagilson-stderr-insr 2024-02-05 15:43:27 -08:00
Noah Gilson b1bc3373d2
Merge pull request #1642 from nagilson/nagilson-2.0.2-release
2.0.2 Release - Add 'Recommended Version' API & User Public Command
2024-02-05 15:35:33 -08:00
Noah Gilson a1e89fee3d
Update test for 8.0 2024-02-05 14:12:08 -08:00
Noah Gilson c570213577 Merge branch 'nagilson-2.0.2-release' of https://github.com/nagilson/vscode-dotnet-runtime into nagilson-2.0.2-release 2024-02-05 14:02:40 -08:00
Noah Gilson b29bce0140 Return the newest version if no active versions are found 2024-02-05 14:02:28 -08:00
Noah Gilson 46b83479fa
Fix readme typo 2024-02-05 13:54:32 -08:00
Noah Gilson ffd97360ec Fix WSL Check to work if we dont know if we are running under linux yet 2024-02-05 13:45:59 -08:00
Noah Gilson 7d1e542b91 Update dependencies 2024-02-05 12:45:31 -08:00
Noah Gilson 45e0bafd38 Merge RHEL test change with api change 2024-02-05 12:41:38 -08:00
Noah Gilson 4784d1d24d Merge branch 'nagilson-2.0.2-release' of https://github.com/nagilson/vscode-dotnet-runtime into nagilson-2.0.2-release 2024-02-05 12:37:04 -08:00
Noah Gilson 6bdfdb788e Add preview flag to enable public command 2024-02-05 12:36:51 -08:00
Noah Gilson f7c9b363bb
Merge branch 'main' into nagilson-2.0.2-release 2024-02-05 12:34:45 -08:00
Noah Gilson cd362f67ba
Merge pull request #1620 from nagilson/nagilson-linux-single-prompt
Reduce Linux Prompt to Single Ask
2024-02-05 12:34:25 -08:00