Azure / Azure/azure-sdk-for-python

Migrate Storage Blobs to TypeSpec

Offen
#44,834 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @l0lawrence Auf GitHub ansehen
Epic
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
213

Beschreibung

# Goal

Update the Storage Blobs package to use TypeSpec instead of autorest

# Principles

- This is primarily an exercise to migrate the tool chain. This is NOT an exercise to
- Improve the convenience layer to latest guidelines
- Ask for new complex features in TypeSpec in order to remove already written manual convenience layer. For instance, paging in Storage couldn't be generated with autorest and was manually written. We don't plan to make TypeSpec support Storage paging out of the box, we'll just keep for now the convenience layer that exists. Easy TypeSpec update can be considered, as long as this doesn't impact the timeline in an unhealthy way.
- As this is an internal toolchain update, there should be no reason to update tests or re-record tests. It's actually a great regression testing to confirm that we're able to change the internal layers of Storage, without having to touch the test folder at all
- No breaking changes are allowed (APIView shouldn't even realize there was a change)

# Spec

We owned this branch, and should push all tspconfig and client.tsp updates directly there (no review needed yet):
https://github.com/Azure/azure-rest-api-specs/tree/feature/blob-tsp-xlang/specification/storage/Microsoft.BlobStorage

`tsplocation` should target this branch for now

# Reference

More details and update on the [loop page](https://microsoft.sharepoint.com/:fl:/s/4b8cd56b-6d40-4ab3-bea5-1744d4d73cdf/IQCVtwVSrfJ3Q6ZDSlY42ayEAYd_nPaeWNWHG6x7S8PjnXs?e=gGUlYa&nav=cz0lMkZzaXRlcyUyRjRiOGNkNTZiLTZkNDAtNGFiMy1iZWE1LTE3NDRkNGQ3M2NkZiZkPWIlMjFvcWVpNUNkU2owU0JoMUJuLVFQTjJxSzBYVnBPaWFGUGhzZ1BUaEdSTnRvNDNjM1JLMU05UXA0T1ZxZlV3b2VpJmY9MDFVUVdFWVBNVlc0Q1ZGTFBTTzVCMk1RMktLWTROVExFRSZjPSUyRiZhPUxvb3BBcHAmcD0lNDBmbHVpZHglMkZsb29wLXBhZ2UtY29udGFpbmVy)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.