Coder Social home page Coder Social logo

pr_log's Issues

Unable to use the PR's author data in `entry_template`

Hi,

First of all, thanks and kudos for this tool, which is the closest I've found so far to the way we'd like to manage the Changelog of our project! ๐Ÿ™

Now, when trying to customize the entry_template I ran into the following issue: there is apparently no way to use data from nested fields returned by the Github API, in particular the user field.

For instance, there is no way to use a template like this: "- %{title} (#%{number}) by %{user.login}\n".

I'm not sure if this should qualify as a bug or an enhancement request, but it's definitely something we'd find useful, and which would make the following sentence (from the Readme) even truer:

All fields from the
issue search response
can be used as interpolations.

Now, I am by no means a ruby developer, but since we had this need on our project I tried to implement this feature on a forked repository.

I am not sure if my implementation is acceptable or not, since it involves overriding the % interpolation operator of the String class.
But in case you are interested, you can find it here: slax57#1

I'd be happy to open a PR against your repository if you believe my implementation can be kept.

Cheers,

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.