Timothee Guerin
66e847c71b
Force using aad auth for storage upload ( #4458 )
2024-09-16 21:44:19 +00:00
Timothee Guerin
a336c93709
Update prettier config to format trailing commas to `all` (Default) ( #4457 )
...
fix #2159
Long standing backlog issue that was split from an upgrade of prettier
as it created too much diff. Finally doing it
2024-09-16 20:20:57 +00:00
iscai-msft
1795063dd9
add label for python emitter ( #4172 )
...
Co-authored-by: iscai-msft <isabellavcai@gmail.com>
2024-08-13 20:43:26 +00:00
Timothee Guerin
b9e465b94e
Merge Hotfix back into main ( #4167 )
2024-08-13 17:06:15 +00:00
Srikanta
b44b80fb4a
Migrate Java client emitter ( #4045 )
...
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2024-08-12 22:10:25 +00:00
Timothee Guerin
7186ce468d
Move label automation back to includeModifiedFiles now it support glob ( #4048 )
...
Policy bot just added this functionality which allows to use glob
pattern
https://github.com/GitOps-microsoft/GitOps.PullRequestIssueManagement/pull/255
EDIT: seems like this needs to be deployed, will try again in a little
bit
2024-08-09 18:12:01 +00:00
Timothee Guerin
611667c535
Try fix website pr playground ( #4076 )
2024-08-01 19:14:06 +00:00
m-nash
94c083c192
Update cadl ranch name to differ from language short name ( #4072 )
...
Updates to use the new column in cadl ranch
`@typespec/http-client-csharp`
2024-08-01 18:47:02 +00:00
m-nash
60d87bc770
ignore eng emitters for pr tools pipeline ( #4035 )
2024-07-26 19:50:01 +00:00
m-nash
6253c6f193
Update so coverage is generated ( #4027 )
...
update to send coverage to cadl-ranch after tests
Fixes https://github.com/microsoft/typespec/issues/4012
---------
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2024-07-26 19:35:30 +00:00
Timothee Guerin
868891845f
Analyze change ts ( #3415 )
...
Convert the analyze-change.ps1 to typescript which allows to reuse a
common config for which area belong to who as well as some other
helpers.
The testing also is then all built-in the same system
2024-07-26 18:38:09 +00:00
m-nash
2fdb218b69
exclude when cspell.yaml changed ( #4021 )
...
Don't trigger try it if only cspell.yaml was changed outside of emitters
2024-07-25 20:55:37 +00:00
Timothee Guerin
3087671788
Add java emitter label ( #3963 )
2024-07-25 15:40:29 +00:00
Timothee Guerin
20e6e59a33
Add new label for openapi converter and ui ( #3877 )
2024-07-17 20:25:10 +00:00
Timothee Guerin
83afa54678
Improve tryit comment ( #3833 )
...
This link is super useful to review PRs but it is currently just a
little too much parsing effort to click on the right one.
### Before
![image](https://github.com/user-attachments/assets/cf8c1428-b3f9-487f-be1a-d48640336004 )
### After
![image](https://github.com/user-attachments/assets/d83970de-2b9e-4826-94fc-5df030deec99 )
2024-07-12 21:19:59 +00:00
Timothee Guerin
65fbae8c4a
Disable 1ES codeql due to unreliability ( #3770 )
...
From Azure sdk for js repo >
> All the other languages have disabled codeql and we are now hitting
blocking issues when running codeql on macos
(https://dev.azure.com/twcdot/Data/_workitems/edit/138580 ) and even on
the other OS's the configuration causes the builds to run for a long
time.
https://github.com/Azure/azure-sdk-for-js/pull/30277
2024-07-08 20:22:25 +00:00
Timothee Guerin
56b456d75e
Import openapi3 document in playground ( #3750 )
...
<img width="364" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/e9597497-97c3-4103-b0df-acf553e5af78 ">
<img width="726" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/00511247-8f95-4839-99a0-4d14c03b24b6 ">
2024-07-08 18:20:12 +00:00
Justin
245e4e620d
fix: fixes issue with tests not being found from template ( #3605 )
...
fix [#3647 ](https://github.com/microsoft/typespec/issues/3647 )
With node 22 the --test needs a glob to find files to test. As the docs
a written the tests don't run or pass. This fixes it for me.
---------
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2024-07-08 17:47:07 +00:00
Wes Haggard
17c6817430
Remove unused macos reference ( #3604 )
2024-06-25 00:22:48 +00:00
Timothee Guerin
76375a80f4
Add dev container configuration for repo ( #3440 )
...
This should help opening PR in codespaces as well as helping new
contributors
2024-05-24 00:20:36 +00:00
Timothee Guerin
5698be15fe
Make the sync label logic reusable for typespec-azure repo ( #3425 )
...
To allow this https://github.com/Azure/typespec-azure/pull/903
2024-05-23 17:01:14 +00:00
Timothee Guerin
eba81f0255
Run all if vitest.config.ts change ( #3411 )
2024-05-21 17:49:46 +00:00
Timothee Guerin
e316792dcd
Update dependencies - May 2024 ( #3401 )
2024-05-20 16:31:39 +00:00
Timothee Guerin
94c6d1ceed
Do not add `needs-area` if issue already had an area ( #3390 )
2024-05-17 18:15:12 +00:00
Timothee Guerin
940015c91e
Validate typescript eng scripts & use patterns for pr label triage ( #3381 )
...
`includesModifedFiles` doesn't seem to be working with path so trying to
use the regex pattern
2024-05-17 16:42:46 +00:00
Timothee Guerin
546f65c6db
Add missing openapi3 label and fix policies ( #3380 )
2024-05-17 00:11:12 +00:00
Timothee Guerin
eac8011448
Add generated policy to remove needs-triage when an area is added ( #3366 )
...
Generate the Microsoft policy service files to automatically to:
- add/remove `needs-triage` automatically when there is no area or an
area is added
- add the area on PRs
resolve #3340
2024-05-16 22:55:52 +00:00
m-nash
b477dc35a3
update triggers for files covered by gh actions ( #3344 )
...
Fixes https://github.com/microsoft/typespec/issues/3296
2024-05-14 16:08:29 +00:00
m-nash
2b7774827f
install correct node version ( #3345 )
...
Fixes https://github.com/microsoft/typespec/issues/3149
2024-05-14 00:19:07 +00:00
Timothee Guerin
adc2f32767
Add script to sync labels ( #3323 )
...
Add script to sync labels to enforce the labels designed in #3265
<img width="1050" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/5ba6a134-e6d6-4a28-9cf7-99fd27c8e89e ">
2024-05-13 21:11:35 +00:00
m-nash
87f210ce4b
Connect emitter to generator and use that path during generate.ps1 ( #3320 )
...
Fixes https://github.com/Azure/autorest.csharp/issues/4464
---------
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
2024-05-10 22:20:10 +00:00
m-nash
52377dda44
Run apiview checks in pr to detect public api changes ( #3283 )
...
Fixes https://github.com/microsoft/typespec/issues/3203
Fixes https://github.com/microsoft/typespec/issues/3207
2024-05-10 01:02:05 +00:00
Patrick Hallisey
6d0e2ac50e
Upgrade to an ESRP Release task version that supports federated auth ( #3295 )
2024-05-07 21:24:54 +00:00
m-nash
dff8131f68
Add regen test to csharp stages ( #3208 )
...
Fixes https://github.com/microsoft/typespec/issues/3206
2024-04-24 15:04:47 +00:00
Timothee Guerin
1987a56220
Fix password flow ( #3196 )
...
fix [#3137 ](https://github.com/microsoft/typespec/issues/3137 )
2024-04-23 00:53:04 +00:00
m-nash
d2292f0280
Move generator over to microsoft/typespec ( #3175 )
...
Fixes https://github.com/microsoft/typespec/issues/3173
2024-04-22 22:36:24 +00:00
Timothee Guerin
daad32686d
Enable github merge queue for ci ( #3193 )
2024-04-18 19:59:10 +00:00
Patrick Hallisey
53f8b1ddbf
Add pester tests to Analyze-Changes.ps1 ( #3178 )
...
fixes #3167
---------
Co-authored-by: m-nash <64171366+m-nash@users.noreply.github.com>
2024-04-15 15:16:02 -07:00
Timothee Guerin
0c02653186
Rename try it pipeline to Pr Tools and use new chronus commenter version ( #3176 )
...
Rename from pr try it to pr tools as this is more accurate
2024-04-15 21:27:14 +00:00
m-nash
1d381789fe
Add dynamic checking for running each sub stage ( #3162 )
...
Fixes https://github.com/microsoft/typespec/issues/3117
2024-04-12 17:59:32 -07:00
m-nash
39138d72e0
Step two of swapping over to check enforcer type ci ( #3159 )
...
Step 2 of https://github.com/microsoft/typespec/issues/3117
2024-04-11 23:15:27 +00:00
m-nash
75fcae981b
Update to have a conditional pipeline so we only run what is needed based on the pr ( #3150 )
...
First step of https://github.com/microsoft/typespec/issues/3117
We will need to do the following after merge detailed in the above issue
- update typespec - core - ci to point at the new
`eng/common/pipelines/ci.yml`
- move tsp-core steps into a template inside
`eng/tsp-core/pipelines/templates` so that these can be changed
independently
- remove `eng/tsp-core/pipelines/ci.yml
- remove `packages/http-client-csharp/eng/pipelies/ci.yml`
---------
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-04-11 14:05:57 -07:00
m-nash
287e24c689
Use same build / test matrix as tsp core ( #3138 )
...
Fixes https://github.com/microsoft/typespec/issues/3119
2024-04-10 12:38:20 -07:00
m-nash
7dd096c929
share common 1es template ( #3136 )
...
Fixes https://github.com/microsoft/typespec/issues/3132
---------
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2024-04-09 01:32:09 +00:00
m-nash
31d22ebc48
Add publish pipeline for dotnet emitter ( #3116 )
...
Fixes https://github.com/microsoft/typespec/issues/3111
---------
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2024-04-08 17:33:06 -07:00
Timothee Guerin
66c94ee182
Split publishing ( #3103 )
...
Separate the build from npm publish. This also allow only building once
for stable and dev release
<img width="556" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/497fec5f-fe80-48b7-8e20-a23115a546ba ">
this should also allow us to work nicely with the ESRP release task when
it is ready
Rename to `publish.yaml` so `ci.yaml` could be for pr and ci checks
instead.
2024-04-08 17:58:26 +00:00
Timothee Guerin
a98f35cea2
Migrate csharp emitter to vitest and remove lodash ( #3118 )
...
Fixes https://github.com/microsoft/typespec/issues/3108
2024-04-05 17:26:23 +00:00
m-nash
0889ba248c
Initial move of csharp client emitter ( #3098 )
...
Fixes https://github.com/microsoft/typespec/issues/3095
---------
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Co-authored-by: Patrick Hallisey <hallipr@gmail.com>
2024-04-04 16:26:05 -07:00
Patrick Hallisey
c6218ea626
Add pool to Publish Dev Packages stage ( #3104 )
2024-04-04 00:22:57 +00:00
Timothee Guerin
0c1b96be47
Ci improvements ( #3099 )
...
- Use corepack to install pnpm: Faster and respect the pnpm version set
in package.json instead of having another place to keep up to date
- dependency cache
- upgrade to new code coverage task
- Move all consitency check to independent github action workflow(Makes
it easier to see which one failed immediately without having to open
devops and dig into the steps)
2024-04-03 16:19:59 -07:00