Comments (5)
Do you have any updates on this?
Nope, I've been distracted down other rabbit holes.
But yes that example from cargo-release
is similar to what I remember seeing.
from git-cliff.
Hey, although I'm a proponent of not adding language-specific features to git-cliff
, it makes sense to drop the need for a config file altogether and place the configuration inside an already existing manifest per se.
On that note, can you share examples to demonstrate how it might look like for the formats you mentioned? I think the first place to start implementing this is obviously Cargo.toml
so it would be nice to get an idea.
from git-cliff.
Here is an example of a similar use case, specifically using standard-version
tooling on a JS project. The conventional commit settings such as allowed types just gets added to the existing package.json file:
https://github.com/sile-typesetter/sile/blob/master/package.json#L36-L85
I'll try to come up with an example for a similar situation using Cargo.toml and adapt it far what it would look like with git-cliff
settings.
from git-cliff.
Here is an example of a similar use case, specifically using
standard-version
tooling on a JS project. The conventional commit settings such as allowed types just gets added to the existing package.json file:
It could be useful in the future. I'd like to focus on Cargo.toml
first though.
So I think custom metadata can be placed in Cargo.toml
. One example from cargo-release
:
I'll try to come up with an example for a similar situation using Cargo.toml and adapt it far what it would look like with
git-cliff
settings.
Do you have any updates on this?
from git-cliff.
I pushed f48d207 which means git-cliff can be configured inside Cargo.toml
now! 🥳
For more information, see README.md.
from git-cliff.
Related Issues (20)
- Output only merge commits into the default branch HOT 4
- Discard commits in `commit_preprocessors` or similar extension point
- Use regex group value in `commit_parsers` HOT 1
- Configure from section in pyproject.toml HOT 2
- Distinguish the PR title of the forked repository from the upstream repository HOT 2
- Multiple tags for a single commit
- Adding `git-cliff` to PyPI HOT 7
- PyProject not read HOT 5
- Package for RPM HOT 4
- Calculate the next version HOT 11
- Modify tests to include `docs:` prefix HOT 6
- Re-license under the MIT + Apache 2.0 license HOT 33
- Commit assigned to tag section instead of Unreleased section when merging a feature branch HOT 7
- Unable to use the author name inside the the commit_parsers HOT 2
- Some commits are being read in with a trailing new line at the end of the message
- Auto-bump the Homebrew formula
- Relevant tags are missing when using --include-path HOT 2
- Pass external variables HOT 4
- Crate single unified changelog for multiple git repositories HOT 2
- Commit assigned to tag section instead of Unreleased section when merging a feature branch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-cliff.