Re: [fossil-users] cloning http://www.fossil-scm.org/ fails

2010-01-22 Thread Kyle McKay
On Jan 21, 2010, at 5:37 PM, D. Richard Hipp wrote:
> On Jan 21, 2010, at 4:58 PM, D. Richard Hipp wrote:
> >
> > On Jan 21, 2010, at 7:35 PM, Kyle McKay wrote:
> >>
> >> All 3 of the URLs listed on:
> >>
> >> http://www.fossil-scm.org/fossil/doc/tip/www/selfhost.wiki
> >>
> >> fail with the same error on a clone attempt.
> >
> > I'll work on a fix.  Please try again in a few hours
>
> Better:  Just download the latest precompiled binary or tarball from
> http://www.fossil-scm.org/download.html
>   and use that instead of the version you are currently using.

Thanks.  I ended up using anonymous login on the web site to grab a  
zip file of the sources matching the version running the web site and  
built that and then I was able to clone just fine.  And it looks like  
that's also the version being hosted on http://www.fossil-scm.org/download.html 
  (I was sure I looked there earlier for it, but maybe I just misread  
the dates).
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Noob windows build problems

2010-01-22 Thread Rene de Zwart

Op Do, 21 januari, 2010 14:15, schreef Simon Horton:
> Hello,
>
> I have fossil source code: fossil-src-20091220213451
>
> I have setup Ming and MSYS (http://www.mingw.org/wiki/msys). Attempting to
> compile gives me an error caused by a missing zlib.h. I am guessing this
> means I need to include source code for zlib. Can someone point me in the
> right direction to get fossil compiled from scratch? Here is the full
> output:
>
>
> $ make -f Makefile.w32
> gcc -g -O2 -o translate ./src/translate.c
> ./translate ./src/add.c >add_.c
> ./translate ./src/allrepo.c >allrepo_.c
> ./translate ./src/bag.c >bag_.c
> ./translate ./src/blob.c >blob_.c
> ./translate ./src/branch.c >branch_.c
> ./translate ./src/browse.c >browse_.c
> ./translate ./src/captcha.c >captcha_.c
> ./translate ./src/cgi.c >cgi_.c
> ./translate ./src/checkin.c >checkin_.c
> ./translate ./src/checkout.c >checkout_.c
> ./translate ./src/clearsign.c >clearsign_.c
> ./translate ./src/clone.c >clone_.c
> ./translate ./src/comformat.c >comformat_.c
> ./translate ./src/configure.c >configure_.c
> ./translate ./src/construct.c >construct_.c
> ./translate ./src/content.c >content_.c
> ./translate ./src/db.c >db_.c
> ./translate ./src/delta.c >delta_.c
> ./translate ./src/deltacmd.c >deltacmd_.c
> ./translate ./src/descendants.c >descendants_.c
> ./translate ./src/diff.c >diff_.c
> ./translate ./src/diffcmd.c >diffcmd_.c
> ./translate ./src/doc.c >doc_.c
> ./translate ./src/encode.c >encode_.c
> ./translate ./src/file.c >file_.c
> ./translate ./src/finfo.c >finfo_.c
> ./translate ./src/http.c >http_.c
> ./translate ./src/http_socket.c >http_socket_.c
> ./translate ./src/http_transport.c >http_transport_.c
> ./translate ./src/info.c >info_.c
> ./translate ./src/login.c >login_.c
> ./translate ./src/main.c >main_.c
> ./translate ./src/manifest.c >manifest_.c
> ./translate ./src/md5.c >md5_.c
> ./translate ./src/merge.c >merge_.c
> ./translate ./src/merge3.c >merge3_.c
> ./translate ./src/name.c >name_.c
> ./translate ./src/pivot.c >pivot_.c
> ./translate ./src/pqueue.c >pqueue_.c
> ./translate ./src/printf.c >printf_.c
> ./translate ./src/rebuild.c >rebuild_.c
> ./translate ./src/report.c >report_.c
> ./translate ./src/rss.c >rss_.c
> ./translate ./src/rstats.c >rstats_.c
> ./translate ./src/schema.c >schema_.c
> ./translate ./src/search.c >search_.c
> ./translate ./src/setup.c >setup_.c
> ./translate ./src/sha1.c >sha1_.c
> ./translate ./src/shun.c >shun_.c
> ./translate ./src/skins.c >skins_.c
> ./translate ./src/stat.c >stat_.c
> ./translate ./src/style.c >style_.c
> ./translate ./src/sync.c >sync_.c
> ./translate ./src/tag.c >tag_.c
> ./translate ./src/th_main.c >th_main_.c
> ./translate ./src/timeline.c >timeline_.c
> ./translate ./src/tkt.c >tkt_.c
> ./translate ./src/tktsetup.c >tktsetup_.c
> ./translate ./src/undo.c >undo_.c
> ./translate ./src/update.c >update_.c
> ./translate ./src/url.c >url_.c
> ./translate ./src/user.c >user_.c
> ./translate ./src/verify.c >verify_.c
> ./translate ./src/vfile.c >vfile_.c
> ./translate ./src/wiki.c >wiki_.c
> ./translate ./src/wikiformat.c >wikiformat_.c
> ./translate ./src/winhttp.c >winhttp_.c
> ./translate ./src/xfer.c >xfer_.c
> ./translate ./src/zip.c >zip_.c
> gcc -g -O2 -o mkindex ./src/mkindex.c
> ./mkindex add_.c allrepo_.c bag_.c blob_.c branch_.c browse_.c captcha_.c
> cgi_.c
>  checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c
> construc
> t_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c
> diffcmd_.c
> doc
> _.c encode_.c file_.c finfo_.c http_.c http_socket_.c http_transport_.c
> info_.c
> login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c pivot_.c
> pqueue_.
> c printf_.c rebuild_.c report_.c rss_.c rstats_.c schema_.c search_.c
> setup_.c s
> ha1_.c shun_.c skins_.c stat_.c style_.c sync_.c tag_.c th_main_.c
> timeline_.c t
> kt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c
> wiki_.c wi
> kiformat_.c winhttp_.c xfer_.c zip_.c >page_index.h
> gcc -g -O2 -o makeheaders ./src/makeheaders.c
> awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $1}'
> ./src/../manifest.uuid
>>VE
> RSION.h
> awk '{ printf "#define MANIFEST_VERSION \"[%.10s]\"\n", $1}'
> ./src/../manifest.
> uuid >>VERSION.h
> awk '$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n",
> substr($2,1,10),substr(
> $2,12)}'  ./src/../manifest >>VERSION.h
> ./makeheaders  add_.c:add.h allrepo_.c:allrepo.h bag_.c:bag.h
> blob_.c:blob.h
> bra
> nch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h
> checkin_.c:
> checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h
> comfo
> rmat_.c:comformat.h configure_.c:configure.h construct_.c:construct.h
> content_.c
> :content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h
> descendants_.c:des
> cendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h
> encode_.c:encode.h f
> ile_.c:file.h finfo_.c:finfo.h http_.c:http.h http_socket_.c:http_socket.h
> http_
> transport_.c:http_transport.h i

