Giter Club home page Giter Club logo

clparse's People

Contributors

koppor avatar marcaddeo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clparse's Issues

Yanked release and version comparison links slightly wrong

When you yank a release the next release is still using it in it's comparison link.. This is probably not ideal.

For example:

## [5.10.1] - 2020-01-02

## 5.10.0 - 2020-01-02 [YANKED]

## [5.9.5] - 2019-12-22

[5.10.1]: https://github.com/my/repo/compare/5.10.0...5.10.1

I think ideally this would go back to the previous release that is not yanked.

## [5.10.1] - 2020-01-02

## 5.10.0 - 2020-01-02 [YANKED]

## [5.9.5] - 2019-12-22

[5.10.1]: https://github.com/my/repo/compare/5.9.5...5.10.1

Cargo install fails with "Could not find `__rt` in `quote`"

This looks like a neat tool. Thank you for implementing it!

When I ran cargo install clparse, it failed with the following error:

error[E0433]: failed to resolve: could not find `__rt` in `quote`
   --> /home/emk/.cargo/registry/src/github.com-1ecc6299db9ec823/err-derive-0.1.6/src/lib.rs:145:63
    |
145 | fn display_body(s: &synstructure::Structure) -> Option<quote::__rt::TokenStream> {
    |                                                               ^^^^ could not find `__rt` in `quote`

Non-Semver should be recognized if no "--separator" is provided

Follow-up to #22. Minor issue.

clparse --format=json --separator=–

works great

clparse --format=json

always outputs null as version.

I wonder whether it was possible that version is non-null, but date is null (because the separator is not known)

This might be too complex. Feel free to close the issue. My usecase works with --separator=–. Just wanted to share some ideas for "know-less" tooling :).

Change entries should wrap at 80 caharacters

When rendering the Changelog data as Markdown, the individual change entries should wrap at 80 characters.

Current'y we're preserving line breaks, and indentation, to handle such a scenario. Not sure if that current code would conflict with wrapping at 80 chars.

However, new changes added with cl don't have any wrapping on them since they're just yaml. So we need to figure out the best way to wrap the lines. Probably best to just strip all newlines out of change entries, and wrap them manually.

Support non-SemVer and en dashes

When trying to parse https://github.com/JabRef/jabref/blob/v5.11/CHANGELOG.md, version is always null. I think, it could be because of the used en dash. There is an issue, because the official format might permit en dash (see olivierlacan/keep-a-changelog#497; linked from nbbrd/heylogs#140 (comment)).

    {
      "version": null,
      "link": "https://github.com/JabRef/jabref/compare/v5.10...v5.11",
      "date": null,

If en dash support is "difficult" to implement, maybe this tool coud parse the github compare link to get the version out of that link?

(General background: I was recommended clparse at NiclasvanEyk/keepac#20 (comment))

Yanked releases are not working properly

Couple issues I noticed:

  1. Yank releases don't show up with clparse CHANGELOG.md
  2. (This may be aggregate-changes related only) When a release is yanked, it still renders it's link somehow.

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.