Re: [fossil-users] How to ignore UNIX executables?
On 15 August 2013 21:23, John Long codeb...@inbox.lv wrote: Hi, is it possible to ignore UNIX executables? I want to do an addr on a directory tree but I don't know how to tell fossil not to track the binaries since they have no naming pattern. Until now I've been living with it but it is very annoying and time for me to ask. Help! You can always use Marc Simpson's fsl http://fossil.0branch.com/fsl/homewrapper script around fossil to do whatever workflow you like. If you need help writing a script for this, drop me a line and I'll gladly work one out with you. -- Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot. --Sergey Brin, demonstrating the emptiness of the don't be evil mantra. ___ 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] How to ignore UNIX executables?
On 15 August 2013 21:23, John Long codeb...@inbox.lv wrote: Hi, is it possible to ignore UNIX executables? I want to do an addr on a directory tree but I don't know how to tell fossil not to track the binaries since they have no naming pattern. Until now I've been living with it but it is very annoying and time for me to ask. Help! You can always use Marc Simpson's fsl http://fossil.0branch.com/fsl/homewrapper script around fossil to do whatever workflow you like. If you need help writing a script for this, drop me a line and I'll gladly work one out with you. -- Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot. --Sergey Brin, demonstrating the emptiness of the don't be evil mantra. ___ 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] How to ignore UNIX executables?
On Sat, Aug 17, 2013 at 03:11:34PM +0800, Michael Richter wrote: On 15 August 2013 21:23, John Long codeb...@inbox.lv wrote: Hi, is it possible to ignore UNIX executables? I want to do an addr on a directory tree but I don't know how to tell fossil not to track the binaries since they have no naming pattern. Until now I've been living with it but it is very annoying and time for me to ask. Help! You can always use Marc Simpson's fsl http://fossil.0branch.com/fsl/homewrapper script around fossil to do whatever workflow you like. If you need help writing a script for this, drop me a line and I'll gladly work one out with you. I'll look at this link and thanks for the offer :-) /jl ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] How to ignore UNIX executables?
Hi, is it possible to ignore UNIX executables? I want to do an addr on a directory tree but I don't know how to tell fossil not to track the binaries since they have no naming pattern. Until now I've been living with it but it is very annoying and time for me to ask. Help! Sorry if this appears twice. I didn't see whether you have to sign up to post to the list and I didn't see my message in the archives so I signed up and sent it again. Thanks, /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04 ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 3:23 PM, John Long codeb...@inbox.lv wrote: Hi, is it possible to ignore UNIX executables? I want to do an addr on a directory tree but I don't know how to tell fossil not to track the binaries since they have no naming pattern. Until now I've been living with it but it is very annoying and time for me to ask. Help! There is no mechanism for it to exclude binaries and doing so would break the _only_ reason Fossil supports the +x bit at all: configure scripts are normally marked as executable (and that was the only reason Richard originally agreed to add +x support). One way to do it is to add everything: fossil add . and then: fossil status and look for the binaries. Then do: fossil rm those...files and they won't be included in the commit. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] How to ignore UNIX executables?
On 8/15/13 3:23 PM, John Long wrote: Hi, is it possible to ignore UNIX executables? I want to do an addr on a directory tree but I don't know how to tell fossil not to track the binaries since they have no naming pattern. Until now I've been living with it but it is very annoying and time for me to ask. Help! It's Unix; try to learn using the tools at your disposal. I used to hate when people told me that, because I thought figuring out the syntax for all the commands took too long, but the trick is not to try to do it in a neat way, but rather just get it done. $ find . -type f | while read line; do if ! [ -x $line ]; then fossil add $line ; fi ; done .. or, if you want to put it in a script for reuse .. #!/bin/sh find . -type f | while read line do if ! [ -x $line ] then fossil add $line fi done .. and you could add a if ! [ x$line = x.flsckout ] test as well, if you need to run it from the root. /Jan ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 3:45 PM, Jan Danielsson jan.m.daniels...@gmail.comwrote: find . -type f | while read line Or (i had to poke around the man pages for this) you can check for permissions using find: [stephan@host:~/cvs/fossil/f2]$ find . -perm /u+x -type f ./test-mf ./test ./configure ./autosetup/find-tclsh~ ./autosetup/find-tclsh ./autosetup/autosetup ./autosetup/jimsh0 ./autosetup/config.guess ./autosetup/config.sub ./th1ish/th1ish ./f-timeline ./f-tag so, this ought to do it: fossil add $(find . \! -perm /u+x) untested, but that find expression does what i want on my box. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 03:35:08PM +0200, Stephan Beal wrote: On Thu, Aug 15, 2013 at 3:23 PM, John Long codeb...@inbox.lv wrote: Hi, is it possible to ignore UNIX executables? I want to do an addr on a directory tree but I don't know how to tell fossil not to track the binaries since they have no naming pattern. Until now I've been living with it but it is very annoying and time for me to ask. Help! There is no mechanism for it to exclude binaries and doing so would break the _only_ reason Fossil supports the +x bit at all: configure scripts are normally marked as executable (and that was the only reason Richard originally agreed to add +x support). One way to do it is to add everything: fossil add . and then: fossil status and look for the binaries. Then do: fossil rm those...files and they won't be included in the commit. That's what I have been doing. But it seems very wrong to have to play games with this. Thanks for the info. /jl ___ 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] How to ignore UNIX executables?
John Long wrote: [...] That's what I have been doing. But it seems very wrong to have to play games with this. If you know the names of the binaries in advance, it should be possible to add each one to the ignore list individually --- e.g. fossil's own looks like this: compat/openssl* compat/tcl* fossil fossil.exe -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ USER'S MANUAL VERSION 1.0: The information presented in this │ publication has been carefully for reliability. --- anonymous │ computer hardware manual signature.asc Description: OpenPGP digital signature ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 03:17:32PM +0100, David Given wrote: John Long wrote: [...] That's what I have been doing. But it seems very wrong to have to play games with this. If you know the names of the binaries in advance, it should be possible to add each one to the ignore list individually --- e.g. fossil's own looks like this: compat/openssl* compat/tcl* fossil fossil.exe Thanks. Actually I just backquote a find command to add and remove groups of files I'm not doing it totally manually. But it is such a pain in the ass I was sure this was already supported and I was just missing something. I guess Richard works mostly on Windows and can ignore *.exe ;-) /jl ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 4:32 PM, John Long codeb...@inbox.lv wrote: Thanks. Actually I just backquote a find command to add and remove groups of files I'm not doing it totally manually. But it is such a pain in the ass I was sure this was already supported and I was just missing something. You could use that find to create the ignore glob. I guess Richard works mostly on Windows and can ignore *.exe ;-) IIRC (maybe wrong) he works more on Mac. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 10:53 AM, Stephan Beal sgb...@googlemail.comwrote: I guess Richard works mostly on Windows and can ignore *.exe ;-) IIRC (maybe wrong) he works more on Mac. I work on Linux. Linux has been my primary desktop since 1993 with Yggdrasil Linux kernel version 0.99. I usually tote a Mac Air with me when I travel because it is light-weight and the WiFi works well in hotels and airports. Other than that, I only use Macs and Windows machines for testing. -- D. Richard Hipp d...@sqlite.org ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 10:58:52AM -0400, Richard Hipp wrote: On Thu, Aug 15, 2013 at 10:53 AM, Stephan Beal sgb...@googlemail.comwrote: I guess Richard works mostly on Windows and can ignore *.exe ;-) IIRC (maybe wrong) he works more on Mac. I work on Linux. Linux has been my primary desktop since 1993 with Yggdrasil Linux kernel version 0.99. I usually tote a Mac Air with me when I travel because it is light-weight and the WiFi works well in hotels and airports. Other than that, I only use Macs and Windows machines for testing. Ok so would you mind explaining how you deal with this issue? Are you manually adding stuff, or just adding .c and .h files, or ?? Thanks, /jl ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 4:58 PM, Richard Hipp d...@sqlite.org wrote: On Thu, Aug 15, 2013 at 10:53 AM, Stephan Beal sgb...@googlemail.comwrote: IIRC (maybe wrong) he works more on Mac. I usually tote a Mac Air with me when I travel because it is light-weight and the WiFi works well in hotels and airports. i've only seen you while travelling, thus my misconception. i'm glad to hear i was mistaken :-D. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] How to ignore UNIX executables?
On Thu, Aug 15, 2013 at 10:14 AM, John Long codeb...@inbox.lv wrote: That's what I have been doing. But it seems very wrong to have to play games with this. It's not a one-size-fits-all situation. Depending on your project, you may need to version executables. For example, the build process for the projects I work on include shell scripts in addition to the makefile. Yes, they could be executed with bash somescript, but that is not how the process geeks want to do things, so we live with it. And someone already mentioned about configure. Also, in our Tools project, the built executables are versioned so that updates can be easily pulled with out the need to rebuild it locally. Yes, there are other ways we could do this, but why have 2 versioning systems? Also, we don't want to use the IT department's software deployment system as it would require getting IT's process geeks involved. Whether Fossil defaults to ignoring executables or not ignoring, there will still be a need to tweek this. ___ 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] How to ignore UNIX executables?
I didn't really understand your message. I was not asking for any change to the way fossil works. I was only asking if it was possible to ignore executables. If it was I would set whatever setting was needed and live with the consequences. It does seem surprising to me that this is not a much requested capability. But then again I do about 1% of my development on UNIX and 99% elsewhere so a lot of things in UNIX seem strange to me and I probably miss the point a lot. On Thu, Aug 15, 2013 at 11:37:22AM -0400, Ron Wilson wrote: On Thu, Aug 15, 2013 at 10:14 AM, John Long codeb...@inbox.lv wrote: That's what I have been doing. But it seems very wrong to have to play games with this. It's not a one-size-fits-all situation. Depending on your project, you may need to version executables. For example, the build process for the projects I work on include shell scripts in addition to the makefile. Yes, they could be executed with bash somescript, but that is not how the process geeks want to do things, so we live with it. And someone already mentioned about configure. Also, in our Tools project, the built executables are versioned so that updates can be easily pulled with out the need to rebuild it locally. Yes, there are other ways we could do this, but why have 2 versioning systems? Also, we don't want to use the IT department's software deployment system as it would require getting IT's process geeks involved. Whether Fossil defaults to ignoring executables or not ignoring, there will still be a need to tweek this. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users