Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache JIRA issues on filesystem #67

Open
bethesque opened this issue Sep 24, 2018 · 4 comments
Open

Cache JIRA issues on filesystem #67

bethesque opened this issue Sep 24, 2018 · 4 comments

Comments

@bethesque
Copy link

Thanks for your work on this library. It looks like it will be a great help to us.

I have a question about the expected usage. In some of my OSS projects, I use a changelog generation tool that prepends the release notes of the current changeset to the beginning of the CHANGELOG.md file each time I do a release.

git-changelog-lib seems to generate the entire changelog from scratch each time. When the Jira feature is enabled, this could be a seriously long running task! The only alternative I can see is to generate a temporary changelog file, and then prepend it to the existing CHANGELOG.md.

What is the recommended approach?

@tomasbjerre
Copy link
Owner

Yes it will generate it from scratch each time. And yes prepending may work for you.

Im labeling this as enhencement to investigate if this can be implemented.

@bethesque
Copy link
Author

As a potential source of inspiration, the conventional-changelog ruby gem that I use populates the fromRef from the most recent heading (tag) in the existing CHANGELOG.md file. This has worked very well for the projects that I've used it on.

@tomasbjerre tomasbjerre changed the title Question about usage Optionally prepend changes to an existing changelog Sep 24, 2018
@tomasbjerre
Copy link
Owner

The GitHub issues are cached, on filesystem. If caching was implemented on filesystem also for Jira, perhaps that would solve your problem?

@tomasbjerre tomasbjerre changed the title Optionally prepend changes to an existing changelog Cache JIRA issues on filesystem Sep 27, 2018
@bethesque
Copy link
Author

This runs on Jenkins, with a clean environment each time, so that wouldn't help us unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants