• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wooga / github-changelog-lib
93%
master: 91%

Build:
Build:
LAST BUILD BRANCH: PR-61
DEFAULT BRANCH: master
Repo Added 10 Sep 2019 06:05AM UTC
Files 22
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH PR-5
branch: PR-5
CHANGE BRANCH
x
Reset
  • PR-5
  • PR-1
  • PR-13
  • PR-14
  • PR-16
  • PR-2
  • PR-26
  • PR-29
  • PR-30
  • PR-31
  • PR-32
  • PR-33
  • PR-34
  • PR-35
  • PR-36
  • PR-37
  • PR-38
  • PR-39
  • PR-4
  • PR-40
  • PR-42
  • PR-43
  • PR-44
  • PR-45
  • PR-46
  • PR-47
  • PR-48
  • PR-49
  • PR-50
  • PR-52
  • PR-54
  • PR-57
  • PR-6
  • PR-61
  • PR-7
  • fix/release_date_format
  • main
  • master

pending completion
6

push

jenkins

Improve commit range validation

Description
===========

It is possible to provide a valid tag name or commit sha as _from_ and
_to_ parameters. The resulting commits are checked if they are available
but not if they are reachable from the provided branch.

```
NR
9         * commit 4 on develop
8         * commit 3 on develop
7       * | commit 5 (tag: v0.1.1)
6       * | commit 4
5       | * commit 2 on develop
4       * | commit 3 (tag: v0.1.0)
3       | * commit 1 on develop
        |/
2       * commit 2
1       * Initial commit
```

One could call `changeDetector.detectChangesFromTag('v0.1.0`, 'v0.1.1', 'develop')`
or with the commit SHA's and the function would fail with an generic
`java.lang.IllegalArgumentException`. This patch adds a range check for
the provided parameters and throws a more meaningfill exception.

Changes
=======

* ![IMPROVE] range validation for provided from/to parameters

222 of 238 relevant lines covered (93.28%)

2.8 hits per line

Relevant lines Covered
Build:
Build:
238 RELEVANT LINES 222 COVERED LINES
2.8 HITS PER LINE
Source Files on PR-5
  • Tree
  • List 11
  • Changed 11
  • Source Changed 11
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6 PR-5 Improve commit range validation Description =========== It is possible to provide a valid tag name or commit sha as _from_ and _to_ parameters. The resulting commits are checked if they are available but not if they are reachable from the provid... push 02 Jun 2020 11:59AM UTC jenkins pending completion  
5 PR-5 Improve commit range validation Description =========== It is possible to provide a valid tag name or commit sha as _from_ and _to_ parameters. The resulting commits are checked if they are available but not if they are reachable from the provid... push 29 May 2020 11:59AM UTC jenkins pending completion  
4 PR-5 Improve commit range validation Description =========== It is possible to provide a valid tag name or commit sha as _from_ and _to_ parameters. The resulting commits are checked if they are available but not if they are reachable from the provid... push 29 May 2020 08:59AM UTC jenkins pending completion  
See All Builds (121)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc