<div dir="ltr">Radomir,<div><br></div><div>The current version of Angular were using in Horizon still does not have cookie and mock packages: <a href="https://github.com/stackforge/xstatic-angular/tree/1.2.1.1/xstatic/pkg/angular/data">https://github.com/stackforge/xstatic-angular/tree/1.2.1.1/xstatic/pkg/angular/data</a></div><div><br></div><div>We still need to do it the looooong way:</div><div>1. Update the Angular version in global-requirements</div><div>2. Wait till it gets merge and propagate to horizon requirements</div><div>3. Remove references loading of mock and cookie packages in horizon and horizon requirement</div><div>4. Remove mock and cookie from global-requirements.</div><div><br></div><div>-Lin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 1:00 AM, Radomir Dopieralski <span dir="ltr"><<a href="mailto:openstack@sheep.art.pl" target="_blank">openstack@sheep.art.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 06/01/15 01:39, Tripp, Travis S wrote:<br>
> What Radomir proposes looks like it would greatly ease the process I am still going through to get the latest angular available to Horizon for current development.  At the time of writing this, I’m still trying to get the updated library through.  I hit a rather difficult workflow:<br>
><br>
><br>
>   1.  Packaged the latest into Xstatic-Angular-1.3.7<br>
>   2.  Submitted patch which deprecated the separate older xstatic-angular-cookies and xstatic-angular-mock packages<br>
>   3.  Reviewed and approved (after correcting an initial mis-repackaging)<br>
>   4.  Radomir released to Pypi<br>
><br>
> This was pretty easy and not too hard. Not too much to complain about.<br>
><br>
> However, now, to get Horizon to use it, I have to get that into global requirements.  Since I’m deprecating old packages I got stuck in a sort of ugly dependency path.  I couldn’t remove the cookies and mock libraries from the global requirements patch that added the new 1.3.7 package because of horizon still referencing the deprecated packages.  And, when I did it anyway, the integration tests failed due to horizon being dependent on something not in global requirements.  So, now, as far as I can tell we have to jump through the following hoops:<br>
><br>
><br>
>   1.  Global requirements patch to add angular 1.3.7<br>
>      *   Verify check / recheck fun<br>
>      *   Reviewed and approved<br>
>      *   Gate check / recheck fun<br>
>   2.  Horizon patch to update to angular 1.3.7 and remove deprecated mock and cookies packages<br>
>      *   Verify check / recheck fun<br>
>      *   Reviewed and approved<br>
>      *   Gate check / recheck fun<br>
>   3.  Global requirements patch to remove deprecated mock and cookies<br>
>      *   Verify check / recheck fun<br>
>      *   Reviewed and approved<br>
>      *   Gate check / recheck fun<br>
><br>
> Don’t get me wrong, I really do think the gate is brilliant and am all for a review / approval process, but this does seem excessive for a UI library that should only be used by Horizon. Is there some other reason that this should have to go through global requirements?<br>
<br>
</span>You can do it much easier, since the current version of Angular already<br>
packages what is in the deprecated modules. So just:<br>
<br>
1. Patch Horizon to remove the xstatic dependencies to the mock and<br>
cookies packages.<br>
2. Patch global-requirements to remove them, and add newer Angular.<br>
3. Patch Horizon to use the newer Angular.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Radomir Dopieralski<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>