Giter Club home page Giter Club logo

Comments (5)

alerque avatar alerque commented on September 8, 2024 1

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.

orhun avatar orhun commented on September 8, 2024

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.

alerque avatar alerque commented on September 8, 2024

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.

orhun avatar orhun commented on September 8, 2024

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:

sile-typesetter/sile@master/package.json#L36-L85

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:

https://github.com/crate-ci/cargo-release/blob/8908982c5b86ebc394047ca288c7a2a0abfe25d6/Cargo.toml#L20

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.

orhun avatar orhun commented on September 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.