GithubHelp home page GithubHelp logo

Comments (7)

andre-ferreira-qlik avatar andre-ferreira-qlik commented on June 14, 2024

The error message didn't help at all. The issue relates to the fact that no remote url was set. It would be nice to have a check on the return value of "git config --get remote.origin.url" and let the user know its not set.

Defaults wise, can't figure out why they aren't what I've specified

from git-changelog.

rafinskipg avatar rafinskipg commented on June 14, 2024

I'm gonna take a look!

from git-changelog.

rafinskipg avatar rafinskipg commented on June 14, 2024

First of all, if you don't have a remote set, you can pass the option repo_url.

I have added a warning if you don't have repo_url set and it doesnt have a remote.

Running "git_changelog:minimal" (git_changelog) task
Error generating changelog  Sorry, you doesn't have configured any origin remote or passed a `repo_url` config value

You can pass the debug param to true if you want to see more detailed logs.

from git-changelog.

rafinskipg avatar rafinskipg commented on June 14, 2024

The 2 first messages

The APP name is My app - Changelog
The output file is CHANGELOG.md

Are shown because somewhere it is requiring the command.js file, but this logs doesn't mean that this is being generated this way. I'm going to try to find why this is happening.

Anyway, when you set the repo_url and the debug option to true you will have this working

from git-changelog.

rafinskipg avatar rafinskipg commented on June 14, 2024

I have uploaded a new version 0.1.6 that fixes that problem.

If you have any issue let me know.

Also I'm adding more tests for ensuring that the options works well.

from git-changelog.

andre-ferreira-qlik avatar andre-ferreira-qlik commented on June 14, 2024

Hello,
I've since move to another solution. I open the issue just to make you aware has i didn't have the time to fix and contribute. Once i have more time I'll re-check it, so thank you for fixing it.
Best regards
André

from git-changelog.

rafinskipg avatar rafinskipg commented on June 14, 2024

ok @andre-ferreira-qlik , I let you know that everything is fixed, next time you can try adding the repo_url param:

grunt.config('git_changelog', {
    minimal : {
      options: {
        app_name : grunt.file.readJSON('project-config.json').git_changelog.app_name,
        debug: true,
        repo_url: "http://repositoryurl.com/whatever",
        file : "../CHANGELOG.md"
      }
    }
  });

from git-changelog.

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.