[fossil-users] https doesn't work through proxy?

2010-01-22 Thread altufaltu

$ fossil open ../fossil/fossil.fsl ssl

$ make
$ ./fossil version

This is fossil version [652f20ef9c] 2010-01-21 22:03:24 UTC
$ ./fossil set proxy wwwproxy:80

$ ./fossil clone http://fossil-scm.org no-ssl.fsl
Bytes  Cards  Artifacts Deltas
Send:  49  1  0  0
Received:  287173   6242  0  0
Send:   10025225  0  0
^c

$ ./fossil clone https://fossil-scm.org ssl.fsl
Bytes  Cards  Artifacts Deltas
Send:  49  1  0  0
ERROR. server says:  504 Gateway Timeout
Send: 619 24  0  0
^c


Does fossil use proxy server for https URLs?
Do I have to manually change any file (on top of ssl branch) to make fossil 
work with https:// URLs?


- Altu

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Numbering in the ticket view

2010-01-22 Thread Jacek Cała
Hi,

Do you have any idea how to add numbering to the list of tickets. It would
be nice to have a quantitative view on the solved/unsolved issues. I was
skimming through the sqllite manual but couldn't find anything usable.

  Jacek
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread paolo lulli
It happened to me also not to be able to get a HTTP clone via proxy.
I'm not sure, but everything went ok simply giving:

fossil clone http://fossil-scm.org no-ssl.fsl --proxy wwwproxy:80

Without prior setting the 'proxy' var, nor exporting the http_proxy
one. Maybe a bug on the proxy code ?

Hope this could be of some help.

Regards,
Paolo Lulli


