Skip to content

Comments

Add check for duplicates in providers yamls#12578

Merged
mik-laj merged 1 commit intoapache:masterfrom
PolideaInternal:duplicate-check-in-provided-yamls
Nov 24, 2020
Merged

Add check for duplicates in providers yamls#12578
mik-laj merged 1 commit intoapache:masterfrom
PolideaInternal:duplicate-check-in-provided-yamls

Conversation

@TobKed
Copy link
Contributor

@TobKed TobKed commented Nov 23, 2020


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@boring-cyborg boring-cyborg bot added area:dev-tools provider:google Google (including GCP) related issues labels Nov 23, 2020
@mik-laj mik-laj merged commit 3fa51f9 into apache:master Nov 24, 2020
@mik-laj mik-laj deleted the duplicate-check-in-provided-yamls branch November 24, 2020 04:25
@potiuk
Copy link
Member

potiuk commented Nov 24, 2020

Just a comment: very similar (but not the same ) check can probably be done with uniqueItems Json schema property for arrays (http://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.4.3). We can add it as a next step. It checks for uniqueness of full "items" rather than "integration-name" only, but might be useful to add anyway to account for accidental copy&paste errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants