Skip to content

Commit

Permalink
Update for Garden Linux 1592
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Sep 18, 2024
1 parent 3ac0ca6 commit 416ff7f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ingest-postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ glvd-data ingest-debsrc gardenlinux 1443.7 ./gardenlinux-packages/1443.7
echo "Run data ingestion (ingest-debsrc - gardenlinux 1443.8)"
glvd-data ingest-debsrc gardenlinux 1443.8 ./gardenlinux-packages/1443.8
echo "Run data ingestion (ingest-debsrc - gardenlinux 1443.9)"
glvd-data ingest-debsrc gardenlinux 1443 ./gardenlinux-packages/1443.9
glvd-data ingest-debsrc gardenlinux 1443.9 ./gardenlinux-packages/1443.9
echo "Run data ingestion (ingest-debsrc - gardenlinux 1443.10)"
glvd-data ingest-debsrc gardenlinux 1443 ./gardenlinux-packages/1443.10
echo "Run data ingestion (ingest-debsrc - gardenlinux 1592.0)"
glvd-data ingest-debsrc gardenlinux 1592.0 ./gardenlinux-packages/1592.0
echo "Run data ingestion (ingest-debsrc - gardenlinux 1592.1)"
glvd-data ingest-debsrc gardenlinux 1592 ./gardenlinux-packages/1592.1
echo "Run data ingestion (nvd)"
glvd-data ingest-nvd
echo "Run data combination (combine-deb)"
Expand Down
5 changes: 4 additions & 1 deletion src/glvd/data/dist_cpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ def __call__(self, codename: str) -> DistCpe:
'1443.5': '1443.5',
'1443.7': '1443.7',
'1443.8': '1443.8',
'1443.9': '1443.9',
# latest patch release gets codename without the dot -> for cases where you want to follow the latest
'1443': '1443.9',
'1443': '1443.10',
'1592.0': '1592.0',
'1592': '1592.1',
'today': 'today',
'': '',
}[codename]
Expand Down

0 comments on commit 416ff7f

Please sign in to comment.