Skip to content

Emit list of types in "mix project_info" #69

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

Open
andyl opened this issue Oct 27, 2024 · 1 comment
Open

Emit list of types in "mix project_info" #69

andyl opened this issue Oct 27, 2024 · 1 comment

Comments

@andyl
Copy link
Contributor

andyl commented Oct 27, 2024

On different projects, we configure git_ops with different types.

We perform pre-commit checks and github lint checks with custom bash scripts.

It would be super handy if mix git_ops.project-info would emit a list of valid types.

That way, if the valid types are changed in config.exs, the changes could be automatically picked up by our lint scripts.

$ mix git_ops.project_info 
[app]
name = myapp 
version = 0.2.4
types = "build chore ci docs feat fix important improvement perf refactor style test tidbit"

Is there a way to get a type-list in the current system? Maybe I'm missing something...

If not, I can submit a PR if that would be welcome.

@zachdaniel
Copy link
Owner

There is no way that I know of to do so easily, open to a task for it :)

andyl added a commit to andyl/git_ops that referenced this issue Oct 27, 2024
Emit list of types in "mix git_ops.project_info"

The type information may be useful for CI.

See Issue zachdaniel#69 for more info.
zachdaniel pushed a commit that referenced this issue Oct 27, 2024
Emit list of types in "mix git_ops.project_info"

The type information may be useful for CI.

See Issue #69 for more info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants