Giter Site home page Giter Site logo

Comments (9)

cookpete avatar cookpete commented on September 27, 2024 1

@edmorley I've added my attempt at an --include-branch option to 1.6.0. Would be great to see if it's at all useful for your use case (or if it even works properly) as I don't have any decent repos to test it with.

from auto-changelog.

cookpete avatar cookpete commented on September 27, 2024

As it stands, auto-changelog will just use the currently checked out branch to generate the changelog for that branch. I suppose we could add a --branch option to specify a branch to generate a log for? Then with master checked out you could auto-changelog --branch release/v8

What is your plan when releasing v9? Merge in release/v8 and bring 8.2.1, 8.2.2, etc across to master?

from auto-changelog.

edmorley avatar edmorley commented on September 27, 2024

What is your plan when releasing v9? Merge in release/v8 and bring 8.2.1, 8.2.2, etc across to master?

Ah that's the catch, we likely won't be merging it in, since it only has cherrypicked fixed from master, and master doesn't need anything from it.

from auto-changelog.

cookpete avatar cookpete commented on September 27, 2024

So the real solution for what you need would be to include commits from a certain branch as well as the current one? Which would capture any extra releases from the included branch... although I'm not sure how well the two sets of commits would consolidate into one log? And then what happens when that branch is deleted?

from auto-changelog.

edmorley avatar edmorley commented on September 27, 2024

I think the intention at the moment is for the release/v8 branch to be long-lived. Though I can see that might not be the case for some projects.

This is turning non-trivial hehe...

from auto-changelog.

cookpete avatar cookpete commented on September 27, 2024

I have finished but not yet pushed an --include-branch option that I think solves your use case. Once the tests and stuff are sorted I'll push it up. Sorry for the delay!

from auto-changelog.

cookpete avatar cookpete commented on September 27, 2024

This is turning non-trivial hehe...

@edmorley I think you might be right. How should we order any extra releases from the included branch? In order of release date would intersperse releases from v8.x and v9.x and look a bit messy. Ordering by version number would make sense but then the releases would no longer be in date order.

from auto-changelog.

edmorley avatar edmorley commented on September 27, 2024

I think by version number makes sense?

from auto-changelog.

edmorley avatar edmorley commented on September 27, 2024

Sorry for the delayed reply -- I've finally had a chance to try this out (neutrinojs/neutrino#970), and it works great. Many thanks!

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.