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

feat: add customizable git messages #21

Open
bayssmekanique opened this issue Feb 26, 2024 · 1 comment
Open

feat: add customizable git messages #21

bayssmekanique opened this issue Feb 26, 2024 · 1 comment

Comments

@bayssmekanique
Copy link

Issue

In the current implementation the git messages are hard coded and mostly sane defaults, but many CI/CD workflows require specific formatting or keywords in commit messages (for linting or job triggering). An example would be conventional commit linted system where a required <type> and optional [scope] prefix on commit messages could cause issues with deployment.

Suggested Resolution

The best solution I could come up with is to simply allow overriding of commit messages in the configuration file. This could get a bit heavy as there are a few different types of commit messages currently used, and several have multiple messages depending on the CRUD operation being performed, but this would be the most flexible solution.

@hunvreus
Copy link
Member

2 things:

  • I could make the commit messages configurable in the .pages.yml file, that shouldn't be too complicated.
  • I would also like to let users potentially override the default message when making a change via the interface. This is probably something I'll enable when I add a delay on actions (e.g. you have 5 seconds to cancel a save/delete before it effectively happen).

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