2010/1/22  :
>
> $ fossil open ../fossil/fossil.fsl ssl
> $ make
> $ ./fossil version
> This is fossil version [652f20ef9c] 2010-01-21 22:03:24 UTC
> $ ./fossil set proxy wwwproxy:80
> $ ./fossil clone http://fossil-scm.org no-ssl.fsl
> Bytes  Cards  Artifacts Deltas
> Send:  49  1  0  0
> Received:  287173   6242  0  0
> Send:   10025225  0  0
> ^c
> $ ./fossil clone https://fossil-scm.org ssl.fsl
> Bytes  Cards  Artifacts Deltas
> Send:  49  1  0  0
> ERROR. server says:  504 Gateway Timeout
> Send: 619 24  0  0
> ^c
> Does fossil use proxy server for https URLs?
> Do I have to manually change any file (on top of ssl branch) to make fossil
> work with https:// URLs?
> - Altu
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread altufaltu
Hi,


You tried with https:// or http://?


http:// works well.


- Altu





-Original Message-
From: paolo lulli 
To: fossil-users@lists.fossil-scm.org
Sent: Fri, Jan 22, 2010 7:23 pm
Subject: Re: [fossil-users] https doesn't work through proxy?


It happened to me also not to be able to get a HTTP clone via proxy.I'm not 
sure, but everything went ok simply giving:fossil clone http://fossil-scm.org 
no-ssl.fsl --proxy wwwproxy:80Without prior setting the 'proxy' var, nor 
exporting the http_proxyone. Maybe a bug on the proxy code ?Hope this could be 
of some help.Regards,Paolo Lulli2010/1/22  :>> $ fossil 
open ../fossil/fossil.fsl ssl> $ make> $ ./fossil version> This is fossil 
version [652f20ef9c] 2010-01-21 22:03:24 UTC> $ ./fossil set proxy wwwproxy:80> 
$ ./fossil clone http://fossil-scm.org no-ssl.fsl> Bytes  
Cards  Artifacts Deltas> Send:  49  1  0
  0> Received:  287173   6242  0  0> Send:   
10025225  0  0> ^c> $ ./fossil clone 
https://fossil-scm.org ssl.fsl> Bytes  Cards  Artifacts 
Deltas> Send:  49  1  0  0> ERROR. server 
says:  504 Gateway Timeout> Send: 619 24  0 
 0> ^c> Does fossil use proxy server for https URLs?> Do I have to manually 
change any file (on top of ssl branch) to make fossil> work with https:// 
URLs?> - Altu> ___> fossil-users 
mailing list> fossil-users@lists.fossil-scm.org> 
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users>>___fossil-users
 mailing 
listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread paolo lulli
I  just tried http .

2010/1/22  :
> Hi,
> You tried with https:// or http://?
> http:// works well.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread altufaltu
Oh.


I have issues with https URLs. Can you please try that and let me know?


- Altu





-Original Message-
From: paolo lulli 
To: fossil-users@lists.fossil-scm.org
Sent: Fri, Jan 22, 2010 7:50 pm
Subject: Re: [fossil-users] https doesn't work through proxy?


I  just tried http .2010/1/22  :> Hi,> You tried with 
https:// or http://?> http:// works 
well.___fossil-users mailing 
listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread paolo lulli
I'm sorry I own no https-server.

P.


2010/1/22  :
> Oh.
> I have issues with https URLs. Can you please try that and let me know?
> - Altu
>
>
>
> -Original Message-
> From: paolo lulli 
> To: fossil-users@lists.fossil-scm.org
> Sent: Fri, Jan 22, 2010 7:50 pm
> Subject: Re: [fossil-users] https doesn't work through proxy?
>
> I  just tried http .
>
> 2010/1/22  :
>> Hi,
>> You tried with https:// or http://?
>> http://
>  works well.
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Noob windows build problems

2010-01-22 Thread Simon Horton
Thanks for the help, I used the gnuwin32.sf.net zlib packages and now
have successfully compiled fossil. I know this is all very obvious to
many of you, but I thought I would write up the detailed steps I took
to get fossil compiled on windows:-

1.  Install MinGW (http://www.mingw.org/)
- http://sourceforge.net/projects/mingw/files/  (click on the
download now button - MinGW-5.1.6.exe for me)
- Run and answer:
 - Download and Install
 - Current Package
 - install options
