Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDeb packager ignores scoped names #1467

Open
ianknowles opened this issue Oct 8, 2021 · 2 comments
Open

JDeb packager ignores scoped names #1467

ianknowles opened this issue Oct 8, 2021 · 2 comments

Comments

@ianknowles
Copy link

ianknowles commented Oct 8, 2021

The JDeb packager still uses the unscoped normalizedName for the .deb archive name, This was fixed more generally in the linux packagers on #188 but still an issue with JDeb. This results in some weirdness like a local deb created as normalizedName_version_arch.deb but published as (Debian / name)_version_arch.deb or (Debian / packageName)_version_arch.deb.

@ianknowles
Copy link
Author

ianknowles commented Oct 8, 2021

JDeb settings

val archive = archiveFilename(normalizedName.value, version.value, packageArchitecture.value)

vs Native packager settings

packageBin := buildPackage(
name.value,
version.value,
packageArchitecture.value,
stage.value,
debianNativeBuildOptions.value,
streams.value.log

@muuki88
Copy link
Contributor

muuki88 commented Oct 8, 2021

Thanks for the detailed report and already finding the issue.

Would you like to open a pull request for this 😊?

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

No branches or pull requests

2 participants