Git Product home page Git Product logo

grunt-ivantage-svn-changelog's People

Contributors

acusti avatar dependabot[bot] avatar jtrussell avatar sasifk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

grunt-ivantage-svn-changelog's Issues

Changelog task completes works but produces “Could not check in” warning

I manually updated to v0.4.0 when I saw that you had implemented the svn-project-root module and was happy to find that it works! However, though it generated the changelog contents and successfully committed it to SVN, it also generated a warning and aborted the grunt task with this text:

Warning: Could not check CHANGELOG into version control Use --force to continue.

I checked the tasks/ivantage_svn_changelog.js and am fairly confident I see the problem, though it makes me confused about how the task is supposed to work. At :149, the task runs svn add CHANGELOG.md, then follows it up with the svn commit, then checks the sum of the result codes from both commands to determine if it worked. Because I already have CHANGELOG.md in my repo, the svn add command returns:

svn: warning: W150002: '/Users/path/to/CHANGELOG.md' is already under version control
svn: E200009: Could not add all targets because some targets are already versioned
svn: E200009: Illegal target for the requested operation

and so the task generates a warning.

My confusion/question: is this task designed to preserve previously generated changelog content? If so, I imagine :144 should be something like (naïve version):

grunt.file.write(opts.outFile, changelogMd + grunt.file.read(opts.outFile));

changelog file contains only the range revision number

Hi,
When options revFrom or revTo is set with NaN value 'HEAD' or 'LAST_SEMVER_TAG' it seems that the command svn log -r revFrom: revTo is never called .

The changelog file contains only the two revision numbers return by the command svn info.

It would be a great tool if the svn log command was called after the recovery of the revision numbers to generate the changelog accordingly to the history referenced by the revision numbers.

Best regards.

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.