- MiGW base tools
- g++ compiler
- install to C:\MinGW
- Add C:\MinGW\bin  to Path system variable (under environmental
variables in the control panel).
2. Install MSYS
- I followed information on this wiki page: 
http://www.mingw.org/wiki/msys
- http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe
- just follow all of the defaults
- http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe
- Install to C:\msys\1.0
- 
http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/msysCORE-1.0.11-bin.tar.gz/download
- Extract to C:\MinGW
- Set Environment variable HOME to C:\msys\1.0\home (under
environmental variables in the control panel).

3. Download zlib(from 
http://gnuwin32.sourceforge.net/packages.html )
- http://gnuwin32.sourceforge.net/downlinks/zlib-bin-zip.php
- Extract to C:\MinGW
- http://gnuwin32.sourceforge.net/downlinks/zlib-lib-zip.php
- Extract to C:\MinGW
4. Download fossil source code (to c:/fossil-src in this example)   

5. Compile fossil   
- open MSYS link from desktop
- cd /c/fossil-src
   make -f Makefile.w32

Now I have a new fossil.exe in c:\fossil-src

/Simon Horton.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread D. Richard Hipp
HTTPS by its very nature cannot use a proxy.  It must go direct.

I should probably enhance Fossil so that it automatically bypasses the  
proxy when using HTTPS.  Until then, you can use the "--proxy off"  
command-line option to disable the proxy when using HTTPS.


D. Richard Hipp
d...@hwaci.com



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbering in the ticket view

2010-01-22 Thread Michael
On Fri, Jan 22, 2010 at 11:32:37AM +, Jacek Cała wrote:
>Hi,
>Do you have any idea how to add numbering to the list of tickets. It
>would be nice to have a quantitative view on the solved/unsolved
>issues. I was skimming through the sqllite manual but couldn't find
>anything usable.
>�  Jacek



 does not add line numbers though may be useful ...

 I copied the 'All tickets' to make 'Open tickets' and
 'Closed tickets' reports, e.g. simple change of adding

 where status = 'Open'

SELECT
  CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
   WHEN status='Review' THEN '#e8e8e8'
   WHEN status='Fixed' THEN '#cfe8bd'
   WHEN status='Tested' THEN '#bde5d6'
   WHEN status='Deferred' THEN '#cacae5'
   ELSE '#c8c8c8' END AS 'bgcolor',
  substr(tkt_uuid,1,10) AS '#',
  datetime(tkt_mtime) AS 'mtime',
  type,
  status,
  subsystem,
  title
FROM ticket where status = 'Open'


I suppose you could add counts of how many records are found also.

~Michael
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbering in the ticket view

2010-01-22 Thread D. Richard Hipp

On Jan 22, 2010, at 6:32 AM, Jacek Cała wrote:

> Hi,
>
> Do you have any idea how to add numbering to the list of tickets. It  
> would be nice to have a quantitative view on the solved/unsolved  
> issues. I was skimming through the sqllite manual but couldn't find  
> anything usable.
>


Are you asking for something like this:  
http://www.fossil-scm.org/fossil/rptview?rn=5

D. Richard Hipp
d...@hwaci.com



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] problem with cifs filesystem

2010-01-22 Thread Andy
I am trying to use fossil within a directory mounted via samba, this is the 
command I used:mount -t cifs -o uid=andy,gid=ag,username=andy,password=secret 
//10.0.2.20/prj ./project
when I try use the gui interface to setup the project name, etc. etc. this is 
the error message I 
receive: --Database
 Error
disk I/O error
REPLACE INTO config(name,value) VALUES('project-name','myproject')If you have 
recently updated your fossil executable, you might
need to run "fossil all rebuild" to bring the repository
schemas up to 
date. --
I found another similar email in this mailing list , I tried to rebuild the 
repository,download the last fossil source code, remove the ~/.fossil file, but 
without success,have you some suggestion for me?thank you very much.



Send instant messages to your online friends http://uk.messenger.yahoo.com ___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbering in the ticket view

2010-01-22 Thread Doug Currie

On Jan 22, 2010, at 6:32 AM, Jacek Cała wrote:

> Do you have any idea how to add numbering to the list of tickets. It would be 
> nice to have a quantitative view on the solved/unsolved issues. I was 
> skimming through the sqllite manual but couldn't find anything usable.

SELECT
  CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
   WHEN status='Review' THEN '#e8e8e8'
   WHEN status='Fixed' THEN '#cfe8bd'
   WHEN status='Tested' THEN '#bde5d6'
   WHEN status='Deferred' THEN '#cacae5'
   ELSE '#c8c8c8' END AS 'bgcolor',
  status,
  count (*) AS 'count'
FROM ticket GROUP BY status


e

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Repository in a single file

2010-01-22 Thread Stephen De Gabrielle
Hi someone recently mentioned to me that they were uncomfortable with
their entire repository in a single file. I am happy with it, but why
would this be a problem?
-Large projects?
-Big blobs in your source?
-filesystem limits
-lots of submitters (eg git for the Linux kernel)

I'd like to come up with a good response
but I couldn't find on the FAQ/q's&criticisms.

Any suggestions appreciated.

Thanks,

Stephen




-- 

--
Stephen De Gabrielle
stephen.degabrie...@acm.org
Telephone +44 (0)20 85670911
Mobile+44 (0)79 85189045
http://www.degabrielle.name/stephen
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread altufaltu
Well,


In my office all communication goes through same http proxy, including https. I 
guess they do pass-thru somehow.


- Altu





-Original Message-
From: D. Richard Hipp 
To: fossil-users@lists.fossil-scm.org
Sent: Fri, Jan 22, 2010 9:02 pm
Subject: Re: [fossil-users] https doesn't work through proxy?


HTTPS by its very nature cannot use a proxy.  It must go direct.I should 
probably enhance Fossil so that it automatically bypasses the  proxy when using 
HTTPS.  Until then, you can use the "--proxy off"  command-line option to 
disable the proxy when using HTTPS.D. Richard 
hipp...@hwaci.com___fossil-users 
mailing 
listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread altufaltu
Well,


In my office all communication goes through same http proxy, including https. I 
guess they do pass-thru somehow.


- Altu





-Original Message-
From: D. Richard Hipp 
To: fossil-users@lists.fossil-scm.org
Sent: Fri, Jan 22, 2010 9:02 pm
Subject: Re: [fossil-users] https doesn't work through proxy?


HTTPS by its very nature cannot use a proxy.  It must go direct.I should 
probably enhance Fossil so that it automatically bypasses the  proxy when using 
HTTPS.  Until then, you can use the "--proxy off"  command-line option to 
disable the proxy when using HTTPS.D. Richard 
hipp...@hwaci.com___fossil-users 
mailing 
listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread D. Richard Hipp

On Jan 22, 2010, at 10:58 AM, altufa...@mail.com wrote:

> Well,
>
> In my office all communication goes through same http proxy,  
> including https. I guess they do pass-thru somehow.

Think about it.  With HTTPS, only the two endpoints are able to read  
the content of the transmission.  How can the proxy get involved?  If  
the proxy could come into play, that would mean that HTTPS was  
vulnerable to a man-in-the-middle attack - it would be a serious  
weakness of HTTPS.

>
> - Altu
>
>
>
> -Original Message-
> From: D. Richard Hipp 
> To: fossil-users@lists.fossil-scm.org
> Sent: Fri, Jan 22, 2010 9:02 pm
> Subject: Re: [fossil-users] https doesn't work through proxy?
>
> HTTPS by its very nature cannot use a proxy.  It must go direct.
>
> I should probably enhance Fossil so that it automatically bypasses the
> proxy when using HTTPS.  Until then, you can use the "--proxy off"
> command-line option to disable the proxy when using HTTPS.
>
>
> D. Richard Hipp
> d...@hwaci.com
>
>
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

D. Richard Hipp
d...@hwaci.com



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Numbering in the ticket view

2010-01-22 Thread Jacek Cała
Actually, I was thinking about something as simple as a row number in the
view but this is even better.

  Thanks,
  Jacek

2010/1/22 Doug Currie 

>
> On Jan 22, 2010, at 6:32 AM, Jacek Cała wrote:
>
> > Do you have any idea how to add numbering to the list of tickets. It
> would be nice to have a quantitative view on the solved/unsolved issues. I
> was skimming through the sqllite manual but couldn't find anything usable.
>
> SELECT
>  CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
>   WHEN status='Review' THEN '#e8e8e8'
>   WHEN status='Fixed' THEN '#cfe8bd'
>   WHEN status='Tested' THEN '#bde5d6'
>   WHEN status='Deferred' THEN '#cacae5'
>   ELSE '#c8c8c8' END AS 'bgcolor',
>   status,
>  count (*) AS 'count'
> FROM ticket GROUP BY status
>
>
> e
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread altufaltu
As I said, it works in pass-thru mode. here are send/recieve dumps for 
following transaction:



