Updated for order comments

This commit is contained in:
Dimitris Zlatanidis 2023-05-06 17:25:47 +03:00
parent f983d2f17d
commit d57c8b0af9
2 changed files with 21 additions and 21 deletions

View file

@ -22,18 +22,18 @@ class BinQueries:
BinariesTable.repo == self.repo).all()
repos_dict: dict = {
data.name: (data.version,
data.package,
data.mirror,
data.location,
data.size_comp,
data.size_uncomp,
data.required,
data.conflicts,
data.suggests,
data.description,
data.checksum,
data.repo)
data.name: (data.version, # 0
data.package, # 1
data.mirror, # 2
data.location, # 3
data.size_comp, # 4
data.size_uncomp, # 5
data.required, # 6
data.conflicts, # 7
data.suggests, # 8
data.description, # 9
data.checksum, # 10
data.repo) # 11
for data in repository_data
if not self.utils.blacklist_pattern(data.name)
}

View file

@ -33,15 +33,15 @@ class SBoQueries(Configs):
repository_data: tuple = self.session.query(self.sbo_table).all()
repos_dict: dict = {
data.name: (data.location,
data.files,
data.version,
data.download,
data.download64,
data.md5sum,
data.md5sum64,
data.requires,
data.short_description)
data.name: (data.location, # 0
data.files, # 1
data.version, # 2
data.download, # 3
data.download64, # 4
data.md5sum, # 5
data.md5sum64, # 6
data.requires, # 7
data.short_description) # 8
for data in repository_data
if not self.utils.blacklist_pattern(data.name)
}