Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.56k stars 2.78k forks source link

[bct] Investigate generic suppression process #36096

Closed catalinaperalta closed 2 weeks ago

catalinaperalta commented 3 months ago

Currently the tool relies on the breaking_changes_allowlist.py file to log supported packages and add suppressions. As part of making the tool more generic this should be a common file the tool looks for in a given library or project.

catalinaperalta commented 3 months ago

Consider we may only want a certain set of suppressions on a specific run. For example, only apply swagger to tsp suppressions in some cases, then run regular set of suppressions by default.

catalinaperalta commented 1 month ago

We can pass in a dictionary into the tracker instance suppression field with a dict in the shape of:

{
    "breaking": [],
    "changelog": []
}
catalinaperalta commented 2 weeks ago

We're using the ignore field on the BreakingChangesTracker for this and would expect folks to use that to pass in suppressions