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

wooga / atlas-release
98%
master: 81%

Build:
Build:
LAST BUILD BRANCH: PR-118
DEFAULT BRANCH: master
Repo Added 12 Jun 2017 04:11PM UTC
Files 10
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-53
branch: PR-53
CHANGE BRANCH
x
Reset
  • PR-53
  • 0.5.2
  • PR-100
  • PR-101
  • PR-103
  • PR-104
  • PR-105
  • PR-106
  • PR-107
  • PR-108
  • PR-109
  • PR-110
  • PR-111
  • PR-112
  • PR-113
  • PR-114
  • PR-115
  • PR-116
  • PR-117
  • PR-118
  • PR-119
  • PR-120
  • PR-31
  • PR-33
  • PR-35
  • PR-38
  • PR-39
  • PR-40
  • PR-41
  • PR-42
  • PR-44
  • PR-45
  • PR-46
  • PR-47
  • PR-48
  • PR-49
  • PR-50
  • PR-51
  • PR-52
  • PR-54
  • PR-57
  • PR-62
  • PR-64
  • PR-65
  • PR-67
  • PR-68
  • PR-69
  • PR-70
  • PR-71
  • PR-72
  • PR-73
  • PR-75
  • PR-76
  • PR-77
  • PR-78
  • PR-79
  • PR-80
  • PR-81
  • PR-82
  • PR-83
  • PR-84
  • PR-85
  • PR-86
  • PR-87
  • PR-88
  • PR-89
  • PR-90
  • PR-91
  • PR-92
  • PR-93
  • PR-94
  • PR-95
  • PR-96
  • PR-97
  • PR-98
  • PR-99
  • configurable_meta_clean
  • custom-github-release-body
  • enhance/gradle_version_check
  • feature/github_publish
  • feature/meta_cleanup
  • feature/release_note_with_dependencies
  • fix/add_subproject_setup_task
  • fix/change_set_icon_urls
  • fix/ensure-release-notes
  • fix/handle-multiple-hashsigns-in-commit
  • fix/normalize_release_notes
  • fix/paket-pack-multiple-template-files-with-same-id
  • fix/plugin_crash_when_pull-request_can_not_be_found
  • fix/publish-task-dependency
  • fix/semver_2_version_strategy
  • fix/strip_duplicate_changeset_icon_list
  • fix_rc_error_messages
  • githubrelease/set-is-prerelease-lazy
  • gradle/update_build_dependencies
  • master
  • refactor/make_patch_release_default
  • refactor/remove_release_notes_generator
  • release/2.x
  • release_notes_generator
  • update/atlas-paket
  • update/paket-get
  • v0.10.0
  • v0.10.1
  • v0.10.2
  • v0.11.0
  • v0.11.1
  • v0.12.0
  • v0.13.0
  • v0.14.0
  • v0.15.0
  • v0.15.1
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.5.0
  • v0.5.1
  • v0.5.2
  • v0.6.0
  • v0.7.0
  • v0.8.0
  • v0.9.0
  • v0.9.1

pending completion
2

push

jenkins

Fix branch name conversion

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

Git allows a few combinations of characters in branch names which are
not allowed in a semver version. The plugin already takes take by
replacing the special characters: `/_-` depending on the semver scheme.
But the regex parsing these characters are not checking for a series of
these special characters.
Branch names like these would fail to create a valid version:

`feature/-a_feature`
`fix/some_-random-bug`

I adjusted the regular expressions for both semver1 and semver2
strategies. The adjustments will result in a cleaner version generation
but would also allow the creation of weird branch names. Since these
names are valid git branch names I opted for a patch of the regex
instead of a branch name validator.

Semver1
-------

The strategy for the WDK semver1 versions has a slight drawback. When
creating it I decided to make the `.` character a special one and
replaced it with `Dot`. I forgot to capitalize the next word after the
`.` which becomes apperant only now.
A branchname like `fix/-_.bug` would yield a version like
`1.0.1-branchFixDotbug00009`. See the word _bug_ is not capitalized.
But a branchname like `fix/.-bug` would yield
`1.0.1-branchFixDotBug00009`. I don't want to change this now. We went
once changeing the version scheme and small things like these can have
unwanted repercussions.

Semver2
-------

Here the patch is straight forward. Replace a series of delimiter characters
including `.` followed by a word character with `.` + the word
character.

Changes
=======

* ![FIX] branch name conversion

248 of 253 relevant lines covered (98.02%)

2.94 hits per line

Relevant lines Covered
Build:
Build:
253 RELEVANT LINES 248 COVERED LINES
2.94 HITS PER LINE
Source Files on PR-53
  • Tree
  • List 6
  • Changed 6
  • Source Changed 6
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2 PR-53 Fix branch name conversion Description =========== Git allows a few combinations of characters in branch names which are not allowed in a semver version. The plugin already takes take by replacing the special characters: `/_-` depending on the s... push 27 May 2020 05:39AM UTC jenkins pending completion  
1 PR-53 Fix branch name conversion Description =========== Git allows a few combinations of characters in branch names which are not allowed in a semver version. The plugin already takes take by replacing the special characters: `/_-` depending on the s... push 26 May 2020 11:18PM UTC jenkins pending completion  
See All Builds (337)
  • 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