#1480 Add raw-gz and compressed QCOW2 archive types.
Merged 4 years ago by mikem. Opened 4 years ago by darkmuggle.
Unknown source compressed-archives  into  master

@@ -0,0 +1,11 @@

+ -- upgrade script to migrate the Koji database schema

+ -- from version 1.18 to 1.19

+ 

+ 

+ BEGIN;

+ 

+ -- add compressed raw-gzip and compressed qcow2 images

+ insert into archivetypes (name, description, extensions) values ('raw-gz', 'GZIP compressed raw disk image', 'raw.gz');

+ insert into archivetypes (name, description, extensions) values ('qcow2-compressed', 'Compressed QCOW2 image', 'qcow2.gz qcow2.xz');

+ 

+ COMMIT;

file modified
+2 -1
@@ -816,7 +816,8 @@

  insert into archivetypes (name, description, extensions) values ('jnilib', 'Java Native Interface library', 'jnilib');

  insert into archivetypes (name, description, extensions) values ('yaml', 'YAML Ain''t Markup Language', 'yaml yml');

  insert into archivetypes (name, description, extensions) values ('xjb', 'JAXB(Java Architecture for XML Binding) Binding Customization File', 'xjb');

- 

+ insert into archivetypes (name, description, extensions) values ('raw-gz', 'GZIP compressed raw disk image', 'raw.gz');

+ insert into archivetypes (name, description, extensions) values ('qcow2-compressed', 'Compressed QCOW2 image', 'qcow2.gz qcow2.xz');

  

  -- Do we want to enforce a constraint that a build can only generate one

  -- archive with a given name?

Add compressed archive types for CoreOS.

The release team has requested that the uploads to Koji be compressed so that the Koji artifacts and the end-user downloaded artifacts match exactly. Currently CoreOS uses gzip for compression but has plans to move to xz in the near future.

Pull-Request has been closed by darkmuggle

4 years ago

Pull-Request has been reopened by darkmuggle

4 years ago

This would be very helpful for us in RHCOS land!!

:thumbsup: + added issue #1481 for roadmap tracking.

Commit fac81bd fixes this pull-request

Pull-Request has been merged by mikem

4 years ago