$ export https_proxy=localhost:8080


$ wget https://fossil-scm.org
--2010-01-22 21:50:46--  https://fossil-scm.org/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
ERROR: cannot verify fossil-scm.org's certificate, issued by `/C=US/ST=North 
Carolina/L=Charlotte/O=SQLite.org':
  Self-signed certificate encountered.
ERROR: certificate common name `' doesn't match requested host name 
`fossil-scm.org'.
To connect to fossil-scm.org insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.



- Altu






-Original Message-
From: D. Richard Hipp 
To: fossil-users@lists.fossil-scm.org
Sent: Fri, Jan 22, 2010 9:45 pm
Subject: Re: [fossil-users] https doesn't work through proxy?


On Jan 22, 2010, at 10:58 AM, altufa...@mail.com wrote:> Well,>> In my office 
all communication goes through same http proxy,  > including https. I guess 
they do pass-thru somehow.Think about it.  With HTTPS, only the two endpoints 
are able to read  the content of the transmission.  How can the proxy get 
involved?  If  the proxy could come into play, that would mean that HTTPS was  
vulnerable to a man-in-the-middle attack - it would be a serious  weakness of 
HTTPS.>> - Altu -Original Message-> From: D. Richard Hipp 
> To: fossil-users@lists.fossil-scm.org> Sent: Fri, Jan 22, 
2010 9:02 pm> Subject: Re: [fossil-users] https doesn't work through proxy?>> 
HTTPS by its very nature cannot use a proxy.  It must go direct.>> I should 
probably enhance Fossil so that it automatically bypasses the> proxy when using 
HTTPS.  Until then, you can use the "--proxy off"> command-line option to 
disable the proxy when using HTTPS.>>> D. Richard Hipp> d...@hwaci.com 
___> fossil-users mailing list> 
fossil-users@lists.fossil-scm.org> 
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users> 
___> fossil-users mailing list> 
fossil-users@lists.fossil-scm.org> 
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-usersD. 
Richard 
hipp...@hwaci.com___fossil-users 
mailing 
listfossil-us...@lists.fossil-scm.orghttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 


send.bin
Description: Binary data


recv.bin
Description: Binary data
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] https doesn't work through proxy?

2010-01-22 Thread Andrey Cherezov

22.01.2010 18:15, D. Richard Hipp wrote:

In my office all communication goes through same http proxy,
including https. I guess they do pass-thru somehow.
 

Think about it.  With HTTPS, only the two endpoints are able to read
the content of the transmission.  How can the proxy get involved?  If
the proxy could come into play, that would mean that HTTPS was
vulnerable to a man-in-the-middle attack - it would be a serious
weakness of HTTPS.
   
It uses HTTP CONNECT method of http-proxy. It is secure, similar to SSH 
tunnels.


http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunnelling

"A variation of HTTP tunnelling when behind an HTTP Proxy Server is to 
use the "CONNECT" HTTP method [1].
In this mechanism, the client asks an HTTP Proxy server to forward the 
TCP connection to the desired destination using the "CONNECT" HTTP 
method. The server then proceeds to make the connection on behalf of the 
client. Once the connection has been established by the server, the 
Proxy server continues to proxy the TCP stream to and from the client. 
Note that only the initial connection request is HTTP - after that, the 
*server simply proxies the established TCP connection*.
This mechanism is how a client behind an HTTP proxy can access websites 
using SSL (i.e. HTTPS)."


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] [825a2c7c64] HTML-escape

2010-01-22 Thread Michael
 
 I downloaded and built version  [825a2c7c64] HTML-escape.

 I did not attach a simple test repository which can be 
 recreated with six commands as follows ...

fossil new test.fossil
cd test
fossil open ../test.fossil
echo hello > hello.txt
fossil add hello.txt
fossil commit -m "does this  comment break timeline.rss ?"

fossil server ../test.fossil
 Listening for HTTP requests on TCP port 8081


 localhost:8081/timeline looks fine in the browser (as expected) though

localhost:8081/timeline.rss

 does not show the checkin (and RSS reader says the feed is not valid).

 My commit comment is representative of what causes breakage.

 Had I added *this* comment (instead)

