Giter Club home page Giter Club logo

Comments (8)

janbuchar avatar janbuchar commented on September 8, 2024 1

I guess we can add another check where if the remote is configured we activate the integration also. That will likely solve your case as well since no modification on templates are needed. How does it sound?

That sounds perfect!

from git-cliff.

welcome avatar welcome commented on September 8, 2024

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

from git-cliff.

orhun avatar orhun commented on September 8, 2024

Hey, are you using GitHub related fields (e.g. github.contributors) in your cliff.toml? GitHub data is not fetched as default as long as it is activated via config.

I tried the following and it worked fine:

git cliff --context -c github

from git-cliff.

janbuchar avatar janbuchar commented on September 8, 2024

Hey, are you using GitHub related fields (e.g. github.contributors) in your cliff.toml? GitHub data is not fetched as default as long as it is activated via config.

Do I understand it right that I have to use those fields in my templates or else they won't be fetched? Currently I'm using commit.github.username and the context (printed with --context) looks fine 🤷

from git-cliff.

orhun avatar orhun commented on September 8, 2024

Yup, that's correct.

from git-cliff.

janbuchar avatar janbuchar commented on September 8, 2024

I see. The line of thought that led me here was that I configured the integration, then I wanted to check if it works by printing out the context and found that it was empty because I haven't touched the templates yet.

Also after #657 is implemented, I believe that users may want to do git-cliff -x and then use the github-related context fields in an external filter.

from git-cliff.

orhun avatar orhun commented on September 8, 2024

I guess we can add another check where if the remote is configured we activate the integration also. That will likely solve your case as well since no modification on templates are needed. How does it sound?

from git-cliff.

orhun avatar orhun commented on September 8, 2024

Implemented in #782, any chance that you can check it out locally? 😊

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.