Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix manifest lint errors detected by CLI #16

Merged
merged 2 commits into from
Aug 11, 2021

Conversation

pkosiec
Copy link
Member

@pkosiec pkosiec commented Aug 4, 2021

Description

Changes proposed in this pull request:

  • Fix JSON Schemas in Types

Related issue(s)

capactio/capact#398

@pkosiec pkosiec added bug Something isn't working area/hub-manifests Relates to Hub manifests labels Aug 4, 2021
Copy link
Member

@mszostok mszostok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How you fixed those schemas? I assume, that you fix that in automatic way. Can we have sth like that also embedded in our CLI?

For example, capact manifests lint --fix or capact manifest interfaces fmt or sth like that.
WDYT? IMO it will be really useful. I know that I will use it quite a lot :D

@pkosiec
Copy link
Member Author

pkosiec commented Aug 11, 2021

@mszostok I couldn't agree more that it would be great 😄 I fixed all errors manually, using online tool. We would need to figure out what we actually can fix automatically and search for Go libraries, which fix e.g. JSON errors (commas), etc. You can create a task for that, but I think we won't be able to implement that anytime soon 😞

@pkosiec pkosiec changed the title Fix JSON Schemas in Types Fix manifest lint errors detected by CLI Aug 11, 2021
@pkosiec pkosiec merged commit 2ccce56 into capactio:main Aug 11, 2021
@pkosiec pkosiec deleted the fixed-schemas branch August 11, 2021 08:20
Trojan295 pushed a commit to Trojan295/hub-manifests that referenced this pull request Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hub-manifests Relates to Hub manifests bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants