clearcontainers / packaging

Packaging data for Clear Containers
11 stars 11 forks source link

image: Add script to get changes in image #142

Closed jcvenegas closed 7 years ago

jcvenegas commented 7 years ago

Add script to autogenerate a list of changes between images.

Fixes: #141

Signed-off-by: Jose Carlos Venegas Munoz jose.carlos.venegas.munoz@intel.com

jcvenegas commented 7 years ago

@jodh-intel @gorozco1 @erick0z , can you take a looks to this script ?.

gorozco1 commented 7 years ago

@jcvenegas please add a sample of the output

jcvenegas commented 7 years ago

example with with version 17270 in versions.txt to 18280

$ ./get-image-changes.sh 18280 > changes

$ cat changes
version: 17490
Changes in package clear-containers-agent (from 2651b6af67e61460407cf9ec403d8260e81acc36-8 to 118c59f374bbe266c897b2a368be3774e7b1f585-9):
     Jose Carlos Venegas Munoz - version bump from 118c59f374bbe266c897b2a368be3774e7b1f585-8 to 118c59f374bbe266c897b2a368be3774e7b1f585-9
     Jose Carlos Venegas Munoz - New Clear Containers Agent version 118c59f
https://download.clearlinux.org/releases/17490/clear/RELEASENOTES
version: 17510
Changes in package coreutils (from 8.27-40 to 8.28-41):
     Arjan van de Ven - coreutils: Autospec creation for update from version 8.27 to version 8.28
https://download.clearlinux.org/releases/17510/clear/RELEASENOTES
version: 17880
Changes in package clear-containers-agent (from 118c59f374bbe266c897b2a368be3774e7b1f585-9 to 0.1.0-10):
     Jose Carlos Venegas Munoz - version bump from 0.1.0-9 to 0.1.0-10
     Jose Carlos Venegas Munoz - New Clear Containers Agent version 0.1.0
https://download.clearlinux.org/releases/17880/clear/RELEASENOTES
version: 17970
Changes in package systemd (from 234-149 to 234-150):
     Arjan van de Ven - version bump from 234-149 to 234-150
https://download.clearlinux.org/releases/17970/clear/RELEASENOTES
version: 18140
Changes in package clear-containers-agent (from 0.1.0-10 to 0.1.0-11):
     Arjan van de Ven - version bump from 0.1.0-10 to 0.1.0-11
https://download.clearlinux.org/releases/18140/clear/RELEASENOTES
version: 18220
Changes in package clear-containers-agent (from 0.1.0-11 to 84761a194a72018c67f1fa8a6a1267b8ea120f82-12):
     Jose Carlos Venegas Munoz - version bump from 84761a194a72018c67f1fa8a6a1267b8ea120f82-11 to 84761a194a72018c67f1fa8a6a1267b8ea120f82-12
     Jose Carlos Venegas Munoz - new version: agent version 84761a1
https://download.clearlinux.org/releases/18220/clear/RELEASENOTES
version: 18280
Changes in package iptables (from 1.6.1-20 to 1.6.1-21):
     George T Kramer - iptables: Autospec creation for version 1.6.1
https://download.clearlinux.org/releases/18280/clear/RELEASENOTES
jcvenegas commented 7 years ago

@jodh-intel yeah, YAML would be great format for those releases. I will ask to Clear Linux ML what they think about it.

If the release withdrawn, I think we still want to know what changes are done in the packages, if there withdrawn release CL dont revert changes but fix them in the nexts releases (numbers are cheap)