[fossil-users] changing titles/urls for wiki pages
Hello, some of my users wrote documentation with MSWord and used copy-paste to fill in wiki pages (users say that using the web interface to edit text would clutter the timeline with incremental changes). Obviously it's a bad thing, but now uncompliant browsers (old ones) do not work with these strange urls. So I would like to correct at least the titles. I would like to update the relevant tables by sql statements. Could anyone please tell me what is the right way? TIA c ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Editing commit messages
Hello, I have a few comments (and not realy much more than that) on the way Fossil implements the editing of commit messages: - I noticed that the choice of editor seems to be a global setting in the repository. At least, that is the behaviour I observe with one repository (but that may be peculiar to that particular project). As editors are a highly personal choice, I would expect this to be a user-defined setting. - I noticed that when I compile Fossil for MinGW, the default editor is not notepad in the absence of EDITOR etc. environment variables, but a command-line interface. I think notepad, whatever you think of it, would be a more natural choice. - As I mostly work on Windows, my editor is set to write CR/LF line-endings. If I commit files that I forgot to save with LF line-endings, I get a question about this - but only for the first file. If I then break off the commit, repair this and try again, a message follows about the next file. Would it be possible to simply scan all the files to be committed and present a list of files that have a CR/LF issue, so that you can repair all of them at once? Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ___ 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] Editing commit messages
On Mon, Apr 18, 2011 at 3:44 AM, Arjen Markus arjen.mar...@deltares.nl wrote: Hello, I have a few comments (and not realy much more than that) on the way Fossil implements the editing of commit messages: - I noticed that the choice of editor seems to be a global setting in the repository. At least, that is the behaviour I observe with one repository (but that may be peculiar to that particular project). As editors are a highly personal choice, I would expect this to be a user-defined setting. if you call fossil settings from outside a checkouted repository, or if you specify -global to the settings subcommand, it will be saved globally for the current user.. it is saved on a $HOME/.fossil on unix sytem and on %HOME%\AppData\_fossil on windows (or something like that) [snip] -- Martin ___ 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] Editing commit messages
On Mon, 18 Apr 2011 09:11:04 -0400 Martin Gagnon eme...@gmail.com wrote: I have a few comments (and not realy much more than that) on the way Fossil implements the editing of commit messages: - I noticed that the choice of editor seems to be a global setting in the repository. At least, that is the behaviour I observe with one repository (but that may be peculiar to that particular project). As editors are a highly personal choice, I would expect this to be a user-defined setting. if you call fossil settings from outside a checkouted repository, or if you specify -global to the settings subcommand, it will be saved globally for the current user.. it is saved on a $HOME/.fossil on unix sytem and on %HOME%\AppData\_fossil on windows (or something like that) Heh, exactly what I discovered right now looking at the contents of that _fossil config file and was about to post. ;-) Thanks for correcting. To be more precise, on Windows it's %appdata%\_fossil. ___ 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] Editing commit messages
Hi Konstantin, Martin, like I said it may be the way I use this one repository in cooperation with one other developer. It is no problem for me at the moment, I can work my way around it ;). As for environment variables, I have no trouble setting them, but I do forget them from time to time. Again not something that deeply troubles me. Regards, Arjen On 2011-04-18 15:23, Konstantin Khomoutov wrote: On Mon, 18 Apr 2011 09:11:04 -0400 Martin Gagnon eme...@gmail.com wrote: I have a few comments (and not realy much more than that) on the way Fossil implements the editing of commit messages: - I noticed that the choice of editor seems to be a global setting in the repository. At least, that is the behaviour I observe with one repository (but that may be peculiar to that particular project). As editors are a highly personal choice, I would expect this to be a user-defined setting. if you call fossil settings from outside a checkouted repository, or if you specify -global to the settings subcommand, it will be saved globally for the current user.. it is saved on a $HOME/.fossil on unix sytem and on %HOME%\AppData\_fossil on windows (or something like that) Heh, exactly what I discovered right now looking at the contents of that _fossil config file and was about to post. ;-) Thanks for correcting. To be more precise, on Windows it's %appdata%\_fossil. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ___ 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] Editing commit messages
On Mon, 18 Apr 2011 15:59:41 +0200 Arjen Markus arjen.mar...@deltares.nl wrote: On 2011-04-18 15:23, Konstantin Khomoutov wrote: On Mon, 18 Apr 2011 09:11:04 -0400 Martin Gagnon eme...@gmail.com wrote: I have a few comments (and not realy much more than that) on the way Fossil implements the editing of commit messages: - I noticed that the choice of editor seems to be a global setting in the repository. At least, that is the behaviour I observe with one repository (but that may be peculiar to that particular project). As editors are a highly personal choice, I would expect this to be a user-defined setting. if you call fossil settings from outside a checkouted repository, or if you specify -global to the settings subcommand, it will be saved globally for the current user.. it is saved on a $HOME/.fossil on unix sytem and on %HOME%\AppData\_fossil on windows (or something like that) Heh, exactly what I discovered right now looking at the contents of that _fossil config file and was about to post. ;-) Thanks for correcting. To be more precise, on Windows it's %appdata%\_fossil. like I said it may be the way I use this one repository in cooperation with one other developer. It is no problem for me at the moment, I can work my way around it ;). As for environment variables, I have no trouble setting them, but I do forget them from time to time. Again not something that deeply troubles me. Sorry, but I'm somewhat lost now. I interpreted your original question as that you were asking if it would be feasible to implement per-user settings in fossil to set the commit message editor. We then figured out that what are called global settings in fossil are, in fact, per-user settings so you could set your preferred editor using C:\ fossil set editor notepad.exe -global This setting would update your personal %appdata%\_fossil file which does not affect other developers and it is global in the sense that it applies to all your fossil repositories. What do you need to work around then? ___ 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] Editing commit messages
Hi Konstantin, On 2011-04-18 16:26, Konstantin Khomoutov wrote: On Mon, 18 Apr 2011 15:59:41 +0200 Arjen Markus arjen.mar...@deltares.nl wrote: Sorry, but I'm somewhat lost now. I interpreted your original question as that you were asking if it would be feasible to implement per-user settings in fossil to set the commit message editor. We then figured out that what are called global settings in fossil are, in fact, per-user settings so you could set your preferred editor using C:\ fossil set editor notepad.exe -global This setting would update your personal %appdata%\_fossil file which does not affect other developers and it is global in the sense that it applies to all your fossil repositories. What do you need to work around then? You are right - nothing, I am a bit slow today ;). I will try this solution. Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ___ 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] changing titles/urls for wiki pages
I found an answer. I updated the tag table with a statement like this: update tag set tagname = 'The new and amended title' where tagid = 17; and it worked. I hope I did not mess with something... Don't do it at home until Richard says it's ok. c On Mon, Apr 18, 2011 at 9:15 AM, Carlo A. Bertelli (Charta s.r.l.) carlo.berte...@gmail.com wrote: Hello, some of my users wrote documentation with MSWord and used copy-paste to fill in wiki pages (users say that using the web interface to edit text would clutter the timeline with incremental changes). Obviously it's a bad thing, but now uncompliant browsers (old ones) do not work with these strange urls. So I would like to correct at least the titles. I would like to update the relevant tables by sql statements. Could anyone please tell me what is the right way? TIA c ___ 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] changing titles/urls for wiki pages
On Mon, Apr 18, 2011 at 3:15 AM, Carlo A. Bertelli (Charta s.r.l.) carlo.berte...@gmail.com wrote: some of my users wrote documentation with MSWord and used copy-paste to fill in wiki pages (users say that using the web interface to edit text would clutter the timeline with incremental changes). Good to hear you found a way to fix the titles. If I may ask, have you setup an editor like TinyMCE to run in-browser to make editing documents easier? If not, there are instructions in the Fossil Cookbook. This might make the web interface easier to use than copying and pasting from Word. As for reducing clutter in the timeline, a useful enhancement to Fossil would be to provide a Minor Edit checkbox on the wiki edit page and a corresponding option for the timeline to not list minor edits of wiki pages. (Of course there's the risk every edit will get checked minor, but if that helps encourage the users to edit using the web interface, then it ay be worth the risk.) ___ 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] changing titles/urls for wiki pages
Thank you for answering. For the first thing, yes, I'm using TinyMCE, but users copy and paste from Word with all the smart things it does to text. And TinyMCE does not prevent them from doing harm. I think it would be very useful to use at least the cleaner http://ethilien.net/websoft/wordcleaner/cleaner.htm so this does not solve my problems. About the minor edit idea, I think it's a good one; there are a lot of partial reports, why not providing only the fundamental changes on the timeline? The button or a checkbox are not so important. Contributions to wiki are already well documented: adding a page, appending (comments) are the really important changes. Anyway, for consistency, I suggest to record all the changes and to report only the important changes and those that are marked major edits. c On Mon, Apr 18, 2011 at 7:12 PM, Ron Wilson ronw.m...@gmail.com wrote: On Mon, Apr 18, 2011 at 3:15 AM, Carlo A. Bertelli (Charta s.r.l.) carlo.berte...@gmail.com wrote: some of my users wrote documentation with MSWord and used copy-paste to fill in wiki pages (users say that using the web interface to edit text would clutter the timeline with incremental changes). Good to hear you found a way to fix the titles. If I may ask, have you setup an editor like TinyMCE to run in-browser to make editing documents easier? If not, there are instructions in the Fossil Cookbook. This might make the web interface easier to use than copying and pasting from Word. As for reducing clutter in the timeline, a useful enhancement to Fossil would be to provide a Minor Edit checkbox on the wiki edit page and a corresponding option for the timeline to not list minor edits of wiki pages. (Of course there's the risk every edit will get checked minor, but if that helps encourage the users to edit using the web interface, then it ay be worth the risk.) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Rebuilding missing _FOSSIL_ file
I inadvertently made some changes to a source tree before I realized I had previously closed the associated repository. To keep my changes and still open the repository, I issued the command: fossil open ..\project.fossil --keep The next commit seemed to properly save my changes, but I want to make sure this is considered the proper form for fixing such a mistake. Thanks much, Mark ___ 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] Rebuilding missing _FOSSIL_ file
On Mon, Apr 18, 2011 at 7:26 PM, Mark Preddy pred...@peak.org wrote: I inadvertently made some changes to a source tree before I realized I had previously closed the associated repository. To keep my changes and still open the repository, I issued the command: fossil open ..\project.fossil --keep The next commit seemed to properly save my changes, but I want to make sure this is considered the proper form for fixing such a mistake. Sounds like a safe and clever fix to me. Thanks much, Mark ___ 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...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users