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

63 Коммитов

Автор SHA1 Сообщение Дата
Timothee Guerin 74627ec770
Fix labels CI (#4336)
Seems like that was merged with conflict or failure
2024-09-04 17:58:53 +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 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 27ed13de58
Revert "Add validator to prevent discriminator and encodedname used together" (#3852)
Reverts microsoft/typespec#3763

This is actually a pattern used for things like `@odata.kind` and would
need more discussion to disallow
2024-07-16 21:35:49 +00:00
JoshLove-msft 3b8a18e6a3
Update CODEOWNERS (#3506) 2024-06-03 17:50:33 +00:00
Timothee Guerin 12344d1122
Inverse order in CODEOWNERS (#3505)
From the doc this seems to be the way to define catch all. Currently we
are getting added to all csharp emitter PRs


https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

Particularly this part
```

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
*       @global-owner1 @global-owner2

```
2024-06-03 16:38:30 +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 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
Timothee Guerin 69d6cb78ad
Stop adding `customer-reported` tag (#3357) 2024-05-14 20:59:19 +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
Timothee Guerin 791605a0cf
Simplify inactivity flow (#3321)
Simplfy flow from discussion in #3265 

- Add `needs-author-feedback` manually -> this assign issue back to user
- 14 days without reply close the issue
- User reply remove `needs-author-feedback` and unassign user
2024-05-10 23:12:21 +00:00
Timothee Guerin dec504364c
Bump versions for 0.56.0 release (#3298) 2024-05-08 00:34:05 +00:00
Timothee Guerin 21edcb8f76
Add release notes for 0.56.0 (#3294)
Fixed up cspell not validating `.chronus` and causing some typo in
release notes

---------

Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
2024-05-07 21:02:14 +00: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 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
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
Timothee Guerin 9b083d0180
Add issue templates (#3054)
Add issue templates with required input, recommending playground repro
for bugs

Github docs on those new issue templates form
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms

<img width="1456" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/5ccbacab-01d9-45e6-b55f-2ac70582e0a8">
2024-03-26 11:52:53 -07:00
Timothee Guerin 8991a9cd48
Remove david from codeowners (#3021) 2024-03-22 01:21:29 +00:00
Timothee Guerin c4ba287a4d
Update with fix (#2880) 2024-02-01 15:54:11 -08:00
Timothee Guerin 3040a83d6d
Chronus changelogs (#2851)
Issues with changesets versioning that prevent us from using it:
1. This one is a deal breaker bug that bumps to major versions(when we
try to bump todays changelog everything gets bumped to 2.0.0) (This is a
bug we found happened sometimes in cadl-ranch but this just happens
immediately in our repo due to everything being linked)
2. the verify doesn't check all packages have changelog just that there
is at least one
3. the `changesets add` doesnt' compare against remote main but local
main so you endup with confusing saying other packages changes if you
pulled some change from main in your branch but not on your local main


## Example of auto created comment

When changes are needed

![image](https://github.com/microsoft/typespec/assets/1031227/f20a0708-1d28-444b-be07-6ededcb5e3c1)

When everything is documented 

![image](https://github.com/microsoft/typespec/assets/1031227/9c0d0d05-d882-4f6e-87a5-3a58301fea49)

## Error is also more readable


![image](https://github.com/microsoft/typespec/assets/1031227/a7d0de43-4fed-4f01-94ba-3f95ae210c5d)

## `chronus add` experience

![image](https://github.com/microsoft/typespec/assets/1031227/ba31c84e-f2bf-4bfb-b754-743f2a78199a)

![image](https://github.com/microsoft/typespec/assets/1031227/922a5afc-e076-4d5c-91fc-df95bf423f04)

![image](https://github.com/microsoft/typespec/assets/1031227/98f2cedb-1783-42ed-930a-2d626de5c642)
2024-02-01 14:07:24 -08:00
Timothee Guerin 1492fa5297
Fix website build after pnpm migration (#2827) 2024-01-25 10:08:57 -08:00
Timothee Guerin 842405e8d1
Get rid of rush and move to pnpm (#2775)
Remove the opinionated (wrongly so most of the time) middleman that
brings more config pain than value.

Things to check:
- [x] Parallel build performance vs rush
- [ ] Publishing with submodule
- [x] Changesets
2024-01-24 13:37:34 -08:00
Timothee Guerin e0b77ab128
Uupdate base url to deploy to typespec.io (#2806) 2024-01-19 17:31:43 +00:00
Timothee Guerin b88e402450
Tryit pr use bot token (#2749) 2023-12-12 10:48:59 -08:00
Timothee Guerin f646e1924a
Use workflow for codeql configuration (#2720)
Somehow the default UI configuration doesn't run on pull requests so
hopefully this will work.

Right now we just get the security warnings after merging which is
unfortunate. It is also hard to run codeql locally so having it on a PR
to make sure we resolve it is nice

We'll get error like that
<img width="993" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/e1ff03d0-1f6a-49e5-8b27-b7c03e2b69f2">
2023-12-04 17:18:34 -08:00
Timothee Guerin c344444f7b
Add management of stale issues (#2279)
Add new policies for Microsoft Github bot to auto close issues that
needs-author-feedback and don't get reply.

- 7 Days without author feedback will send a reminder
- 14 days without author feedback will close the issue
- Response from the author will remove the `needs-author-feedback`
2023-10-30 19:17:21 +00:00
Timothee Guerin e26e782606
Fix website pr url (#2465)
- Fixes Azure/typespec-azure#3601
2023-09-21 14:15:43 -07:00
Mike Harder 06a8603947
Enable retries for "rush install" (#2425)
- Partial fix for azure/typespec-azure#3555
2023-09-15 14:56:14 -07:00
Mark Cowlishaw a6b7827fcd
Fix memory issues with github action build for website deployment (#2416) 2023-09-13 17:41:14 +00:00
Timothee Guerin e098c94470
Add linter selection to playground (#2386)
fix https://github.com/Azure/typespec-azure/issues/3456

![image](https://github.com/microsoft/typespec/assets/1031227/96fa8d76-f0b7-4cc9-8211-be0221ac900b)
2023-09-11 10:57:56 -07:00
Nick Guerrera 5764672d97
Remove myself from CODEOWNERS (#2149) 2023-07-05 12:59:16 -05:00
microsoft-github-policy-service[bot] 40ea9c3c5e
Onboarding to GitOps.ResourceManagement (#2071)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
2023-06-15 13:31:18 -07:00
Nick Guerrera bb653cb4db
Remove format PR workflow (#1826) 2023-04-14 17:20:39 +00:00
Mike Harder a9bc288cda
Improve performance of "rush" in pipelines (#1769)
- Replace "npx @microsoft/rush" with "node common/scripts/install-run-rush.js"
  - Faster and more reliable
- Add "--parallelism max" to all parallel rush commands
  - Ensures max parallelism on all OS (Windows default is "cores - 1")
- Run "rush unlink" before PublishTestResults
  - Significantly improves performance by deleting node_modules folders so they do not need to be searched
- Pass input searchFolder to PublishTestResults` 
  - Reduces number of folders that must be searched
- Move PublishTestResults to end of job
  - Must run after "rush unlink", which must run after all rush commands are done
- Always publish test results, since it should now be much faster
2023-03-30 14:15:49 -07:00
Jongwoo Han 706c71b5e9
Replace deprecated command with environment file (#1642) 2023-03-20 09:25:58 -07:00
Allen Zhang 95bd672274
Add loading cadl-project.yaml back compat (#1661) 2023-02-21 17:36:50 -08:00
Allen Zhang ec21edc669
Type spec rename follow-up items (#1660)
* minor rename followup

* update compiler homepage link in package.json

* Revert playground host name for a later fix.

* add changelog
2023-02-17 13:35:12 -08:00
Allen Zhang 064161d827 1/3 TypeSpec: Find/Replace Content 2023-02-16 13:07:22 -08:00
Timothee Guerin e0e4394bb0
Versioned docs (Latest and Next) (#1469) 2023-01-03 19:02:22 +00:00
Timothee Guerin 3ab2740f91
Use pull_request_target for tryit comment (#1464) 2022-12-19 20:13:44 +00:00
Timothee Guerin 8d471116e2
Add a dedicated github workflow to comment on PR with try it links (#1451)
* Diagnose

* Diagnose

* Diagnose

* Diagnose

* Diagnose

* .

* .

* Cleanup

* More workflows

* that worked
2022-12-19 11:00:32 -08:00
Timothee Guerin 2f90df268c
Tentative: fix cadleng format command (#1362) 2022-12-02 13:23:41 -08:00