32 | | '''2.4. I get the following error message when editing a wiki page with Trac 0.6.1:''' |
33 | | {{{ |
34 | | columns name, version are not unique |
| 26 | What are the dependencies of Trac? |
| 27 | ---------------------------------- |
| 28 | Trac depends on the following software: Subversion w/Python bindings, Clearsilver_, `SQLite w/Python bindings`_. Syntax coloring requires `GNU Enscript`_ and/or SilverCity_. |
| 29 | |
| 30 | See also: `TracInstall`:trac:, `TracSyntaxColoring`:trac:. |
| 31 | |
| 32 | .. _Clearsilver: http://www.clearsilver.net/ |
| 33 | .. _`SQLite w/Python bindings`: http://www.sqlite.org/ |
| 34 | .. _`GNU Enscript`: http://people.ssh.fi/mtr/genscript/ |
| 35 | .. _SilverCity: http://silvercity.sf.net/ |
| 36 | |
| 37 | ----- |
| 38 | |
| 39 | .. ** WIKI ** |
| 40 | |
| 41 | Wiki |
| 42 | ==== |
| 43 | |
| 44 | What is a "Wiki"? |
| 45 | ----------------- |
| 46 | The term Wiki is a shortened form of WikiWikiWeb_. A Wiki is a database of pages that can be collaboratively edited using a web browser. |
| 47 | |
| 48 | See also: `TracWiki`:trac: |
| 49 | |
| 50 | .. _WikiWikiWeb: http://c2.com/cgi/wiki?WikiWikiWeb |
| 51 | |
| 52 | |
| 53 | Did you copy the previous question from the MoinMoin FAQ |
| 54 | --------------------------------------------------------- |
| 55 | Why yes, thanks for asking. |
| 56 | |
| 57 | |
| 58 | Could the Wiki perhaps get a RecentChanges page, showing the changed pages in anti-chronological order? |
| 59 | ------------------------------------------------------------------------------------------------------- |
| 60 | The timeline_ contains information about all the changes to Trac content. By deselecting the *view ticket changes* and *view repository checkins* boxes you can view only the Wiki changes. |
| 61 | |
| 62 | .. _timeline: http://projects.edgewall.com/trac/timeline/ |
| 63 | |
| 64 | |
| 65 | I get the following error message when editing a wiki page with Trac 0.6.1: |
| 66 | --------------------------------------------------------------------------- |
| 67 | :: |
| 68 | |
| 69 | columns name, version are not unique |
| 70 | |
| 71 | SQLite_ version 2.8.13 has a bug in the max() function. Either downgrade/upgrade sqlite or replace trac/Wiki.py with this file: Wiki.py_ |
| 72 | |
| 73 | .. _SQLite: http://www.sqlite.org/ |
| 74 | .. _Wiki.py: http://svn.edgewall.com/repos/trac/branches/0.6-stable/trac/Wiki.py |
| 75 | |
| 76 | |
| 77 | Does Trac support Unicode/UTF-8 or any other encodings? |
| 78 | ------------------------------------------------------- |
| 79 | Yes, Trac uses UTF-8 internally for all text. See `TracUnicode`:trac: for a detailed description. |
| 80 | |
| 81 | |
| 82 | Can I directly add questions to this Wiki FAQ? |
| 83 | ---------------------------------------------- |
| 84 | Yes, I can! Just click *Edit this page* at the bottom of the page. |
| 85 | |
| 86 | |
| 87 | But then how do we control spammers and malicious contributors? |
| 88 | --------------------------------------------------------------- |
| 89 | I guess you would get an answer rapidly if you added a malicious contribution, and you just might get a bruise. |
| 90 | |
| 91 | ----- |
| 92 | |
| 93 | .. ** BROWSER ** |
| 94 | |
| 95 | Browser |
| 96 | ======= |
| 97 | |
| 98 | On Windows, why does Trac not display diffs? |
| 99 | -------------------------------------------- |
| 100 | Early versions of Subversion used an (external) diff command. On UNIX-like systems, diff is usually installed already, so this wasn't an issue there. Installing diffutils should solve the problem, but a better solution would be to upgrade to the latest Subversion_, which now uses an internal diff library. |
| 101 | |
| 102 | .. _Subversion: http://subversion.tigris.org/ |
| 103 | |
| 104 | |
| 105 | Does Trac support syntax coloring/highlighting of source code files? |
| 106 | -------------------------------------------------------------------- |
| 107 | Yes, using several methods. See `TracSyntaxColoring`:trac: for details. |
| 108 | |
| 109 | ----- |
| 110 | |
| 111 | .. ** TICKETS ** |
| 112 | |
| 113 | Tickets |
| 114 | ======= |
| 115 | |
| 116 | Is there any way to remove tickets ? |
| 117 | ------------------------------------ |
| 118 | You have to go through the db file in order to remove a ticket. No web interface is available for the moment (but there is a `ticket:298`:trac: regarding it). |
| 119 | |
| 120 | ----- |
| 121 | |
| 122 | .. ** REPORTS ** |
| 123 | |
| 124 | Reports |
| 125 | ======= |
| 126 | |
| 127 | Is there any way to remove reports? |
| 128 | ----------------------------------- |
| 129 | Yes, if you have the proper permissions, you should be able to delete a report simply by viewing it and clicking *delete*. |
| 130 | |
| 131 | ----- |
| 132 | |
| 133 | .. ** DEVELOPMENT ** |
| 134 | |
| 135 | Development |
| 136 | =========== |
| 137 | |
| 138 | How can i contribute to the project? |
| 139 | ------------------------------------ |
| 140 | There are several ways to contribute, including submitting patches, sending feedback and reporting bugs. |
| 141 | For details, see `HowToContribute`:trac:. |
| 142 | |
| 143 | ----- |
| 144 | |
| 145 | .. ** MISCELLANEOUS ** |
| 146 | |
| 147 | Miscellaneous |
| 148 | ============= |
| 149 | |
| 150 | What is a typical use-case for trac? Why/when would I want to use it? |
| 151 | --------------------------------------------------------------------- |
| 152 | *Note:* in the gist, this boils down to 'what is trac?' and should rather be the first question IMHO. |
| 153 | |
| 154 | |
| 155 | How do I create or change a milestone with an associated date? |
| 156 | -------------------------------------------------------------- |
| 157 | Using *trac-admin*, specifically the *milestone time* or *milestone add* command. The input format for the date is rather limited still, and should be a string like this: 'Jun 3, 2003'. Note the string **must** be quoted for proper parsing. |
| 158 | Example: |
| 159 | :: |
| 160 | |
| 161 | trac-admin myprojenv milestone add anniversary 'Jun 3, 2003' |
| 162 | |
| 163 | ----- |
| 164 | |
| 165 | See also: `TracGuide`:trac:, `TitleIndex`:trac: |
36 | | [http://sqlite.org/ sqlite] version 2.8.13 has a bug in the {{{max()}}} function. Either downgrade/upgrade sqlite |
37 | | or replace trac/Wiki.py with this file: [http://svn.edgewall.com/repos/trac/branches/0.6-stable/trac/Wiki.py Wiki.py] |
38 | | |
39 | | '''2.5. Does Trac support Unicode/UTF-8 or any other encodings?''' |
40 | | Yes, Trac uses UTF-8 internally for all text. See TracUnicode for a detailed description. |
41 | | |
42 | | '''2.6. Can I directly add questions to this Wiki FAQ?''' |
43 | | Yes, I can! |
44 | | |
45 | | '''2.7. But then how do we control spammers and malicious contributors?''' |
46 | | I guess I would get an answer rapidely if I added a malicious contribution... |
47 | | |
48 | | ---- |
49 | | == 3. Browser == |
50 | | '''3.1. On Windows, why does Trac not display diffs?''' |
51 | | Early versions of Subversion used an (external) ''diff'' command. On UNIX-like systems, diff is usually installed already, so this wasn't an issue there. Installing [http://gnuwin32.sourceforge.net/packages/diffutils.htm diffutils] should solve the problem, but a better solution would be to upgrade to the latest Subversion [http://subversion.tigris.org/], which now uses an internal diff library. |
52 | | |
53 | | '''3.2. Does Trac support syntax coloring/highlighting of source code files?''' |
54 | | Yes, using several methods. See TracSyntaxColoring for details. |
55 | | |
56 | | ---- |
57 | | == 4. Tickets == |
58 | | '''4.1. Is there any way to remove tickets ?''' |
59 | | You have to go through the db file in order to remove a ticket. No web interface is available for the moment (but there is a ticket:298 about that yet). |
60 | | |
61 | | ---- |
62 | | == 5. Reports == |
63 | | '''5.1. Is there any way to remove reports ?''' |
64 | | |
65 | | ---- |
66 | | == 6. Development == |
67 | | |
68 | | ---- |
69 | | == 7. Miscellaneous == |
70 | | '''7.1 What is a typical use-case for trac? Why/when would I want to use it?''' |
71 | | ''Note: in the gist, this boils down to 'what is trac?' and should rather be 1.1 than 7.1 IMHO.'' |
72 | | |
73 | | '''7.2. How do I create or change a milestone with an associated date?''' |
74 | | Using trac-admin, specifically the ''milestone time'' or ''milestone add'' command. The input format for the date is rather limited still, and should be a string like this: ''Jun 3, 2003''. Note the string '''must''' be quoted for proper parsing. Example: |
75 | | {{{ |
76 | | trac-admin myprojenv milestone add anniversary 'Jun 3, 2003' |
77 | | }}} |
78 | | |
79 | | ---- |
80 | | See also: TracGuide, TitleIndex |