RoadieHQ / backstage-entity-validator

Validate properties and well known annotations in your Backstage catalog-info.yaml files.
https://roadie.io
68 stars 14 forks source link

Relax source-location annotation validation #11

Closed joncfoo closed 3 years ago

joncfoo commented 3 years ago

Problem

Some links that we use do not have a trailing slash at the end. Adding the trailing slash to these URLs results in a 404.

Solution

Remove the required trailing slash at the end of the source-location validator for non-directory locations. This allows us to use locations like url:http://some/where/else.

Xantier commented 3 years ago

Thanks @joncfoo . I'll merge this in and create a new package/action/org out of these changes shortly.

Xantier commented 3 years ago

This is now released under version number 0.2.7.

joncfoo commented 3 years ago

Thank you 😄