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