#204 fedpkg does not work with Bodhi betas
Closed: Fixed 6 years ago Opened 6 years ago by bowlofeggs.

When I use fedpkg update with a Bodhi beta, I get an error:

$ fedpkg update
Could not execute update: Could not generate update request: invalid literal for int() with base 10: '0b0'

Ah, I found it - it turns out that fedpkg does not work with Bodhi betas, because they end up with a version that ends in b0. The _get_bodhi_version() function has this line:

return [int(component) for component in version.split('.')]

For the purposes of fedpkg, only the major version is really needed (and we would want to interpret that as an int) - perhaps it would be better to make the code only look at the major version and ignore the .y.z components of the version?

In any case, this issue is certainly not high priority.

Metadata Update from @cqi:
- Issue tagged with: bodhi

6 years ago

Metadata Update from @cqi:
- Issue set to the milestone: NEXT

6 years ago

Metadata Update from @cqi:
- Issue set to the milestone: 1.33 (was: NEXT)

6 years ago

Metadata Update from @cqi:
- Issue assigned to cqi

6 years ago

Commit 84abec9 fixes this issue

Login to comment on this ticket.

Metadata