Comments (8)
This plugin provides includeCommitsAfter.
from maven-gitlog-plugin.
I'd really like the date range as proposed by @erikryverling. I know of the includeCommitsAfter
, which is what I use currently, but since I only want to see commits of the last three months, I have to update that date every month or so, which is just annoying.
from maven-gitlog-plugin.
I would have liked something more flexible than this (e.g. being able to specify something like 2m4d
for 2 months and 4 days), but since I did not find an easy way to parse such Strings - and I guess parsing them would be something for Apache's DateUtils
, not this plugin - I went for the cheap "just pass a number of dates".
from maven-gitlog-plugin.
@j-be you could use java.time.Period#parse
and strings like P2M
and P56D
etc.
from maven-gitlog-plugin.
@talios java.time.Period#parse
is exactly what I would need, but it is a Java 8 feature, and the POM of this plugin sets the language level to 6. I'm not sure whether this is intended or just a leftover from long time ago - README.md
doesn't mention. But I didn't want to mess with it.
To keep the possibility open, I introduced a parameter called includeCommitsDuringTheLastDays
, which could later be deprecated in favor of a more generic includeCommitsDuringPeriod
, backed by java.time.Period#parse
.
from maven-gitlog-plugin.
@j-be Joda-Time could be an option then - altho adding a dependency for a single function kinda sucks.
from maven-gitlog-plugin.
@talios My thoughts exactly. After all: just the days is what was requested in the first place.
from maven-gitlog-plugin.
Just merged the pull request, thanks. Released in version 1.13.17
from maven-gitlog-plugin.
Related Issues (20)
- Prefix convention
- gitlog plugin is failing if we do shallow clone HOT 3
- Filtering commits HOT 2
- Layout report HTML : evolution HOT 1
- RfE: Add commit id (with optional link to remote repository) HOT 1
- Have a "commits in last N hours" capability
- Feature : Add Asciidoc support HOT 2
- Aggregator multi-module maven project with multiple git repositories
- Ticket url in generated json changelog
- issueManagementUrl in asciidoc HOT 1
- Including commits only after a certain tag
- Ordering of git tags is wrong
- Author is set to committer and therefore is always considered equal to commiter
- plugin crashes when using <includeCommitsAfter> HOT 2
- Consider adding support for conventional commits HOT 3
- changelog is generated for current working directory rather than project directory
- Log commit parents
- n commits filtered
- maven-gitlog-plugin generate failed, even with the latest version HOT 2
- Feature request: Group by tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maven-gitlog-plugin.