fossil commit -m "does this  comment  break timeline.rss ?"

 then timeline.rss provides a formatted comment which works in an
 RSS reader, e.g.

   does this
 * comment
   break timeline.rss ?


 So, I think that the rss is still not correct.  If I am misinterpreting
 what is occurring, please explain.
 (note that you may get port 8080 for 'fossil server' command, I am
  already using that for something else and fossil kindly ups the port#)

~Michael

-- 
Portland, Oregon, USA
http://trip.autosys.us
http://putitgetit.com
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Cross-site request forgery attempt?

2010-01-22 Thread Jeremy Cowgar
I put into my application the ability to automatically post errors from the 
application. i.e. the app is a TclTk app and if something goes wrong, I have 
overridden bgerror. My bgerror presents the information in a nice format and 
has a button named "Report".

When the user presses that button, a http request is fired with a properly 
formatted POST request. However, the data is never added. Looking at the 
content of the result from the post, I see:

Cross-site request forgery attempt

How can I get around this? I really want my application to be able to submit 
bug tickets. As it exists now, it is able to search the existing ticket 
database to see if there is a ticket already submitted for the problem. If so, 
it tells the user about it and allows them to view the ticket. If not, it 
submits the bug (except for this minor problem).

Any thoughts?

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Cross-site request forgery attempt?

2010-01-22 Thread Jeremy Cowgar
Never mind, I figured out how to do it w/o issue. Thanks.

Jeremy

Jeremy Cowgar  wrote:
> I put into my application the ability to automatically post errors from the 
> application. i.e. the app is a TclTk app and if something goes wrong, I have 
> overridden bgerror. My bgerror presents the information in a nice format and 
> has a button named "Report".
> 
> When the user presses that button, a http request is fired with a properly 
> formatted POST request. However, the data is never added. Looking at the 
> content of the result from the post, I see:
> 
> Cross-site request forgery attempt
> 
> How can I get around this? I really want my application to be able to submit 
> bug tickets. As it exists now, it is able to search the existing ticket 
> database to see if there is a ticket already submitted for the problem. If 
> so, it tells the user about it and allows them to view the ticket. If not, it 
> submits the bug (except for this minor problem).
> 
> Any thoughts?
> 
> Jeremy
> 
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Noob windows build problems

2010-01-22 Thread Rene de Zwart

Op Vr, 22 januari, 2010 16:11, schreef Simon Horton:
> Thanks for the help, I used the gnuwin32.sf.net zlib packages and now
> have successfully compiled fossil. I know this is all very obvious to
> many of you, but I thought I would write up the detailed steps I took
> to get fossil compiled on windows:-
>
> 1.  Install MinGW (http://www.mingw.org/)
>   - http://sourceforge.net/projects/mingw/files/  (click on the
> download now button - MinGW-5.1.6.exe for me)
>   - Run and answer:
>- Download and Install
>- Current Package
>  - install options
>   - MiGW base tools
>   - g++ compiler
>   - install to C:\MinGW
>   - Add C:\MinGW\bin  to Path system variable (under environmental
> variables in the control panel).
> 2. Install MSYS
>   - I followed information on this wiki page:
> http://www.mingw.org/wiki/msys
>   - http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe
>   - just follow all of the defaults
>   - http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe
>   - Install to C:\msys\1.0
This one isn't necessary unless you want to toy with msys. You have the
order wrong first mingw than msys.
A good replacement installer for mingw is at
 http://www.tdragon.net/recentgcc/
>   -
> http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/msys-1.0.11/msysCORE-1.0.11-bin.tar.gz/download
>   - Extract to C:\MinGW
>   - Set Environment variable HOME to C:\msys\1.0\home (under
> environmental variables in the control panel).
>
> 3. Download zlib  (from 
> http://gnuwin32.sourceforge.net/packages.html )
>   - http://gnuwin32.sourceforge.net/downlinks/zlib-bin-zip.php
>   - Extract to C:\MinGW
>   - http://gnuwin32.sourceforge.net/downlinks/zlib-lib-zip.php
>   - Extract to C:\MinGW
> 4. Download fossil source code (to c:/fossil-src in this example)
> 5. Compile fossil
>   - open MSYS link from desktop
>   - cd /c/fossil-src
>make -f Makefile.w32
>
> Now I have a new fossil.exe in c:\fossil-src
>
> /Simon Horton.
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>


-- 
Rene de Zwart

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users