Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-18 Thread Sergei Gavrikov
On Mon, 18 Jan 2016, Andy Bradford wrote: > Thus said Sergei Gavrikov on Sun, 17 Jan 2016 13:28:05 +0300: > > > > > When *text* files have unknown MIME type (unknown extension) > > > > we cannot download them (in a fact to get a raw view in a > > > > browser) just in click. > > > > I may do

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-18 Thread Andy Bradford
Thus said Sergei Gavrikov on Sun, 17 Jan 2016 13:28:05 +0300: > > > When *text* files have unknown MIME type (unknown extension) we > > > cannot download them (in a fact to get a raw view in a browser) > > > just in click. > > I may do check-in really text files, e.g. some statistics files

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-18 Thread Andy Bradford
Thus said Sergei Gavrikov on Sun, 17 Jan 2016 02:10:28 +0300: > When *text* files have unknown MIME type (unknown extension) we cannot > download them (in a fact to get a raw view in a browser) just in > click. Right? Wrong? Seems to work for me. I added a file by the name of ``file'' to

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-17 Thread Ron W
On Sun, Jan 17, 2016 at 6:15 AM, Steve Stefanovich wrote: > I think it is a good idea.‎ It would be especially useful for search > results - see: > Should not be hard. The core functionality required is available in libmagic (which is available for MS Windows as well as Linux/BSD/Unix/POSIX.) __

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-17 Thread Steve Stefanovich
I think it is a good idea.‎ It would be especially useful for search results - see: http://lists.fossil-scm.org:8080/pipermail/fossil-users/2015-March/020624.html ‎-- S. No guess at all. Why? [Raw] button will force appending '&m=text' to 'Download' URL. Click on [Raw] is mean "you know what yo

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-17 Thread Sergei Gavrikov
On Sun, 17 Jan 2016, Stephan Beal wrote: > The mime type is normally guessed based on the file name. How do you > propose fossil determines the mime type of: > > >   echo a>a > f add a > f ci -private -m 'add a' > > > without itself having a full-featured content-header-snoop

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-17 Thread Stephan Beal
On Sun, Jan 17, 2016 at 11:28 AM, Sergei Gavrikov wrote: > On Sun, 17 Jan 2016, Baruch Burstein wrote: > > > When *text* files have unknown MIME type (unknown extension) we > > > cannot download them (in a fact to get a raw view in a browser) just > > > in click. > > I may do check-in really text

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-17 Thread Sergei Gavrikov
On Sun, 17 Jan 2016, Baruch Burstein wrote: > I don't seem to see this problem. go to > https://www.fossil-scm.org/index.html/dir?ci=tip. I clicked on > "COPYRIGHT-BSD2.txt" and was given the text. If I click "Download" on > that page, I am given just the raw text. That's right. But I pointed on

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-16 Thread Baruch Burstein
On Sun, Jan 17, 2016 at 1:10 AM, Sergei Gavrikov wrote: > Hi > > When *text* files have unknown MIME type (unknown extension) we cannot > download them (in a fact to get a raw view in a browser) just in click. > Right? Wrong? I do: right-click [Download] button -> Copy Link loc~ation > -> Ctrl-L

[fossil-users] How to get artifact's content as raw text in one click?

2016-01-16 Thread Sergei Gavrikov
Hi When *text* files have unknown MIME type (unknown extension) we cannot download them (in a fact to get a raw view in a browser) just in click. Right? Wrong? I do: right-click [Download] button -> Copy Link loc~ation -> Ctrl-L -> Shift-Insert -> type (add) '&m=text'. Silly question: may to add '