Em Quarta-feira 13 Maio 2009, às 11:41:57, Yarko Tymciurak escreveu: > On Wed, May 13, 2009 at 9:24 AM, Douglas Soares de Andrade < > > dsandr...@gmail.com> wrote: > > Hi Yarko, > > > > > can't you just directly get the zip or tar/gzip from your bitbucket > > > page (upper right corner)? > > > http://bitbucket.org/douglas/web2py/get/5e1df34e2052.gz > > > > No, because it is randomly generated, this is why i parse the page to get > > the > > latest revision. > > This link should generate the zip on demand, from the changeset you are > viewing. > > For example, on your page: http://bitbucket.org/douglas/web2py/overview/ > > the "tip" changeset is shown: right now that's one ending in *2052 - the > "get sources" will generate the zip from that changeset, e.g.: > http://bitbucket.org/douglas/web2py/get/5e1df34e2052.gz > > > If you change views to an older changeset, for example by browsing to > http://bitbucket.org/douglas/web2py/changesets/ > (which still shows tip by defailt), and then an older changeset, let's say > from yesterday (2009/05/12): > > Now the changeset "under view" ends in *aec272, and the "get sources" will > generate a zip from this changeset, e.g: > http://bitbucket.org/douglas/web2py/get/cdb821aec272.gz > > I think your script idea is useful, but you don't need it for what you want > now - you can just get the changeset you are viewing on bitbucket - have it > generated on demand.
Im afraid i did not understood it. How can i *script* it then ? I mean, i dont want to have a repository, just to get the latest trunk and i *dont* want to go to the bitbucket page and click in to get the zip file. How can i get it in a script ? > Hope this clarifies. > > Regards, > Yarko > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---