Skip to content

Honor tag creation date properly#3914

Closed
clintonsteiner wants to merge 7 commits intojenkinsci:masterfrom
clintonsteiner:fixTagTimeStampNotHonored
Closed

Honor tag creation date properly#3914
clintonsteiner wants to merge 7 commits intojenkinsci:masterfrom
clintonsteiner:fixTagTimeStampNotHonored

Conversation

@clintonsteiner
Copy link

Testing done

Wrote new unittests

Submitter checklist

  • [ x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • [ x] Ensure that the pull request title represents the desired changelog entry
  • [ x] Please describe what you did
  • [ x] Link to relevant issues in GitHub or Jira
  • [ x] Link to relevant pull requests, esp. upstream and downstream changes
  • [ x] Ensure you have provided tests that demonstrate the feature works or the issue is fixed

* "Ignore tags older than" field was using the commit creation
  date rather than the tag creation date.
* Change correctly distinguishes between:
    - Annotated tags → Uses tag creation time (fixes the bug)
    - Lightweight tags → Uses commit time (backward compatible)
This enables the "Ignore tags older than" feature to work correctly when new tags are created on old commits.
Fixes:
* jenkinsci#3731
* jenkinsci/basic-branch-build-strategies-plugin#268
@clintonsteiner clintonsteiner requested a review from a team as a code owner January 22, 2026 22:37
@github-actions github-actions bot added the tests Automated test addition or improvement label Jan 22, 2026
@clintonsteiner clintonsteiner force-pushed the fixTagTimeStampNotHonored branch from a182df7 to c44ac0f Compare January 22, 2026 23:25
* updates git-client used, which fixes test failures around git
  whatchanged
* 'git whatchanged' is nominated for removal.

hint: You can replace 'git whatchanged <opts>' with:
hint:   git log <opts> --raw --no-merges
hint: Or make an alias:
hint:   git config set --global alias.whatchanged 'log --raw
--no-merges'

If you still use this command, here
@github-actions github-actions bot added the dependencies Dependency related change label Jan 23, 2026
@clintonsteiner
Copy link
Author

Squashed in #3916

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

Labels

dependencies Dependency related change tests Automated test addition or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant