<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Esteban, <br>
    <br>
    The package snapshot wont be gone in the near future. One reason is
    for backward compatibility. Another concern is that we still need to
    find out if there are any use cases that package version can not
    cover. In this case, your input is exactly what we are looking for.
    Please see my comment in-line below. <br>
    <br>
    On 2011/10/8 17:09, Esteban Aliverti wrote:
    <blockquote
cite="mid:CAKsR9Q-zLKPxJAFyeeDZ=a8xqbR+A1LmrDK-P104m33hCr-5VA@mail.gmail.com"
      type="cite">Jervis, so you are trying to deprecate SNAPSHOTS in
      favor of Versions? I don't think they address the same issue. With
      SNAPSHOTS you can put different names to different "moments" of a
      package. </blockquote>
    We don't have this yet, but I guess this will be a very useful
    feature.&nbsp; I.e. a named package version or package version alias. <br>
    <blockquote
cite="mid:CAKsR9Q-zLKPxJAFyeeDZ=a8xqbR+A1LmrDK-P104m33hCr-5VA@mail.gmail.com"
      type="cite">More important, SNAPSHOTS were created and updated on
      demand and not every time you update the package, so you can
      update a SNAPSHOT definition adding or changing its assets and you
      don't need to update your applications. </blockquote>
    Not sure how you can do this? a SNAPSHOT is a read-only copy of
    package. You can not change its configuration nor you can add or
    change its asset. <br>
    <blockquote
cite="mid:CAKsR9Q-zLKPxJAFyeeDZ=a8xqbR+A1LmrDK-P104m33hCr-5VA@mail.gmail.com"
      type="cite">They always read the package using same SNAPSHOT
      name.&nbsp;
      <div>
        Using versions, I need to be careful in change my applications
        when I want them to use some modifications I have in my package.</div>
      <div>I mean, I also see package versioning as something good, but
        I'm not sure if versions could replace SNAPSHOT. Are you
        planning to add some way to put a name to a particular group of
        versioned assets?</div>
      <div><br>
      </div>
      <div>Best Regards, &nbsp;<br clear="all">
        <br>
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
        <br>
        Esteban Aliverti<br>
        - Developer @ <a moz-do-not-send="true"
          href="http://www.plugtree.com" target="_blank">http://www.plugtree.com
        </a><br>
        - Blog @ <a moz-do-not-send="true"
          href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
        <br>
        <br>
        <div class="gmail_quote">2011/10/8 jliu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:jliu@redhat.com">jliu@redhat.com</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex;">
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="im"> On 2011/10/7 9:54, Demian Calcaprina
                wrote:
                <blockquote type="cite">Hi again.&nbsp;
                  <div><br>
                  </div>
                  <div>I have been able to use guvnor package versions
                    with some success..</div>
                  <div><br>
                  </div>
                  <div>Is there any service I can call to create a new
                    version? I have checked that it seems to change the
                    package version when you click on "save package".
                    Can I have some URL to achieve it automatically?</div>
                  <div><br>
                  </div>
                </blockquote>
              </div>
              Hi,<br>
              <br>
              Sorry for the late response, I was in holiday. There is no
              REST service to create a package version as this is not
              needed. A package version is created automatically when
              your package gets updated (through Guvnor UI or through
              REST).<br>
              <br>
              Cheers,<br>
              Jervis <br>
              <div>
                <div class="h5"> <br>
                  <blockquote type="cite">
                    <div>Thanks</div>
                    <div><br>
                    </div>
                    <div>Demian<br>
                      <br>
                      <div class="gmail_quote">On Tue, Oct 4, 2011 at
                        9:57 AM, Demian Calcaprina <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:calcacuervo@gmail.com"
                            target="_blank">calcacuervo@gmail.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">Thanks Jervis.
                          <div><br>
                          </div>
                          <div>I currently use Guvnor 5.2, and saw that
                            I can use version so I will try to use them.</div>
                          <div><br>
                          </div>
                          <div>- Is there something I will be missing
                            about versions, by using 5.2?</div>
                          <div> - Do you know when a new version is
                            created? With Snapshots, I could choose when
                            to create a new one. How about versions?</div>
                          <div><br>
                          </div>
                          <div>Thanks!</div>
                          <div><br>
                          </div>
                          <font color="#888888">
                            <div>Demian</div>
                          </font>
                          <div>
                            <div>
                              <div><br>
                              </div>
                              <div>
                                <div class="gmail_quote"> 2011/10/3 jliu
                                  <span dir="ltr">&lt;<a
                                      moz-do-not-send="true"
                                      href="mailto:jliu@redhat.com"
                                      target="_blank">jliu@redhat.com</a>&gt;</span><br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div bgcolor="#FFFFFF"
                                      text="#000000">
                                      <div>
                                        <div> On 2011/10/4 1:54, Demian
                                          Calcaprina wrote:
                                          <blockquote type="cite">Hi
                                            everyone. I am using Guvnor
                                            5.2, and I need to make some
                                            operations from my
                                            application.
                                            <div><br>
                                            </div>
                                            <div>Specifically, I need to
                                              make two
                                              operations&nbsp;remotely:</div>
                                            <div>- List Snapshots, as it
                                              is possible to list
                                              packages.</div>
                                            <div>- Create a new snapshot
                                              from a package.</div>
                                            <div><br>
                                            </div>
                                            <div>Is this possible to
                                              make these operation
                                              through rest API?</div>
                                            <div><br>
                                            </div>
                                          </blockquote>
                                        </div>
                                      </div>
                                      Hi,<br>
                                      <br>
                                      Start from 5.3, Guvnor Packages
                                      are fully versioned. I would
                                      recommend you to use a vesioned
                                      package instead of package
                                      snapshot. Package snapshot will be
                                      deprecated in the future. <br>
                                      <br>
                                      Cheers,<br>
                                      Jervis<br>
                                      <blockquote type="cite">
                                        <div>Thanks,</div>
                                        <div><br>
                                        </div>
                                        <div>Demian</div>
                                        <div><br>
                                        </div>
                                        <div><br>
                                        </div>
                                        <br>
                                        <fieldset></fieldset>
                                        <br>
                                        <pre>_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
                                      </blockquote>
                                      <br>
                                    </div>
                                    <br>
_______________________________________________<br>
                                    rules-users mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:rules-users@lists.jboss.org"
                                      target="_blank">rules-users@lists.jboss.org</a><br>
                                    <a moz-do-not-send="true"
                                      href="https://lists.jboss.org/mailman/listinfo/rules-users"
                                      target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
                                    <br>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/rules-users"
              target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>