Re: [openstack-dev] [openstack-ansible] Deeper diffs in OSA releases

2016-06-14 Thread Major Hayden
On 06/14/2016 08:08 AM, Jesse Pretorius wrote:
> That's neat Major! It'd be great to extend it to also do the diffs for the 
> included roles, both OpenStack and non-OpenStack to get full coverage.

That shouldn't be too difficult to implement.  I'd need to refactor the 
comparison code so that it works for both.

> I think the ops repo is the right one - we just need to get the scaffolding 
> in place. I'll put a review up shortly. 

Thanks, Jesse! :)

--
Major Hayden

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [openstack-ansible] Deeper diffs in OSA releases

2016-06-14 Thread Jesse Pretorius
On 14 June 2016 at 13:50, Major Hayden  wrote:
>
>
> Every OpenStack-Ansible release consists of SHA bumps for roles as well as
> OpenStack services (like keystone, nova, and glance).  However, tracking
> the diffs of the changes in those OpenStack services can be challenging.
> It's difficult to tell if that nova fix you've been waiting for has made it
> into a particular OSA release.
>
> I have written a script to make this a little easier (hopefully).[1]  The
> script takes two parameters:
>
> $ ./osadiffer.py [older OSA SHA] [newer OSA SHA]
>
> It digs into the YAML files for the repo build and retrieves the list of
> commits that were applied to the OpenStack services that OSA builds for the
> repo server.  Al of those commits are rolled into a report[2].
>
> The script seems to work fairly well so far, even with big diffs.
> However, I'm not sure where the script actually belongs.  I proposed it for
> openstack-ansible-ops, but we don't have the right scaffolding there yet
> for testing.  Would it make more sense to have it in openstack-ansible's
> 'scripts' directory?
>
> Thanks for your input! :)
>
> [1] https://review.openstack.org/328469
> [2] http://paste.openstack.org/raw/510670/


That's neat Major! It'd be great to extend it to also do the diffs for the
included roles, both OpenStack and non-OpenStack to get full coverage.

I think the ops repo is the right one - we just need to get the scaffolding
in place. I'll put a review up shortly.
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [openstack-ansible] Deeper diffs in OSA releases

2016-06-14 Thread Major Hayden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hey folks,

Every OpenStack-Ansible release consists of SHA bumps for roles as well as 
OpenStack services (like keystone, nova, and glance).  However, tracking the 
diffs of the changes in those OpenStack services can be challenging.  It's 
difficult to tell if that nova fix you've been waiting for has made it into a 
particular OSA release.

I have written a script to make this a little easier (hopefully).[1]  The 
script takes two parameters:

$ ./osadiffer.py [older OSA SHA] [newer OSA SHA]

It digs into the YAML files for the repo build and retrieves the list of 
commits that were applied to the OpenStack services that OSA builds for the 
repo server.  Al of those commits are rolled into a report[2].

The script seems to work fairly well so far, even with big diffs.  However, I'm 
not sure where the script actually belongs.  I proposed it for 
openstack-ansible-ops, but we don't have the right scaffolding there yet for 
testing.  Would it make more sense to have it in openstack-ansible's 'scripts' 
directory?

Thanks for your input! :)

[1] https://review.openstack.org/328469
[2] http://paste.openstack.org/raw/510670/

- --
Major Hayden
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXX/2sAAoJEHNwUeDBAR+xSJ0P/3H188yIgGYUDCW1Wt3Qddum
+2UNPxWSAJSMjAJhp5EeOXPR4XKvVqI5WIcn6r0ymk0Bq19GwiYe5FToXTRR4jPM
B2nI6xWDHMBpK8mF05pqfISHeKd1bxq0HZUSkhA5IgZkp39Rld3QFszfcg5XQcoT
H6KxY21OnlH/yAZ7lsA4IrsPKxE33QzcPF60AoCVCZ/ID11K0V3cTBZeLeOQ6WPo
9qlhfNqTy49Jogx+X4+4fwmkPBm/EmIhXfb7ykSKgAei3MmHDXRIskWASfdWbapU
xeW+rJAkYm4NWHvR6wKAyD/CNjg86LEWskQfb4cpqWGgOOPseOvBecnvCfvvfVhn
AQ8zGoD5SFYISBHL5bNx/cFBTD0gj9EKIRsxD6Od0XlUdBA1W/dwntRMP/kCynK0
vCSETOqYFK/R68KunofYv/VIbf1/VVbBW+G3qwAn+rugZYCxf7jx7F5d/34X51Uj
KXeiG9vFbAO3XsM+5++N0j7b3wyYfw9SvNhLWH5wosPFq0lBmAyQYFf58fSU7gvD
8EEyxEn6F5aVIUa2d8MBX5P+0rr462Fia9oNZc9kO+y5+NASqWNt3KaCcRCSDrRK
T5PcNv0XbTMwALyhdfhsPULk1IMYIJBMJe4fB71WND06uaOBInGKUJC7PE8XDRUv
OQWWIiO+taBEsi0XzLNy
=SbLO
-END PGP SIGNATURE-

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev