Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread Richard Hipp
On 9/19/17, Andy Goth wrote: > Maybe instead consider URL rewriting so the administrator defines custom > pages (URIs) which are handled by redirecting to the standard pages. I have prototyped this idea on trunk. To set-up aliases, visit the Setup/URL_Aliases page. For example, if you create t

Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread Andy Goth
On 9/19/2017 5:57 PM, Richard Hipp wrote: > If having a default ex= value really is needed, perhaps it could be > provided using alternative URLs - perhaps /abridgedtarball and > /abridgedzip instead of /tarball and /zip. Or maybe some other prefix > that is more succinct than "abridged". Maybe /

Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread Richard Hipp
On 9/19/17, Andy Goth wrote: > On 9/19/2017 4:22 PM, BohwaZ wrote: >> The only way to avoid that is having Composer use your dist zip and have >> that zip file only contain what should be required. > > Put the ex= query parameters directly in the download links on your web > pages. When the user

Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread BohwaZ
Le 20/09/2017 10:04, Warren Young a écrit : On Sep 19, 2017, at 3:22 PM, BohwaZ wrote: But I'm not sure if I want to implement that in Fossil just because another unrelated piece of software makes bad decisions… I think you have *two* uses of zip/tarball here, not one: Fossil’s built-in mec

Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread Andy Goth
On 9/19/2017 4:22 PM, BohwaZ wrote: > The only way to avoid that is having Composer use your dist zip and have > that zip file only contain what should be required. Put the ex= query parameters directly in the download links on your web pages. When the user clicks Download, the zip or tar.gz file

Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread Warren Young
On Sep 19, 2017, at 3:22 PM, BohwaZ wrote: > > But I'm not sure if I want to implement that in Fossil just because another > unrelated piece of software makes bad decisions… I think you have *two* uses of zip/tarball here, not one: Fossil’s built-in mechanism for providing checkouts to people

Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread BohwaZ
On Sep 18, 2017, at 6:49 PM, BohwaZ wrote: I'm looking at ignoring some files when an archive (zip/tarball) is created by Fossil. What’s a good example where you’d want to do that? In PHP package manager, composer (equivalent to gem in Ruby), the complete package repository is cloned and

Re: [fossil-users] uv add dir/filename

2017-09-19 Thread Andy Goth
On 09/19/17 06:45, Roy Keene wrote: On Tue, 19 Sep 2017, Andy Goth wrote: Currently the "fossil uv add" command rejects filenames containing directory components. I suggest instead applying this restriction only to the value of the "-as" switch, with "-as" defaulting to the filename sans direct

Re: [fossil-users] Ignoring files/directories in automated zip files?

2017-09-19 Thread Warren Young
On Sep 18, 2017, at 6:49 PM, BohwaZ wrote: > > I'm looking at ignoring some files when an archive (zip/tarball) is created > by Fossil. What’s a good example where you’d want to do that? If anything, I find Fossil zip/tarball to produce *less* than I want in a release tarball, lacking things

Re: [fossil-users] uv add dir/filename

2017-09-19 Thread Roy Keene
Andy, Why add this restriction to the "--as" switch ? I currently use "fossil uv add --as release-/" Thanks, Roy Keene On Tue, 19 Sep 2017, Andy Goth wrote: Currently the "fossil uv add" command rejects filenames containing directory components. I suggest instead applying t