Giter Site home page Giter Site logo

Comments (6)

cookpete avatar cookpete commented on September 26, 2024 1

--issue-pattern option added in 1.3.0. See docs here. 👍

from auto-changelog.

cookpete avatar cookpete commented on September 26, 2024

This is a decent idea. Is the convention to use a hash, like fixes #ABC-12343 or just fixes ABC-12345?

Maybe issues like this should only be parsed if you set a custom issueUrl, otherwise the default issue links are guaranteed to not be correct.

from auto-changelog.

jeffkpayne avatar jeffkpayne commented on September 26, 2024

I think using the same #... convention is reasonable. The Atlassian suite will parse its own issue keys without the # and add links automatically, but it makes sense to me that the convention you use is consistent.

Wrt when you would use the alternate ID regex logic, why not allow the user to specify it? That way you could leave it up to the user to use a regex that matches their particular ticket ID and issue URL scheme.

from auto-changelog.

cookpete avatar cookpete commented on September 26, 2024

Wrt when you would use the alternate ID regex logic, why not allow the user to specify it?

Yeah this makes sense. Then it's down to the user to manage any pitfalls that may come up.

from auto-changelog.

cookpete avatar cookpete commented on September 26, 2024

One concern is that we would lose the fixes/resolves/closes pattern that is currently built in. If a user provided [A-Z]+-\d+ as the issue pattern then it might be too aggressive, ie

This commit is not related to PROJECT-123 

And has nothing to do with the serial number QWIODWJQO-014987298
And also does something to fix CAT-5 ethernet cables

would parse PROJECT-123, QWIODWJQO-014987298 and CAT-5 as a fix.

from auto-changelog.

jeffkpayne avatar jeffkpayne commented on September 26, 2024

from auto-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.