Re: [Pharo-users] ZnClient problem with extensions

2015-12-05 Thread Dimitris Chloupis
ok with your help I found the code to do this with every new release. I take the info from my README list := OrderedCollection new. client := ZnClient new. readme := client get: ' https://raw.githubusercontent.com/kilon/ChronosManager/master/README.md'. readme regex: 'v.\..' matchesDo: [ :each | l

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Dimitris Chloupis
Thank you both I will give both a try and be back with more questions :) On Fri, Dec 4, 2015 at 6:57 PM Skip Lentz wrote: > Hi, > > On Dec 4, 2015, at 11:56 AM, Dimitris Chloupis > wrote: > > because I am clueless with web dev can you help me understand how to do > this with ZnClient ? > > > I

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Skip Lentz
Hi, > On Dec 4, 2015, at 11:56 AM, Dimitris Chloupis wrote: > > because I am clueless with web dev can you help me understand how to do this > with ZnClient ? I tried some things, such as this snippet: ZnClient new setIfModifiedSince: DateAndTime now; contentReader: [ :entity

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Sven Van Caekenberghe
I decided to add the behaviour "use filename from original request, which could make a difference when redirects are followed" to #downloadTo: while #downloadEntityTo: remains unchanged (not that it could change because the original request is gone by then). In Zn #bleedingEdge: === Name: Zinc

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Dimitris Chloupis
"Thanks for the feedback." Thanks for this very useful library :) "Hmm, that is tricky. If you inspect ZnLogEvent announcer during the execution you will notice that a redirect is involved. Your original request for https://github.com/kilon/ChronosManager/archive/master.zip gets redirected to a r

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Skip Lentz
> On Dec 4, 2015, at 8:01 AM, Dimitris Chloupis wrote: > > I am on Yosemite, latest 5 image, lastest VM and using this code > > ZnClient new url: 'https://github.com/kilon/ChronosManager/archive/master.zip > '; > setIfModifiedSince:

Re: [Pharo-users] ZnClient problem with extensions

2015-12-04 Thread Sven Van Caekenberghe
Hi Dimitris, Thanks for the feedback. > On 04 Dec 2015, at 08:01, Dimitris Chloupis wrote: > > I am on Yosemite, latest 5 image, lastest VM and using this code > > ZnClient new url: > 'https://github.com/kilon/ChronosManager/archive/master.zip'; > setIfModifiedSince: (Date year: 2015 month:

[Pharo-users] ZnClient problem with extensions

2015-12-03 Thread Dimitris Chloupis
I am on Yosemite, latest 5 image, lastest VM and using this code ZnClient new url: ' https://github.com/kilon/ChronosManager/archive/master.zip'; setIfModifiedSince: (Date year: 2015 month: 12 day: 1); downloadTo: FileLocator imageDirectory. it downloads the file but does not append the extension