To rebuild a SNAPSHOT: click in the package -&gt; go to &quot;edit&quot; tab -&gt; click on &quot;Create Snapshot for deployment&quot; -&gt; Choose an existing snapshot from the radio-button list (you must have at least one previous snapshot) -&gt; Click on &quot;Create new snapshot&quot;<div>

<br></div><div>This will replace the old version of the snapshot with a new version with the same name containing the current state of the package.</div><div><br></div><div>Best Regards,  <br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>

<br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Sun, Oct 9, 2011 at 6:49 AM, Jervis Liu <span dir="ltr">&lt;<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">Esteban Aliverti wrote:<br>
&gt; Hi Jervis,<br>
&gt; When you build a SNAPSHOT with an existing name (Guvnor shows you all<br>
&gt; the SNAPSHOTS and lets you select an existing one), the SNAPSHOT is<br>
&gt; updated (maybe under the hood the SNAPSHOT gets removed and a new one<br>
&gt; is created). So, if you have an application pointing to the SNAPSHOT<br>
&gt; you can update the assets it uses without modifying anything in the<br>
&gt; application itself.<br>
&gt;<br>
</div>Hi Esteban, I can not find any places in Guvnor UI that allows you to<br>
rebuild a snapshot. Are you referring to the Working Set instead?<br>
<div class="im">&gt; Best Regards,<br>
&gt;<br>
&gt; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
&gt;<br>
&gt; Esteban Aliverti<br>
</div>&gt; - Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a> &lt;<a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a>&gt;<br>
<div class="im">&gt; - Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
&gt;<br>
&gt;<br>
</div>&gt; 2011/10/8 Jervis Liu &lt;<a href="mailto:jliu@redhat.com">jliu@redhat.com</a> &lt;mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;&gt;<br>
<div><div></div><div class="h5">&gt;<br>
&gt;     Hi Esteban,<br>
&gt;<br>
&gt;     The package snapshot wont be gone in the near future. One reason<br>
&gt;     is for backward compatibility. Another concern is that we still<br>
&gt;     need to find out if there are any use cases that package version<br>
&gt;     can not cover. In this case, your input is exactly what we are<br>
&gt;     looking for. Please see my comment in-line below.<br>
&gt;<br>
&gt;     On 2011/10/8 17:09, Esteban Aliverti wrote:<br>
&gt;&gt;     Jervis, so you are trying to deprecate SNAPSHOTS in favor of<br>
&gt;&gt;     Versions? I don&#39;t think they address the same issue. With<br>
&gt;&gt;     SNAPSHOTS you can put different names to different &quot;moments&quot; of a<br>
&gt;&gt;     package.<br>
&gt;     We don&#39;t have this yet, but I guess this will be a very useful<br>
&gt;     feature.  I.e. a named package version or package version alias.<br>
&gt;&gt;     More important, SNAPSHOTS were created and updated on demand and<br>
&gt;&gt;     not every time you update the package, so you can update a<br>
&gt;&gt;     SNAPSHOT definition adding or changing its assets and you don&#39;t<br>
&gt;&gt;     need to update your applications.<br>
&gt;     Not sure how you can do this? a SNAPSHOT is a read-only copy of<br>
&gt;     package. You can not change its configuration nor you can add or<br>
&gt;     change its asset.<br>
&gt;&gt;     They always read the package using same SNAPSHOT name.<br>
&gt;&gt;     Using versions, I need to be careful in change my applications<br>
&gt;&gt;     when I want them to use some modifications I have in my package.<br>
&gt;&gt;     I mean, I also see package versioning as something good, but I&#39;m<br>
&gt;&gt;     not sure if versions could replace SNAPSHOT. Are you planning to<br>
&gt;&gt;     add some way to put a name to a particular group of versioned assets?<br>
&gt;&gt;<br>
&gt;&gt;     Best Regards,<br>
&gt;&gt;<br>
&gt;&gt;     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
&gt;&gt;<br>
&gt;&gt;     Esteban Aliverti<br>
</div></div>&gt;&gt;     - Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a> &lt;<a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a>&gt;<br>
<div class="im">&gt;&gt;     - Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
</div>&gt;&gt;     2011/10/8 jliu &lt;<a href="mailto:jliu@redhat.com">jliu@redhat.com</a> &lt;mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;&gt;<br>
<div class="im">&gt;&gt;<br>
&gt;&gt;         On 2011/10/7 9:54, Demian Calcaprina wrote:<br>
&gt;&gt;&gt;         Hi again.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;         I have been able to use guvnor package versions with some<br>
&gt;&gt;&gt;         success..<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;         Is there any service I can call to create a new version? I<br>
&gt;&gt;&gt;         have checked that it seems to change the package version<br>
&gt;&gt;&gt;         when you click on &quot;save package&quot;. Can I have some URL to<br>
&gt;&gt;&gt;         achieve it automatically?<br>
&gt;&gt;&gt;<br>
&gt;&gt;         Hi,<br>
&gt;&gt;<br>
&gt;&gt;         Sorry for the late response, I was in holiday. There is no<br>
&gt;&gt;         REST service to create a package version as this is not<br>
&gt;&gt;         needed. A package version is created automatically when your<br>
&gt;&gt;         package gets updated (through Guvnor UI or through REST).<br>
&gt;&gt;<br>
&gt;&gt;         Cheers,<br>
&gt;&gt;         Jervis<br>
&gt;&gt;<br>
&gt;&gt;&gt;         Thanks<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;         Demian<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;         On Tue, Oct 4, 2011 at 9:57 AM, Demian Calcaprina<br>
</div><div class="im">&gt;&gt;&gt;         &lt;<a href="mailto:calcacuervo@gmail.com">calcacuervo@gmail.com</a> &lt;mailto:<a href="mailto:calcacuervo@gmail.com">calcacuervo@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;             Thanks Jervis.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;             I currently use Guvnor 5.2, and saw that I can use<br>
&gt;&gt;&gt;             version so I will try to use them.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;             - Is there something I will be missing about versions,<br>
&gt;&gt;&gt;             by using 5.2?<br>
&gt;&gt;&gt;             - Do you know when a new version is created? With<br>
&gt;&gt;&gt;             Snapshots, I could choose when to create a new one. How<br>
&gt;&gt;&gt;             about versions?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;             Thanks!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;             Demian<br>
&gt;&gt;&gt;<br>
</div>&gt;&gt;&gt;             2011/10/3 jliu &lt;<a href="mailto:jliu@redhat.com">jliu@redhat.com</a> &lt;mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;&gt;<br>
<div class="im">&gt;&gt;&gt;<br>
&gt;&gt;&gt;                 On 2011/10/4 1:54, Demian Calcaprina wrote:<br>
&gt;&gt;&gt;&gt;                 Hi everyone. I am using Guvnor 5.2, and I need to<br>
&gt;&gt;&gt;&gt;                 make some operations from my application.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                 Specifically, I need to make two operations remotely:<br>
&gt;&gt;&gt;&gt;                 - List Snapshots, as it is possible to list packages.<br>
&gt;&gt;&gt;&gt;                 - Create a new snapshot from a package.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                 Is this possible to make these operation through<br>
&gt;&gt;&gt;&gt;                 rest API?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;                 Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;                 Start from 5.3, Guvnor Packages are fully versioned.<br>
&gt;&gt;&gt;                 I would recommend you to use a vesioned package<br>
&gt;&gt;&gt;                 instead of package snapshot. Package snapshot will<br>
&gt;&gt;&gt;                 be deprecated in the future.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;                 Cheers,<br>
&gt;&gt;&gt;                 Jervis<br>
&gt;&gt;&gt;&gt;                 Thanks,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                 Demian<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;                 _______________________________________________<br>
&gt;&gt;&gt;&gt;                 rules-users mailing list<br>
</div>&gt;&gt;&gt;&gt;                 <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a> &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
<div class="im">&gt;&gt;&gt;&gt;                 <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;                 _______________________________________________<br>
&gt;&gt;&gt;                 rules-users mailing list<br>
&gt;&gt;&gt;                 <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
</div>&gt;&gt;&gt;                 &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
<div class="im">&gt;&gt;&gt;                 <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;         _______________________________________________<br>
&gt;&gt;&gt;         rules-users mailing list<br>
</div>&gt;&gt;&gt;         <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a> &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
<div class="im">&gt;&gt;&gt;         <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;         _______________________________________________<br>
&gt;&gt;         rules-users mailing list<br>
</div>&gt;&gt;         <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a> &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
<div class="im">&gt;&gt;         <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;     _______________________________________________<br>
&gt;&gt;     rules-users mailing list<br>
</div>&gt;&gt;     <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a> &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
<div class="im">&gt;&gt;     <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     rules-users mailing list<br>
</div>&gt;     <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a> &lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;     <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>