[fossil-users] fossil and CI
I'm evaluating the tools to aid in implementation for my next project. I found that fossil is good for SCM purposes. However, I could not get a lot of data about how fossil integrates with, say, CruiseControl (it's a CI tool). The requirements that I worked with are: 1. An Andriod project is to be checked in to a repository 2. CI tool will check out this project at midnight 3. CI tool will run the junit tests in the project 4. A report/dashboard of junit test results will be emailed to the relevant people My question is: Which CI tool best connects with fossil? Can anyone back their assertion with a proven implementation? Any thoughts/suggestions would be highly appreciated. --shiri ___ 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] fossil and CI
On Oct 23, 2012, at 13:28 , sphere foura wrote: My question is: Which CI tool best connects with fossil? Can anyone back their assertion with a proven implementation? The last time I checked, there was no integration provided by any of them. But it's usually no problem to provide your own script to do the checkout, what makes the matter pretty trivial if you want periodical tests. I wanted post-commit, but there was no support for that in Fossil at that time. There allegedly is now, through some Tcl hooks, but integrating it with CI seems to be still uncharted territory... Kind regards, Remigiusz Modrzejewski PS. Excuse any grammar mistakes, I'm nearly braindead after too long meeting. ___ 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] fossil and CI
Remigiusz, Thanks for the info. Even I was thinking of doing post-commit eventually. Sadly, there is no way I can use fossil if there is no mechanism to integrate with some CI tool or the other. Someday perhaps I could write a plugin for cruisecontrol/Jenkins/Hudson/whatever, but not now with a major project coming up. -sph On Tue, Oct 23, 2012 at 8:33 PM, Remigiusz Modrzejewski l...@maxnet.org.plwrote: On Oct 23, 2012, at 13:28 , sphere foura wrote: My question is: Which CI tool best connects with fossil? Can anyone back their assertion with a proven implementation? The last time I checked, there was no integration provided by any of them. But it's usually no problem to provide your own script to do the checkout, what makes the matter pretty trivial if you want periodical tests. I wanted post-commit, but there was no support for that in Fossil at that time. There allegedly is now, through some Tcl hooks, but integrating it with CI seems to be still uncharted territory... Kind regards, Remigiusz Modrzejewski PS. Excuse any grammar mistakes, I'm nearly braindead after too long meeting. ___ 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] fossil and CI
I've used it with Jenkins for over a year now. What exactly is it that you need? On 10/23/2012 01:08 PM, sphere foura wrote: Remigiusz, Thanks for the info. Even I was thinking of doing post-commit eventually. Sadly, there is no way I can use fossil if there is no mechanism to integrate with some CI tool or the other. Someday perhaps I could write a plugin for cruisecontrol/Jenkins/Hudson/whatever, but not now with a major project coming up. -sph On Tue, Oct 23, 2012 at 8:33 PM, Remigiusz Modrzejewski l...@maxnet.org.pl mailto:l...@maxnet.org.pl wrote: On Oct 23, 2012, at 13:28 , sphere foura wrote: My question is: Which CI tool best connects with fossil? Can anyone back their assertion with a proven implementation? The last time I checked, there was no integration provided by any of them. But it's usually no problem to provide your own script to do the checkout, what makes the matter pretty trivial if you want periodical tests. I wanted post-commit, but there was no support for that in Fossil at that time. There allegedly is now, through some Tcl hooks, but integrating it with CI seems to be still uncharted territory... Kind regards, Remigiusz Modrzejewski PS. Excuse any grammar mistakes, I'm nearly braindead after too long meeting. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org mailto: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] fossil and CI
Nolan, I have no experience with Jenkins whatsoever, but can figure the basics out. Since you say that you have already done it, it's worth a try. What I really wanted was confirmation that it's not a dead end road that I'm taking. So thanks for your confirmation. Apologies if my Q was weird. I'm new to setting up CI+repo. --sph On Tue, Oct 23, 2012 at 11:39 PM, Nolan Darilek no...@thewordnerd.infowrote: I've used it with Jenkins for over a year now. What exactly is it that you need? On 10/23/2012 01:08 PM, sphere foura wrote: Remigiusz, Thanks for the info. Even I was thinking of doing post-commit eventually. Sadly, there is no way I can use fossil if there is no mechanism to integrate with some CI tool or the other. Someday perhaps I could write a plugin for cruisecontrol/Jenkins/Hudson/whatever, but not now with a major project coming up. -sph On Tue, Oct 23, 2012 at 8:33 PM, Remigiusz Modrzejewski l...@maxnet.org.pl wrote: On Oct 23, 2012, at 13:28 , sphere foura wrote: My question is: Which CI tool best connects with fossil? Can anyone back their assertion with a proven implementation? The last time I checked, there was no integration provided by any of them. But it's usually no problem to provide your own script to do the checkout, what makes the matter pretty trivial if you want periodical tests. I wanted post-commit, but there was no support for that in Fossil at that time. There allegedly is now, through some Tcl hooks, but integrating it with CI seems to be still uncharted territory... Kind regards, Remigiusz Modrzejewski PS. Excuse any grammar mistakes, I'm nearly braindead after too long meeting. ___ 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-users@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 ___ 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] fossil and CI
CI is, at its core, running a series of commands on each commit, then performing actions/displaying reports based on their results. I'd think that any CI server could handle Fossil. The various VCS plugins/support just do the integration a bit more smoothly, or displays the output formatted more nicely. I just treat the fossil binary as another shell command. Jenkins' URL trigger polls the commit timeline on each of my repositories, then triggers a build when the page's contents change (I.e. when a new commit is made.) I'd eventually like to use the TCL support to hit the Jenkins post-commit URL, since I'm not immediately certain that my solution will work for locked-down repositories. On 10/23/2012 02:48 PM, sphere foura wrote: Nolan, I have no experience with Jenkins whatsoever, but can figure the basics out. Since you say that you have already done it, it's worth a try. What I really wanted was confirmation that it's not a dead end road that I'm taking. So thanks for your confirmation. Apologies if my Q was weird. I'm new to setting up CI+repo. --sph On Tue, Oct 23, 2012 at 11:39 PM, Nolan Darilek no...@thewordnerd.info mailto:no...@thewordnerd.info wrote: I've used it with Jenkins for over a year now. What exactly is it that you need? On 10/23/2012 01:08 PM, sphere foura wrote: Remigiusz, Thanks for the info. Even I was thinking of doing post-commit eventually. Sadly, there is no way I can use fossil if there is no mechanism to integrate with some CI tool or the other. Someday perhaps I could write a plugin for cruisecontrol/Jenkins/Hudson/whatever, but not now with a major project coming up. -sph On Tue, Oct 23, 2012 at 8:33 PM, Remigiusz Modrzejewski l...@maxnet.org.pl mailto:l...@maxnet.org.pl wrote: On Oct 23, 2012, at 13:28 , sphere foura wrote: My question is: Which CI tool best connects with fossil? Can anyone back their assertion with a proven implementation? The last time I checked, there was no integration provided by any of them. But it's usually no problem to provide your own script to do the checkout, what makes the matter pretty trivial if you want periodical tests. I wanted post-commit, but there was no support for that in Fossil at that time. There allegedly is now, through some Tcl hooks, but integrating it with CI seems to be still uncharted territory... Kind regards, Remigiusz Modrzejewski PS. Excuse any grammar mistakes, I'm nearly braindead after too long meeting. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org mailto: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 mailto: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 mailto: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
[fossil-users] Wiki naming limitations
Is someone able to explain to me why there is a 3-character minimum to wiki names? This seems to me like a strange arbitrary constraint to impose. The minimum-3-chararacter rule is subjective. When I wrote Fossil (6 years ago) it never occurred to me that anybody would want a wiki page name of less than 3 characters. The patch to relax that rule should be trivial. I just tried fossil 1.24 and wiki pages still must be 3 characters or greater. I would appreciate receiving instruction on how to go about getting this changed to a lower number of characters. I personally would suggest a minimum of 1 character as I find anything greater to be arbitrary. Please advise. Kind regards, ^K ___ 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] Wiki naming limitations
On Tue, Oct 23, 2012 at 11:36:34PM +, K wrote: Is someone able to explain to me why there is a 3-character minimum to wiki names? This seems to me like a strange arbitrary constraint to impose. The minimum-3-chararacter rule is subjective. When I wrote Fossil (6 years ago) it never occurred to me that anybody would want a wiki page name of less than 3 characters. The patch to relax that rule should be trivial. I just tried fossil 1.24 and wiki pages still must be 3 characters or greater. I would appreciate receiving instruction on how to go about getting this changed to a lower number of characters. I personally would suggest a minimum of 1 character as I find anything greater to be arbitrary. Please advise. Kind regards, ^K K, The attached diff should decrease the limit to 1 character. -- James Turner ja...@calminferno.net Index: src/wiki.c == --- src/wiki.c +++ src/wiki.c @@ -27,11 +27,11 @@ ** Return true if the input string is a well-formed wiki page name. ** ** Well-formed wiki page names do not begin or end with whitespace, ** and do not contain tabs or other control characters and do not ** contain more than a single space character in a row. Well-formed -** names must be between 3 and 100 chracters in length, inclusive. +** names must be between 1 and 100 chracters in length, inclusive. */ int wiki_name_is_wellformed(const unsigned char *z){ int i; if( z[0]=0x20 ){ return 0; @@ -39,11 +39,11 @@ for(i=1; z[i]; i++){ if( z[i]0x20 ) return 0; if( z[i]==0x20 z[i-1]==0x20 ) return 0; } if( z[i-1]==' ' ) return 0; - if( i3 || i100 ) return 0; + if( i1 || i100 ) return 0; return 1; } /* ** Output rules for well-formed wiki pages @@ -52,11 +52,11 @@ @ ul @ li Must not begin or end with a space./li @ li Must not contain any control characters, including tab or @ newline./li @ li Must not have two or more spaces in a row internally./li - @ li Must be between 3 and 100 characters in length./li + @ li Must be between 1 and 100 characters in length./li @ /ul } /* ** Check a wiki name. If it is not well-formed, then issue an error ___ 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] Wiki naming limitations
On 10/23/2012 4:36 PM, K wrote: Is someone able to explain to me why there is a 3-character minimum to wiki names? ... I just tried fossil 1.24 and wiki pages still must be 3 characters or greater. I would appreciate receiving instruction on how to go about getting this changed to a lower number of characters. I personallywould suggest a minimum of 1 characteras I find anything greater to be arbitrary. I have not tested this, but it looks plausible. This restriction comes from the function wiki_name_is_wellformed() in src/wiki.c. It is the first function in the file. Find the only occurrence of the digit 3 at the next to last line of the file and change it to 1 (or any reasonable value you choose). -- Ross Berteig r...@cheshireeng.com Cheshire Engineering Corp. http://www.CheshireEng.com/ +1 626 303 1602 +1 626 351 1590 FAX ___ 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] Wiki naming limitations
The diff provided works. How can we get this into the official source code? James, thank you. ^K On Oct 23, 2012, James Turner ja...@calminferno.net wrote: On Tue, Oct 23, 2012 at 11:36:34PM +, K wrote: Is someone able to explain to me why there is a 3-character minimum to wiki names? This seems to me like a strange arbitrary constraint to impose. The minimum-3-chararacter rule is subjective. When I wrote Fossil (6 years ago) it never occurred to me that anybody would want a wiki page name of less than 3 characters. The patch to relax that rule should be trivial. I just tried fossil 1.24 and wiki pages still must be 3 characters or greater. I would appreciate receiving instruction on how to go about getting this changed to a lower number of characters. I personally would suggest a minimum of 1 character as I find anything greater to be arbitrary. Please advise. Kind regards, ^K K, The attached diff should decrease the limit to 1 character. -- James Turner ja...@calminferno.net ___ 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