jenkinsci / jenkinsci/debian-package-builder-plugin
Artifacts aren't archive when using epoch
- Dominant language
- Java
- Stars
- 28
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Currently plugin fail to archive deb artefacts when using epoch.
https://github.com/jenkinsci/debian-package-builder-plugin/blob/master/src/main/java/ru/yandex/jenkins/plugins/debuilder/DebianPackageBuilder.java#L160
`latestVersion` is with epoch. But `dpkg-buildpackage` doesn't put it in name!
There is really a problem with version handling in this plugin. I'm quite sure #28 can fix it with some custom.
Contributor guide
Research direction
Read DebianPackageBuilder.java around line 160 and trace how latestVersion is used when locating the generated package. Compare the version containing an epoch with the filename produced by dpkg-buildpackage, and review issue #28 for the proposed version-handling direction. Done means epoch-bearing packages are archived using the actual generated filename.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100