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

Tilde in version is removed in build with REST API #81

Closed
rezib opened this issue Mar 25, 2023 · 0 comments
Closed

Tilde in version is removed in build with REST API #81

rezib opened this issue Mar 25, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rezib
Copy link
Contributor

rezib commented Mar 25, 2023

The tilde in version is removed when building through REST API, for example:

$ fatbuildrctl --debug --uri http://localhost:5000/default build --artifact fatbuildr --basedir pkgs  --distribution ubuntu22.04 --source-dir . --source-version 1.9.0~dev1 --watch 
…
dpkg-deb: building package 'fatbuildr-common' in '../fatbuildr-common_1.9.0dev1-1.ubuntu2204_all.deb'.
dpkg-deb: building package 'fatbuildr-wrappers' in '../fatbuildr-wrappers_1.9.0dev1-1.ubuntu2204_amd64.deb'.
dpkg-deb: building package 'fatbuildr' in '../fatbuildr_1.9.0dev1-1.ubuntu2204_all.deb'.
dpkg-deb: building package 'fatbuildr-wrappers-dbgsym' in 'debian/.debhelper/scratch-space/build-fatbuildr-wrappers/fatbuildr-wrappers-dbgsym_1.9.0dev1-1.ubuntu2204_amd64.deb'.
	Renaming fatbuildr-wrappers-dbgsym_1.9.0dev1-1.ubuntu2204_amd64.deb to fatbuildr-wrappers-dbgsym_1.9.0dev1-1.ubuntu2204_amd64.ddeb
 dpkg-genbuildinfo -O../fatbuildr_1.9.0dev1-1.ubuntu2204_amd64.buildinfo
 dpkg-genchanges -sa -O../fatbuildr_1.9.0dev1-1.ubuntu2204_amd64.changes
…

The build is submitted with version 1.9.0~dev1 but packages are actually built with version 1.9.0dev1. This is a bug and must be fixed.

@rezib rezib added the bug Something isn't working label Mar 25, 2023
@rezib rezib added this to the v2.0.0 milestone Mar 25, 2023
@rezib rezib self-assigned this Mar 25, 2023
@rezib rezib closed this as completed in 2330f6c Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant