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

Parses all building files as having a source version 1.0 regardless of actual version #21

Closed
vagrantc opened this issue Mar 27, 2017 · 1 comment

Comments

@vagrantc
Copy link

Presumably due to the update of the .buildinfo file format, buildinfo.debian.net is somehow parsing the "Format" field as the "Version" field, and all .buildinfo files are registering as version "1.0". Just grabbing the first three examples from https://buildinfo.debian.net at the moment:

stress-ng_1.0_arm64.buildinfo from 0xAAA3AE5F86A5D0BA
stress-ng_1.0_arm64.buildinfo from 0x1D3EA4D86F2FB555
libcatalyst-model-adaptor-perl_1.0_all.buildinfo from 0xFAC0B94FFF2617A2 cbxi4b (Automatically generated key for signing .buildinfo files)
libcatalyst-model-adaptor-perl_1.0_all.buildinfo from 0xC7E7F3E4B48B3CE6 opi2b (Automatically generated key for signing .buildinfo files)
envstore_1.0_amd64.buildinfo from 0x1BD40F376E003684 profitbricks-build5-amd64 (Automatically generated key for signing .buildinfo files)

@lamby lamby closed this as completed in 024f88f Mar 27, 2017
@lamby lamby changed the title display package version as 1.0 regardless of actual version Parses all building files as having a source version 1.0 regardless of actual version Mar 27, 2017
@lamby
Copy link
Owner

lamby commented Mar 27, 2017

import datetime
from bidb.buildinfo.models import Buildinfo
Buildinfo.objects.filter(version='1.0', created__gte=datetime.datetime(2017, 3, 23)).delete()

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

No branches or pull requests

2 participants