-
Notifications
You must be signed in to change notification settings - Fork 53
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
cEP-0023: Separation of metadata of bears #138
Labels
Comments
yukiisbored
changed the title
cEP-0021: Separation of meta-data of bears
cEP-0021: Separation of metadata of bears
May 10, 2018
I'd like to point out, I'm using TOML for the bear metadata language. It may be a good choice for writing bears. |
yukiisbored
changed the title
cEP-0021: Separation of metadata of bears
cEP-0023: Separation of metadata of bears
May 10, 2018
yukiisbored
added a commit
to yukiisbored/cEPs
that referenced
this issue
May 10, 2018
yukiisbored
added a commit
to yukiisbored/cEPs
that referenced
this issue
May 10, 2018
yukiisbored
added a commit
to yukiisbored/cEPs
that referenced
this issue
Jan 1, 2019
Please i would like to work on this issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most Python code we've written for bears are simple metadata that instructs coala on what to run, how to read the output, what to pass to the command, etc.
We can reduce the overall work, difficulty when writing, and size of coala Bears if it was in it's simplified form containing only necessary complication without the mess of having to copy paste boilerplate code.
Bears that require special needs can have it's Python code separated from the meta-data.
Here's an example of how it may look like:
Directory tree of the new bear:
What the metadata may look like:
How local bears will look like:
Obviously the above Python code will not run but it shows the point that coala shouldn't be a Python exclusive tool. It should enable other organizations/projects that doesn't use Python to use coala. This might be the first step into the world of non-Python exclusive local bears. Enabling organizations that uses other languages to write their own bears and It also enables an easier way to declare local linters that are used exclusively (like the various paid/commercial code safety checkers) to the project/organization.
The text was updated successfully, but these errors were encountered: