Re: [fossil-users] Automatic password remembrance in fossil clone
On Thursday, August 28, 2014 6:41 AM, Andy Bradford wrote: Thus said Andy Gibbs on Wed, 27 Aug 2014 18:58:21 +0200: Is there a rationale behind this? Could there be a flag (e.g. -q / --quiet would work!) that can do an automatic yes at this point? I'm not sure about the rationale except perhaps it could be ambiguous. There are potentially other prompts that could be issued during cloning. So simply echoing y into the fossil clone command could be ambiguous. Yes, this is the worst-case high-maintenance option, but surprisingly common! Would the -q / --quiet apply an implied y to the username/password prompt only or would others be impacted? Ordinarily a quiet option would take the default value for any prompts. The prompts have default values already (in this case, simply hitting return means yes). This would actually be quite a neat solution since it seems fossil factors out prompts into their own functions, so on entering the function it can determine whether the -q option has been given and return the default value for that prompt. I would assume, that would mean a blank password where the password is prompted, for example. I would advocate the quiet option being global for all fossil commands. Maybe a --keep-password option would be less ambiguous? Alternatively, if you're scripting the clone with a username/password, have you considered scripting the syncs with the same username/password? I did, but there are a number of different scripts. From a script durability point of view, it would be good, since fossil *can* remember passwords, for it to do so during clone. Cheers, Andy (another one) Andy -- TAI64 timestamp: 400053feb33a ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] symlinks
Any plan to support symlinks any time soon? ___ 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] symlinks
On Thu, Aug 28, 2014 at 4:51 PM, Eric Rubin-Smith eas@gmail.com wrote: Any plan to support symlinks any time soon? ??? [stephan@host:~]$ f help set | grep -C3 sym access-log If enabled, record successful and failed login attempts in the accesslog table. Default: off allow-symlinks If enabled, don't follow symlinks, and instead treat (versionable) them as symlinks on Unix. Has no effect on Windows (existing links in repository created on Unix become plain-text files with link destination path inside). Default: off -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] symlinks
On Thu, Aug 28, 2014 at 10:55 AM, Stephan Beal sgb...@googlemail.com wrote: On Thu, Aug 28, 2014 at 4:51 PM, Eric Rubin-Smith eas@gmail.com wrote: Any plan to support symlinks any time soon? ??? [stephan@host:~]$ f help set | grep -C3 sym access-log If enabled, record successful and failed login attempts in the accesslog table. Default: off allow-symlinks If enabled, don't follow symlinks, and instead treat (versionable) them as symlinks on Unix. Has no effect on Windows (existing links in repository created on Unix become plain-text files with link destination path inside). Default: off D'oh. I had searched the forum + google and found threads in which the devs described why there was no support, and then tested to see if there was support by just checking in a symlink (which didn't work by default). So I missed the existence of the feature. Sorry for the noise! :-( Eric ___ 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] symlinks
On Thu, Aug 28, 2014 at 11:03 AM, Eric Rubin-Smith eas@gmail.com wrote: D'oh. I had searched the forum + google and found threads in which the devs described why there was no support, and then tested to see if there was support by just checking in a symlink (which didn't work by default). So I missed the existence of the feature. Sorry for the noise! :-( Not noise. This is signal that means we need to improve the documentation -- 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] symlinks
On Thu, Aug 28, 2014 at 5:04 PM, Richard Hipp d...@sqlite.org wrote: Not noise. This is signal that means we need to improve the documentation @Eric: feel free to suggest docs and where you think they belong. Tomorrow's a half-day for me, so i could get them in tomorrow evening if you're quick ;). -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] symlinks
On Thu, Aug 28, 2014 at 9:04 AM, Richard Hipp d...@sqlite.org wrote: D'oh. I had searched the forum + google and found threads in which the devs described why there was no support, and then tested to see if there was support by just checking in a symlink (which didn't work by default). So I missed the existence of the feature. Sorry for the noise! :-( Not noise. This is signal that means we need to improve the documentation Would there be any interest in adding symlink support to Windows (where available [Vista later], leaving the text file approach where it is not)? -- Scott Robison ___ 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] symlinks
On Thu, Aug 28, 2014 at 11:23 AM, Scott Robison sc...@casaderobison.com wrote: On Thu, Aug 28, 2014 at 9:04 AM, Richard Hipp d...@sqlite.org wrote: D'oh. I had searched the forum + google and found threads in which the devs described why there was no support, and then tested to see if there was support by just checking in a symlink (which didn't work by default). So I missed the existence of the feature. Sorry for the noise! :-( Not noise. This is signal that means we need to improve the documentation Would there be any interest in adding symlink support to Windows (where available [Vista later], leaving the text file approach where it is not)? Did you just volunteer to submit patches? -- 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] symlinks
On Thu, Aug 28, 2014 at 5:03 PM, Eric Rubin-Smith eas@gmail.com wrote: D'oh. I had searched the forum + google and found threads in which the devs described why there was no support, and then tested to see if there was support by just checking in a symlink (which didn't work by default). So I missed the existence of the feature. Sorry for the noise! :-( One notable caveat which might save you some trouble: if you're trying to save /etc, or similar, you're going to have to write wrapper scripts, as fossil does not support any permissions except the +x bit, does it know about any users except your own, and some files have strict requirements regarding permissions (/etc/shadow, ~/.ssh/id_ida, etc.). Fossil is not the right tool, by itself, for such uses of symlinks. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] symlinks
On Thu, Aug 28, 2014 at 9:26 AM, Richard Hipp d...@sqlite.org wrote: On Thu, Aug 28, 2014 at 11:23 AM, Scott Robison sc...@casaderobison.com wrote: On Thu, Aug 28, 2014 at 9:04 AM, Richard Hipp d...@sqlite.org wrote: D'oh. I had searched the forum + google and found threads in which the devs described why there was no support, and then tested to see if there was support by just checking in a symlink (which didn't work by default). So I missed the existence of the feature. Sorry for the noise! :-( Not noise. This is signal that means we need to improve the documentation Would there be any interest in adding symlink support to Windows (where available [Vista later], leaving the text file approach where it is not)? Did you just volunteer to submit patches? -- 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 -- Scott Robison ___ 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] symlinks
On Thu, Aug 28, 2014 at 9:26 AM, Richard Hipp d...@sqlite.org wrote: On Thu, Aug 28, 2014 at 11:23 AM, Scott Robison sc...@casaderobison.com wrote: On Thu, Aug 28, 2014 at 9:04 AM, Richard Hipp d...@sqlite.org wrote: D'oh. I had searched the forum + google and found threads in which the devs described why there was no support, and then tested to see if there was support by just checking in a symlink (which didn't work by default). So I missed the existence of the feature. Sorry for the noise! :-( Not noise. This is signal that means we need to improve the documentation Would there be any interest in adding symlink support to Windows (where available [Vista later], leaving the text file approach where it is not)? Did you just volunteer to submit patches? That was my idea (unless mentioning it motivated a dev to do it and commit in 15 minutes or less, as often seems to happen around here). :) -- Scott Robison ___ 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] symlinks
On Thu, Aug 28, 2014 at 5:35 PM, Scott Robison sc...@casaderobison.com wrote: That was my idea (unless mentioning it motivated a dev to do it and commit in 15 minutes or less, as often seems to happen around here). :) Oh, Scott, have you not learned? You haven't offered us any cookies yet ;). (BTW: Windows isn't my thing, so i'm not offering! ;) -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] (no subject)
On Thu, Aug 28, 2014 at 5:46 PM, Stephan Beal sgb...@googlemail.com wrote: That sounds like a but to me. i'll see if i can reproduce it here, but i don't do much with the ticket system and don't have an immediate suspect in mind. i can't reproduce that using the current trunk (or very close to it): http://fossil.wanderinghorse.net/tmp/fossil-ticket-format.png that was done using the plain text format. Notice the attach submenu - that apparently only appears after saving the ticket once. Can you give us more info about what you're doing? -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] (no subject)
On Thu, Aug 28, 2014 at 11:42 AM, Todd Niec tn...@tornadosoft.com wrote: Hi, I am new to fossil as well as this list, so I apologize if this posting is off-topic, answered elsewhere, or inappropriate in any way. I am looking at using fossil as a low-footprint, off-line bug-tracking/ticketing system. It seems to fit the bill almost perfectly, but I cannot enter formatted descriptions in the tickets. I am losing my whitespace formatting, for example. I see there is a drop-down list with choices like wiki, and HTML but that does not seem let me format the entry. Am I missing something? I guess there is one other thing I would want in a ticket system, that is the ability to attach files to tickets. Is that possible? All of that is possible, but it will require some tweaking of the ticket setup for your repo. Sadly, our documentation on how to do that is sub-par - its something we need to work on. If you would like to contribute to the documentation, your contributions will be most welcomed! If you spend a little time and get the ticket system configured the way you want it, then write a brief article titled something like How A Newbie Configured Fossil's Tickets To Do What He Wanted I sure it will be much appreciated by others in your situation. And if you encounter insurmountable difficulties, you can always get help here on this mailing list. And we (the developers) are likely to add features if you discover missing capabilities. If you come up with an interesting ticket setup, maybe we can add it as a one-click setup option someplace so that others can use it without the hassle and learning curve. -- 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] symlinks
On Thu, Aug 28, 2014 at 11:35 AM, Scott Robison sc...@casaderobison.com wrote: That was my idea (unless mentioning it motivated a dev to do it and commit in 15 minutes or less, as often seems to happen around here). :) It would be nice. I used to be one of the people, here, trying to encourage symlink support on MS Windows (because my team works in a mixed environment), but having lived with the lack of symlinks on MS Win more than long enough for my team and I to have a mostly smoothly running cross-platform build system that doesn't use symlinks. It got down to a matter of naming conventions and specifying the appropriate search paths in our make files. If nothing else, it does (implicitly) document the inter project relationships better than symlinks do. So, if it's not too hard or time consuming to implement, I'm sure at least some people, here, will use the feature. (Probably including me, despite what I said above) ___ 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] (no subject)
On Thu, Aug 28, 2014 at 11:42 AM, Todd Niec tn...@tornadosoft.com wrote: It seems to fit the bill almost perfectly, but I cannot enter formatted descriptions in the tickets. I am losing my whitespace formatting, for example. I see there is a drop-down list with choices like wiki, and HTML but that does not seem let me format the entry. Am I missing something? I know you can enable (Fossil) wiki formatting in tickets, probably also MarkDown formatting (never tried it, don't use MarkDown). And a subset of HTML is also accepted. When you do, you have to follow the formatting rules. For example, wiki paragraph breaks require a blank line between the paragraphs. In HTML, a paragraph is surrounded by p and /p. HTML also allows line breaks: br. See http://fossil-scm.org/index.html/wiki_rules for how to do 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] (no subject)
I have questions regarding two subjects that have been mentioned in this thread: I want to grant permission to a project manager here to be able to create, edit and view tickets and their attachments, but I don’t want him to be able to clone, check in or check out. I have given him all the following permissions: bcdefhjkmnprtuw but he still cannot access attachments - does anyone know which is the right permission flag? BTW the Fossil version used on the server is 1.24 [f60a86d0f2] 2012-10-30 15:49:26 Is it possible to use MarkDown in Fossil ticket descriptions? My problem is that the limited capabilities of the wiki markup is preventing enthusiastic acceptance of Fossil by some of the non-developers at my (very small) company. Thanx for any help in these regards. :: paul On Aug 28, 2014, at 09:17 , Ron W ronw.m...@gmail.com wrote: On Thu, Aug 28, 2014 at 11:42 AM, Todd Niec tn...@tornadosoft.com wrote: It seems to fit the bill almost perfectly, but I cannot enter formatted descriptions in the tickets. I am losing my whitespace formatting, for example. I see there is a drop-down list with choices like wiki, and HTML but that does not seem let me format the entry. Am I missing something? I know you can enable (Fossil) wiki formatting in tickets, probably also MarkDown formatting (never tried it, don't use MarkDown). And a subset of HTML is also accepted. When you do, you have to follow the formatting rules. For example, wiki paragraph breaks require a blank line between the paragraphs. In HTML, a paragraph is surrounded by p and /p. HTML also allows line breaks: br. See http://fossil-scm.org/index.html/wiki_rules for how to do this. ___ 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] FW: v1.30 (was RE: [fossil-dev] miniz revisited)
-Original Message- From: Joe Mistachkin [mailto:sql...@mistachkin.com] Sent: Thursday, August 28, 2014 10:17 AM To: 'fossil-...@lists.fossil-scm.org' Subject: v1.30 (was RE: [fossil-dev] miniz revisited) Stephan Beal wrote: i've been using it in two other repos of mine since Baruch introduced us to miniz, and would very much like to see the optional flag to enable it go into 1.30. No need for a default any time soon, but exposing it as an option would be nice. I'm [obviously?] heavily inclined to agree with this. I think the compile-time option support should go into 1.30 if there are no serious objections. Also, I'm hoping to get some wider testing on the recent TH1 [expr] fixes as well as the [globalState] TH1 command for serious consideration for inclusion in 1.30. -- Joe Mistachkin ___ 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] symlinks
On 8/28/2014 09:23, Scott Robison wrote: Would there be any interest in adding symlink support to Windows (where available [Vista later], leaving the text file approach where it is not)? While Windows Vista+ technically can make symlinks on NTFS, it has restrictions that make it unworkable for Fossil: 1. If you aren't running as a member of the Administrators group, you cannot create symlinks, at all, ever. 2. If you *are* running as an Administrator user, you can't create symlinks from a process that isn't Run as Administrator. (The exception is when logged into the actual Administrator account on a Server version of Windows, where all command shells are elevated.) 3. If your program is running as a Windows service (which Fossil can't do yet, but may one day be able to) it can't call this function at all, regardless of permission. Only programs running under the interactive desktop can create symlinks. Reference: http://goo.gl/ZXouH0 If you want symlinks on Windows, use Cygwin. It emulates symlinks in a way that works on all versions of Windows that will run Cygwin, in a POSIXy way. Cygwin actually has two symlink emulation mechanisms, one with better POSIX semantics but which only works among Cygwin programs, and another that emulates symlinks in terms of Windows LNK files, which works with all Windows programs: http://cygwin.com/cygwin-ug-net/using-cygwinenv.html And yes, Fossil is in the Cygwin package repository. ___ 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] (no subject)
On Thu, Aug 28, 2014 at 7:42 PM, Paul Higham pa...@janmedical.com wrote: - I want to grant permission to a project manager here to be able to create, edit and view tickets and their attachments, but I don’t want him to be able to clone, check in or check out. i don't believe that complete combo is possible (someone else may correct me). You can lock down clone and checkin, but a checkout works on his local clone/copy, so you cannot restrict that. - I have given him all the following permissions: bcdefhjkmnprtuw but he still cannot access attachments - does anyone know which is the right permission flag? BTW the Fossil version used on the server is 1.24 [f60a86d0f2] 2012-10-30 15:49:26 Ancient! That needs to be updated. - Is it possible to use MarkDown in Fossil ticket descriptions? My problem is that the limited capabilities of the wiki markup is preventing enthusiastic acceptance of Fossil by some of the non-developers at my (very small) company. i _think_ it is, but possibly not with your version. MD was added sometime around that timeframe, IIRC, but might not be in that version. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] symlinks
On 28.08.2014 20:01, Warren Young wrote: 3. If your program is running as a Windows service (which Fossil can't do yet, but may one day be able to) it can't call this function at all, regardless of permission. Only programs running under the interactive desktop can create symlinks. Fossil can be run as a Windows service. Please take a look at the 'winsrv' command. Obviously, this command exists only in Fossil for Windows. -- tsbg ___ 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] symlinks
On Thu, Aug 28, 2014 at 2:01 PM, Warren Young war...@etr-usa.com wrote: While Windows Vista+ technically can make symlinks on NTFS, it has restrictions that make it unworkable for Fossil: 1. If you aren't running as a member of the Administrators group, you cannot create symlinks, at all, ever. At least in my development environment, some of the specialized tools we use already require this for them to run. Other SW dev environments are likely more restrictive. Non-DW-dev workers almost certainly wont have this. 2. If you *are* running as an Administrator user, you can't create symlinks from a process that isn't Run as Administrator. (The exception is when logged into the actual Administrator account on a Server version of Windows, where all command shells are elevated.) If issue #1 is resolved in a given user's environment, then this could be workable. In general, I dislike running with admin priv for anything but admin tasks. I wonder if it would make sense for Fossil to spawn a separate program to create symlinks. 3. If your program is running as a Windows service (which Fossil can't do yet, but may one day be able to) it can't call this function at all, regardless of permission. Only programs running under the interactive desktop can create symlinks. This should not be a problem as only the Fossil CLI would be creating symlinks. ___ 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] symlinks
On 8/28/2014 13:34, Thomas Schnurrenberger wrote: Fossil can be run as a Windows service. Thanks for the tip! Please take a look at the 'winsrv' command. Alas, I do not keep a native Windows binary of fossil.exe on my Windows boxes. As you can guess from my prior message, I only run Fossil under Cygwin, and Cygwin Fossil doesn't include the winsrv command. I'm not sure there is a good reason for that to be the case, since a Cygwin program can still use native Win32 APIs. On the other hand, Cygwin has its own run as service mechanism: http://cygwin.wikia.com/wiki/Cygrunsrv I found a doc bug, probably related to the ifdef that I imagine exists around this command's implementation: http://fossil-scm.org/index.html/help/winsrv ___ 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] symlinks
On 8/28/2014 14:32, Ron W wrote: On Thu, Aug 28, 2014 at 2:01 PM, Warren Young war...@etr-usa.com mailto:war...@etr-usa.com wrote: 2. If you *are* running as an Administrator user, you can't create symlinks from a process that isn't Run as Administrator. If issue #1 is resolved in a given user's environment, then this could be workable. In general, I dislike running with admin priv for anything but admin tasks. There's a fair bit more friction in to getting to a privileged shell on Windows than on POSIX systems, where all you need is a sudo or su -c command prefix. Windows 8 made this a bit easier with its new Windows-X menu, but you still have to cd back to where you want to run the Fossil command, unless you choose to run under the elevated shell all the time. You would have to run Fossil in such shell just to do a checkout of a repo containing a symlink, or an update on such a repo whenever the symlink changed. Ugh. Those wanting to play with this in advance of code appearing in Fossil can play with the mklink command, which only exists in the dreadful cmd.exe shell. (It's a shell built-in, not a separate executable.) Beware: the order of arguments to mklink is backwards relative to ln(1)! Microsoft hasn't bothered adding that command to PowerShell. The workarounds look pretty gnarly: http://goo.gl/kdciMA There's also a third Cygwin symlink mode, native mode: https://cygwin.com/cygwin-ug-net/using.html#pathnames-symlinks I wonder if it would make sense for Fossil to spawn a separate program to create symlinks. You'd need a Windows equivalent of setuid root. I imagine if such a thing exists, it involves poking around inside the group policy editor or the user managment MMC snap-in. If so, it may be even harder to enable on non-Pro or Server versions of Windows. That separate program could be cmd.exe /c mklink..., but that would mean making cmd.exe elevated by default, which is a security hole big enough to float the Queen Mary through. And if there is a separate program, that kicks the legs out from under Fossil's everything in one binary value proposition. Only programs running under the interactive desktop can create symlinks. This should not be a problem as only the Fossil CLI would be creating symlinks. Yes, true. Simply checking a new or changed symlink into a fossil winsrv instance should not require special permission. ___ 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] (no subject)
With the developer permissions set the attachments can be downloaded (a .pdf will open directly in the browser, but an Excel document is actually downloaded) but with all the permissions that I gave below even the .pdf is inaccessible. The project manager that I mentioned does not need a local copy of the repository, all he needs is to be able to create, edit and view tickets and their attachments on the repository that sits on an AWS ‘cloud’. So I still don’t know which is the operative permission flag or is it simply not possible to do what I am trying to do in Fossil? I plan on updating the cloud version of Fossil but I do have the latest on my own machine. However, I cannot find any specific instructions even on the Fossil website as to how to do this. Is it possible or not? :: paul On Aug 28, 2014, at 11:34 , Stephan Beal sgb...@googlemail.com wrote: On Thu, Aug 28, 2014 at 7:42 PM, Paul Higham pa...@janmedical.com wrote: I want to grant permission to a project manager here to be able to create, edit and view tickets and their attachments, but I don’t want him to be able to clone, check in or check out. i don't believe that complete combo is possible (someone else may correct me). You can lock down clone and checkin, but a checkout works on his local clone/copy, so you cannot restrict that. I have given him all the following permissions: bcdefhjkmnprtuw but he still cannot access attachments - does anyone know which is the right permission flag? BTW the Fossil version used on the server is 1.24 [f60a86d0f2] 2012-10-30 15:49:26 Ancient! That needs to be updated. Is it possible to use MarkDown in Fossil ticket descriptions? My problem is that the limited capabilities of the wiki markup is preventing enthusiastic acceptance of Fossil by some of the non-developers at my (very small) company. i _think_ it is, but possibly not with your version. MD was added sometime around that timeframe, IIRC, but might not be in that version. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] symlinks
On Thu, Aug 28, 2014 at 5:35 PM, Warren Young war...@etr-usa.com wrote: On 8/28/2014 14:32, Ron W wrote: I wonder if it would make sense for Fossil to spawn a separate program to create symlinks. You'd need a Windows equivalent of setuid root. I imagine if such a thing exists, it involves poking around inside the group policy editor or the user managment MMC snap-in. If so, it may be even harder to enable on non-Pro or Server versions of Windows. Right now, I have Win7 Pro available. In that, on the Compatibility tab of the Properties of an EXE file, at the bottom, there is a checkbox Run as Administrator. (or something like that - we use this to run some of our specialized tools under MS Win) ___ 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] (no subject)
On Thu, Aug 28, 2014 at 6:46 PM, Paul Higham pa...@janmedical.com wrote: With the developer permissions set the attachments can be downloaded (a .pdf will open directly in the browser, but an Excel document is actually downloaded) but with all the permissions that I gave below even the .pdf is inaccessible. The project manager that I mentioned does not need a local copy of the repository, all he needs is to be able to create, edit and view tickets and their attachments on the repository that sits on an AWS ‘cloud’. So I still don’t know which is the operative permission flag or is it simply not possible to do what I am trying to do in Fossil? I think check out is needed to download attachments and check in needed to upload. (To my thinking, ticket attachments should not require check in/out. If people feel the existing ticket specific permissions should not grant attachment privs, then maybe consider adding addition perms to Fossil.) I plan on updating the cloud version of Fossil but I do have the latest on my own machine. However, I cannot find any specific instructions even on the Fossil website as to how to do this. Is it possible or not? Do what? Update Fossil in your AWS instance? Assuming you want Fossil server to auto-start on boot, you update the Fossil executable the same as on a physical PC in your possession, then you need to save your / partition by creating a custom system image (I forget what AWS calls these) then, from your AWS console, configure your instance to boot from the new system image. Hopefully AWS instance configuration and custom system image creation is easier than it used to be. It has been years since I ran an instance on AWS, so I can't really say much about how to do stuff on it, but everything I needed to do was documented back then, so I would expect it to be, now. (Hopefully not wishful thinking.) ___ 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] (no subject)
On Thu, Aug 28, 2014 at 6:46 PM, Paul Higham pa...@janmedical.com wrote: I plan on updating the cloud version of Fossil but I do have the latest on my own machine. However, I cannot find any specific instructions even on the Fossil website as to how to do this. Is it possible or not? (1) Put the new fossil binary on the server (2) Run fossil rebuild $REPO for each of your repositories (3) There is no step 3. You are done. The second step can normally be accomplished by running fossil all rebuild but your version of fossil is so old that it might not have recorded the locations of all the repositories and so the all command might not work for you. Safer, I think, to simply run fossil rebuild $REPO for each repository. -- 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] (no subject)
On Thu, Aug 28, 2014 at 7:02 PM, Ron W ronw.m...@gmail.com wrote: On Thu, Aug 28, 2014 at 6:46 PM, Paul Higham pa...@janmedical.com wrote: With the developer permissions set the attachments can be downloaded (a .pdf will open directly in the browser, but an Excel document is actually downloaded) but with all the permissions that I gave below even the .pdf is inaccessible. The project manager that I mentioned does not need a local copy of the repository, all he needs is to be able to create, edit and view tickets and their attachments on the repository that sits on an AWS ‘cloud’. So I still don’t know which is the operative permission flag or is it simply not possible to do what I am trying to do in Fossil? I think check out is needed to download attachments and check in needed to upload. Looking at the code ( http://www.fossil-scm.org/fossil/artifact/82ab7ae8506c?ln=153-159) it appears that read-wiki permission (j) is required to read attachments on wiki pages and read-ticket permission (r) is required to read attachments to tickets. For uploading attachments ( http://www.fossil-scm.org/fossil/artifact/82ab7ae8506c?ln=248-256) it looks like you need both attach-permission (b) and on of append-wiki (m) or append-ticket (c) depending on whether the attachment is going onto a wiki page or a ticket. -- 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] (no subject)
Thanx for the info. Adding the check out permission did the trick but it does seem a little counterintuitive that a user would have permission to check out but not to clone ;} I also apologize for the second question, I had left a sentence out and ending up asking the wrong question. But anyway thank you Richard for your answer, it confirms that my intended course of action is the right one. What I wanted to ask was whether or not it is possible with the latest version of Fossil to use MarkDown in the description field of a ticket. If it is possible, then where could I find some documentation on how to configure Fossil so that this capability can be activated? Sorry for the confusion. . . :: paul On Aug 28, 2014, at 16:02 , Ron W ronw.m...@gmail.com wrote: On Thu, Aug 28, 2014 at 6:46 PM, Paul Higham pa...@janmedical.com wrote: With the developer permissions set the attachments can be downloaded (a .pdf will open directly in the browser, but an Excel document is actually downloaded) but with all the permissions that I gave below even the .pdf is inaccessible. The project manager that I mentioned does not need a local copy of the repository, all he needs is to be able to create, edit and view tickets and their attachments on the repository that sits on an AWS ‘cloud’. So I still don’t know which is the operative permission flag or is it simply not possible to do what I am trying to do in Fossil? I think check out is needed to download attachments and check in needed to upload. (To my thinking, ticket attachments should not require check in/out. If people feel the existing ticket specific permissions should not grant attachment privs, then maybe consider adding addition perms to Fossil.) I plan on updating the cloud version of Fossil but I do have the latest on my own machine. However, I cannot find any specific instructions even on the Fossil website as to how to do this. Is it possible or not? Do what? Update Fossil in your AWS instance? Assuming you want Fossil server to auto-start on boot, you update the Fossil executable the same as on a physical PC in your possession, then you need to save your / partition by creating a custom system image (I forget what AWS calls these) then, from your AWS console, configure your instance to boot from the new system image. Hopefully AWS instance configuration and custom system image creation is easier than it used to be. It has been years since I ran an instance on AWS, so I can't really say much about how to do stuff on it, but everything I needed to do was documented back then, so I would expect it to be, now. (Hopefully not wishful thinking.) ___ 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] (no subject)
At Thu, 28 Aug 2014 11:42:58 -0400, Todd Niec wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; us-ascii (quoted-printable)] [1.2 text/html; us-ascii (quoted-printable)] Hi, I am new to fossil as well as this list, so I apologize if this posting is off-topic, answered elsewhere, or inappropriate in any way. I am looking at using fossil as a low-footprint, off-line bug-tracking/ticketing system. At work I am developing a ticketing system that non-programmers will use internally, with no modifications to fossil itself. If you have similar needs to our company, you will make heavy use of the JSON API and JavaScript to get the right UI widgets, and to get things customized in a way that non-developers will use the software (one issue that they complained about in particular was the existence of the View Ticket page). I implemented full search capabilities, many new input widgets, among other things, so it is very flexible. There are some limitations that we worked around, such as the fact that the % symbol has a lot of bugs when used in JSON SQL queries (thus making most wildcard matches with LIKE useless), so I use GLOB with a regular expression for case-insensitivity. Further, TH1 is very limited, so even in the case of static SQL queries, you may still need to use SQL through the JSON API, because queries within TH1 arbitrarily prohibit many tables (I did a look up on the list of logins for a multi-select form, for example). I find it annoying that users have to be an Administrator or Super User to access the JSON api for SQL queries, as I'd like to choose which tables they are able to query or not, but then again, it is a distributed version control system, so it probably doesn't make sense to have fine-grained security in the first place. Regards, Tim ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users