[Trac] Re: installing Subversion SWIG bindings in a virtualenv?
Graham Dumpleton [EMAIL PROTECTED] writes: More below. On Aug 27, 3:33 pm, Graham Dumpleton [EMAIL PROTECTED] wrote: On Aug 27, 2:54 pm, Olaf Meeuwissen [EMAIL PROTECTED] wrote: Graham Dumpleton [EMAIL PROTECTED] writes: [snip!] How in your configuration are you getting: /path/to/SandBox/lib/python2.5/site-packages added to sys.path? The same way as /path/to/WSGIHome/lib/python2.5/site-packages, I'd presume. That is, I have no clue, really. I think virtualenv and/or easy_install automagically take care of that. If this contains .pth files you can't just use: sys.path.append() as that doesn't result in .pth files being parsed with content added to sys.path in the process. The /path/to/SandBox/lib/python2.5/site-packages directory contains a .pth file with the following contents: /usr/share/python-support/python-subversion You previously indicated locations as: *.py in /usr/share/python-support/python-subversion/{svn,libsvn} *.so in /usr/lib/python-support/python-subversion/python2.[45]/ libsvn And that you had: $ cat /path/to/virtualenv/lib/python2.5/site-packages/svn- python.pth /usr/lib/python-support/python-subversion/python2.5 /usr/lib/python-support/python-subversion /usr/share/python-support/python-subversion Shouldn't the directory containing the .so files, ie., /usr/lib/python-support/python-subversion/python2.5 still be in the .pth file? You now only have: /usr/share/python-support/python-subversion which would mean only .py files would be found. Yes/No? Tried that, but it didn't make things work. The additional entries in the .pth file do get listed in the Apache error logs, though. BUT! If I also add the libsvn directory that lives below /usr/lib/python-support/python-subversion/python2.5/ to the .pth file things work! As in, that 'module _fs not found' error goes away and I can browse the repository. For the record, my python-subversion.pth now contains: /usr/share/python-support/python-subversion /usr/lib/python-support/python-subversion/python2.5/libsvn Me now wonders why all this works out of the box using a virtualenv *with* site-packages ... A `virtualenv --no-site-packages` use the following sys.path: ['', '/path/to/WSGIHome/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/pytz-2008c-py2.5.egg', '/path/to/WSGIHome/lib/python25.zip', '/path/to/WSGIHome/lib/python2.5', '/path/to/WSGIHome/lib/python2.5/plat-linux2', '/path/to/WSGIHome/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/lib-dynload', '/usr/lib/python2.5', '/usr/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/site-packages'] And a regular `virtualenv` uses: ['', '/path/to/WSGIHome/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/Pygments-0.10-py2.5.egg', '/path/to/WSGIHome/lib/python2.5/site-packages/pytz-2008c-py2.5.egg', '/path/to/WSGIHome/lib/python25.zip', '/path/to/WSGIHome/lib/python2.5', '/path/to/WSGIHome/lib/python2.5/plat-linux2', '/path/to/WSGIHome/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/lib-dynload', '/usr/lib/python2.5', '/usr/lib/python2.5/lib-tk', '/path/to/WSGIHome/lib/python2.5/site-packages', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL', '/var/lib/python-support/python2.5'] There's gotta be some kind of magic going on in those last four directories. The first one is empty and I doubt PIL has anything to do with. The leaves only two but I don't know enough about Python to figure out where and what. A cluebat is appreciated. [snip] Thanks! -- Olaf Meeuwissen FLOSS Engineer -- AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Using tracsvnpoliciesplugin 0.2
[EMAIL PROTECTED] wrote: -Original Message- From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert C Corsaro Sent: 2008. augusztus 21. 20:04 To: trac-users@googlegroups.com Subject: [Trac] Re: Using tracsvnpoliciesplugin 0.2 [EMAIL PROTECTED] wrote: Hi all, I try to use tracsvnpoliciesplugin 0.2. Installation is done, permission is given. After going to SVN policies under Admininstration/General, I enable Policies enabled and Disable commits? I got the message: The changes have been saved. The pre commit file couldn't be generated And finally I can commit changes also... Do you have any idea how to fix this? For some reason, the hook symlink couldn't be generated. Are you on a unix OS? Also, be sure to run: python setup.py install_data This installs the script file that gets symlinked. Make sure that svn-hook script is in $prefix/bin. If you just did python setup.py, that will be /usr/bin. The apache user needs permission to make a file in the $repo/hooks directory too. If there is already a hook there ($repo/hooks/pre-commit), then that will also cause it to fail. I am under WinXP, and there is no valid hook script in ($repo/hooks/). Do I have to run python setup.py install_data ? It exits with error: TypeError: 'NoneType' object is not iterable I have some log message, that says the same: (unsuccesfull symlink generation) 2008-08-22 08:16:17,615 Trac[admin] ERROR: Traceback (most recent call last): File build\bdist.win32\egg\svnpolicies\admin.py, line 597, in _create_hook_links os.symlink(generic_script, trac_env_path + os.path.sep + link_name) AttributeError: 'module' object has no attribute 'symlink' 2008-08-22 08:16:17,615 Trac[admin] ERROR: 'module' object has no attribute 'symlink' It won't work on Windows. I don't have any windows boxes. Patches welcome. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Change TRAC lang to pt-br on FreeBSD 7
Hi Trac Users! How to change default lang (english) on Trac to Portuguese (pt-br)? [EMAIL PROTECTED] /]# uname -a FreeBSD intranet.zzz.com.br 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Wed Jul 16 10:05:07 BRT 2008 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DIABLO i386 [EMAIL PROTECTED] /]# pkg_info | grep trac trac-0.11_2 An enhanced wiki and issue tracking system for software pro Sorry by poor english. Thanks in advance. -- Welkson Renny de Medeiros Focus Automação Comercial Desenvolvimento / Gerência de Redes [EMAIL PROTECTED] Powered by (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Change TRAC lang to pt-br on FreeBSD 7
Welkson Renny de Medeiros wrote: Hi Trac Users! How to change default lang (english) on Trac to Portuguese (pt-br)? [EMAIL PROTECTED] /]# uname -a FreeBSD intranet.zzz.com.br 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Wed Jul 16 10:05:07 BRT 2008 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DIABLO i386 [EMAIL PROTECTED] /]# pkg_info | grep trac trac-0.11_2 An enhanced wiki and issue tracking system for software pro Trac 0.11 has no translation support. 0.12 will be adding full l10n support, so you can either wait for that, or install the current trunk. --Noah signature.asc Description: OpenPGP digital signature
[Trac] Re: Change TRAC lang to pt-br on FreeBSD 7
OK! Thanks. Welkson - Original Message - From: Noah Kantrowitz [EMAIL PROTECTED] To: trac-users@googlegroups.com Sent: Wednesday, August 27, 2008 2:02 PM Subject: [Trac] Re: Change TRAC lang to pt-br on FreeBSD 7 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] RE: trac query broken?
Yes, you were trying to use the normal query syntax, so drop the ? at the front. You only need that when you are using a URL string, which has different formatting requirements. --Noah -Original Message- From: rupert THURNER [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2008 12:48 AM To: Noah Kantrowitz Subject: Re: trac query broken? sorry for that, its not my intention to bother people, with pleasure i will use my time for more important things :) i just appreciated it if you click the open tickets link that you can with one click get also the closed tickets so one can check if the problem was already reported and maybe fixed/closed. and query delivers just that, report not. but for the original question: do you see an error in the query: or i just misused it in an inappropriate way? rupert. On Wed, Aug 27, 2008 at 4:29 AM, Noah Kantrowitz [EMAIL PROTECTED] wrote: You are not the plugin author, it is not your job to reformat pages as you see fit. I revert and delete these changes whenever I see them. --Noah rupert thurner wrote: you mean the query does not work, or you do not like it? and you want to have it changed back? On Aug 26, 5:11 pm, Noah Kantrowitz [EMAIL PROTECTED] wrote: -Original Message- From: trac-users@googlegroups.com [mailto:trac- [EMAIL PROTECTED] On Behalf Of rupert thurner Sent: Tuesday, August 26, 2008 9:52 AM To: Trac Users Subject: [Trac] trac query broken? i tried to insert a trac query: [query:?status=new|assigned| reopenedcomponent=TicketChangePluginorder=priority] or [query:?status!=closedcomponent=TicketChangePluginorder=priority] intohttp://trac-hacks.org/wiki/TicketChangePlugin, and it does not take the status. how is this supposed to work, according to http://trac-hacks.org/wiki/TracQuery? Wow, so that's you who keeps changing trac-hacks pages all over the place? You would think you would have figured out to stop after I spent months deleting all those changes. --Noah --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Source Browser - Syntax Highlighting not working
Okay, I now understand the problem, but I'm still confused why it's an issue. Files with the mime-type explicitly set to text/plain via the svn property (e.g. svn:mime-type=text/plain) are not displayed using syntax highlighting in Trac. Files w/out an explicit mime-type display correctly. I would expect to Trac to honor the mime-type in certain cases (like any binary type), but I wouldn't expect text/plain to interfere with syntax highlighting. Is this the expected/desired behavior? -VegHead On Aug 26, 4:41 pm, VegHead [EMAIL PROTECTED] wrote: I'm having trouble getting syntax highlighting working in the Source Browser. I'm running Trac 0.11b2 and I verified that Pygments is installed. Is there something simple and/or stupid I could be missing? Any advice would be greatly appreciated. -VegHead --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Source Browser - Syntax Highlighting not working
The mimeview system works based entirely on MIME types, so if an explicit one is set via properties it will override all auto-detection. This is a feature, not a bug. --Noah -Original Message- From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of VegHead Sent: Wednesday, August 27, 2008 9:58 AM To: Trac Users Subject: [Trac] Re: Source Browser - Syntax Highlighting not working Okay, I now understand the problem, but I'm still confused why it's an issue. Files with the mime-type explicitly set to text/plain via the svn property (e.g. svn:mime-type=text/plain) are not displayed using syntax highlighting in Trac. Files w/out an explicit mime-type display correctly. I would expect to Trac to honor the mime-type in certain cases (like any binary type), but I wouldn't expect text/plain to interfere with syntax highlighting. Is this the expected/desired behavior? -VegHead On Aug 26, 4:41 pm, VegHead [EMAIL PROTECTED] wrote: I'm having trouble getting syntax highlighting working in the Source Browser. I'm running Trac 0.11b2 and I verified that Pygments is installed. Is there something simple and/or stupid I could be missing? Any advice would be greatly appreciated. -VegHead --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Source Browser - Syntax Highlighting not working
On Aug 27, 12:31 pm, Noah Kantrowitz [EMAIL PROTECTED] wrote: The mimeview system works based entirely on MIME types, so if an explicit one is set via properties it will override all auto-detection. This is a feature, not a bug. --Noah -Original Message- From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of VegHead Sent: Wednesday, August 27, 2008 9:58 AM To: Trac Users Subject: [Trac] Re: Source Browser - Syntax Highlighting not working Okay, I now understand the problem, but I'm still confused why it's an issue. Files with the mime-type explicitly set to text/plain via the svn property (e.g. svn:mime-type=text/plain) are not displayed using syntax highlighting in Trac. Files w/out an explicit mime-type display correctly. I would expect to Trac to honor the mime-type in certain cases (like any binary type), but I wouldn't expect text/plain to interfere with syntax highlighting. Is this the expected/desired behavior? -VegHead text/plain isn't interfering with syntax higlighting, it's displaying the file as text/plain, which happens to not have syntax, or a highligting engine. Simply put, if the file is a known mime-type, either don't set it's subversion property, or set it correctly. however, if you really want to set the mime-types for other things that grab files from the repo, do soemhting like this in your clients' config file: which will set the mime-type to match what is in the trac mimeviewer api (there are a few discrepencies there, tweaked a bit to my usage) [auto-props] ### The format of the entries is: ### file-name-pattern = propname[=value][;propname[=value]...] ### The file-name-pattern can contain wildcards (such as '*' and ### '?'). All entries which match will be applied to the file. ### Note that auto-props functionality must be enabled, which ### is typically done by setting the 'enable-auto-props' option. *.dsp = svn:eol-style=CRLF *.dsw = svn:eol-style=CRLF *.sh = svn:eol-style=native;svn:executable *.png = svn:mime-type=image/png *.jpg = svn:mime-type=image/jpeg *.pdf = svn:mime-type=application/pdf *.ps = svn:mime-type=application/postscript *.rtf = svn:mime-type=application/rtf;svn:eol-style=native *.rss = svn:mime-type=application/rss+xml *.xsl = svn:mime-type=application/xsl+xml *.xslt = svn:mime-type=application/xslt+xml *.ico = svn:mime-type=image/x-icon *.svg = svn:mime-type=image/svg+xml *.vrml = svn:mime-type=model/vrml *.wrl = svn:mime-type==model.vrml *.css = svn:mime-type=text/css;svn:eol-style=native *.html = svn:mime-type=text/html *.txt = svn:mime-type=text/plain;svn:eol-style=native *.TXT = svn:mime-type=text/plain;svn:eol-style=native README = svn:mime-type=text/plain;svn:eol-style=native INSTALL = svn:mime-type=text/plain;svn:eol-style=native *.xml= = svn:mime-type=text/xml *.c = svn:mime-type=text/x-csrc;svn:eol-style=native *.xs = svn:mime-type=text/x-csrc;svn:eol-style=native *.h = svn:mime-type=text/x-chdr;svn:eol-style=native *.cpp = svn:mime-type=text/x-c++src;svn:eol-style=native *.cc = svn:mime-type=text/x-c++src;svn:eol-style=native *.CC = svn:mime-type=text/x-c++src;svn:eol-style=native *.hpp = svn:mime-type=text/x-c++hdr;svn:eol-style=native *.hh = svn:mime-type=text/x-c++hdr;svn:eol-style=native *.HH = svn:mime-type=text/x-c++hdr;svn:eol-style=native *.H = svn:mime-type=text/x-c++hdr;svn:eol-style=native *.cs = svn:mime-type=text/x-csharp;svn:eol-style=native *.diff = svn:mime-type=text/x-diff;svn:eol-style=native *.patch = svn:mime-type=text/x-diff;svn:eol-style=native *.ini = svn:mime-type=text/x-ini;svn:eol-style=native *.cfg = svn:mime-type=text/x-ini;svn:eol-style=native *.js = svn:mime-type=text/x-javascript;svn:eol-style=native make = svn:mime-type=text/x-makefile;svn:eol-style=native mk = svn:mime-type=text/x-makefile;svn:eol-style=native Makefile = svn:mime-type=text/x-makefile;svn:eol-style=native makefile = svn:mime-type=text/x-makefile;svn:eol-style=native --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: auto insert revision number from SVN
On Aug 19, 1:55 pm, Bob Yang [EMAIL PROTECTED] wrote: thank you! is it something like this?http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook could you tell me how to use it too. I can add the part to SVN's Post- commit hook. however, how can I add to the Trac's Post-commit hook? I could not find it. thanks! you configure your subversion post-commit-hook to call the trac-post- commit-hook.py file, which connects to your trac and updates tickets if you use the syntax required (read the trac-post-commit-hook.py file for details.). I just put the trac-post-commit-hook.py right in the svn hooks directory, and pointed the post-commit-hook.bat (in my case, windowzsigh) to call the python script with appropriate commands. I then edited the python file to move a ticket to a special state instead of closed, since we use a custom workflow, but that's a semantic, and isn't hard. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: ticket field control
AdvancedTicketWorkflow BlackMagicTicketTweaks. haven't used them. we have decided not to hide/manipulate fields yet, letting our engineers use their noggins. that said, I can see the benefit, particularly if you let customers create/view tickets. I think there is a PrivateTicketsPlugin as well. On Aug 21, 3:10 am, jevans [EMAIL PROTECTED] wrote: Hello, I see several plug-in's that control what ticket fields are available when and so forth - HideVals, SimpleTicket, TicketSubmitPolicy, TicketValidator, any others? Curious for opinions of people who have used them. Which works best for you? Pros cons? I see some haven't yet been updated for 0.11 although I still see them pop up in recent searches. Thanks, - jevans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: New Trac User. Confused about Links.
On Aug 20, 1:39 pm, Jonas Borgström [EMAIL PROTECTED] wrote: slade867 wrote: Actually, I'm confused about a ,lot of things and will probably have many questions. Here's my first one How do I make it so that a CamelCase word is not considered a page link? For example suppose I want to say The name of the class is 'ThisName' . I don't want ThisName to be a link to a wiki page and have a question mark after it. I still want to be able to use the CamelCase as usual for other instances, just not thi specific one. http://trac.edgewall.org/wiki/WikiFormatting#Links / Jonas I highly recommend reading the guide that, conveniently, comes with it! seriously though, the TracLinks, InterTrac links, WikiMarkup and the Macro's section are really worth the time. at first I didn't read up much on track links and the query macro (and TicketQuery) and had about 15 specialized reports. After learning, I was able to prune those down to about 5 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: New Trac User. Confused about Links.
Thank you. Reading upabout the links again was helpful. Right now I'm having two new problems. I have Trac .12 and I am trying to have new users be able to create their own name's and passwords and old users be able to edit those things. I doenloaded the AccountManagerPlugin for Trac .11 as there isn't one for .12. The download was successful but even when I enable everything, I still don't get the new options. For example the Accounts link doesn't appear abve Basic Settings I'm also trying to make some pages viewable only to select users. In TracFineGrainedPermissions, the steps are listed as: Install ConfigObj (required). Copy authz_policy.py into your plugins directory. Put a authzpolicy.conf file somewhere (preferably on a secured location on the server, not readable for others than the webuser. Update your trac.ini I'm confused about step1 where do I install it to? How exactly do I do so? Step2 and 3 are done. I've experimented with the configobj but then I get the error: ConfigObjError: Parsing failed with several errors. First error at line 1 It's all very frustrating. On Aug 27, 1:55 pm, [EMAIL PROTECTED] wrote: On Aug 20, 1:39 pm, Jonas Borgström [EMAIL PROTECTED] wrote: slade867 wrote: Actually, I'm confused about a ,lot of things and will probably have many questions. Here's my first one How do I make it so that a CamelCase word is not considered a page link? For example suppose I want to say The name of the class is 'ThisName' . I don't want ThisName to be a link to a wiki page and have a question mark after it. I still want to be able to use the CamelCase as usual for other instances, just not thi specific one. http://trac.edgewall.org/wiki/WikiFormatting#Links / Jonas I highly recommend reading the guide that, conveniently, comes with it! seriously though, the TracLinks, InterTrac links, WikiMarkup and the Macro's section are really worth the time. at first I didn't read up much on track links and the query macro (and TicketQuery) and had about 15 specialized reports. After learning, I was able to prune those down to about 5- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: New Trac User. Confused about Links.
I have Trac .12 and I am trying to have new users be able to create their own name's and passwords and old users be able to edit those things. I doenloaded the AccountManagerPlugin for Trac .11 as there isn't one for .12. ... It's all very frustrating. There is no Trac 0.12. There is a development version that aims at becoming 0.12 someday, but you better stick with an official release if you do not have strong reasons to do otherwise (I18N support for ex.). See my post about 0.11 vs. 0.12 (one or two days ago) Cheers, Manu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Trac site template
I'd love some advice on how to create a template of an entire Trac site. For example, I want to create a new Trac site, add my customizations (style, fields, etc) and use this as a template to create my new future Trac sites. The idea is not to have to customize each new Trac site, everything is in place from the beginning. Any ideas? __ Shelly Fangman Scientist, Enabling Technologies EMSL: Environmental Molecular Sciences Laboratory --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac site template
On Wed, August 27, 2008 20:02, Fangman, Patricia M (Shelly) wrote: I'd love some advice on how to create a template of an entire Trac site. For example, I want to create a new Trac site, add my customizations (style, fields, etc) and use this as a template to create my new future Trac sites. The idea is not to have to customize each new Trac site, everything is in place from the beginning. Any ideas? __ Shelly Fangman Scientist, Enabling Technologies EMSL: Environmental Molecular Sciences Laboratory I was going to write to the list when this was a little more usable, but I have been working on a project called TracLegos whose primary goal is to enable the definition of a project template and using these templates to create a trac project. Essentially, I am using a subclass of PasteScript templates [1] that is called TracProject that is intended as a definition of what a site template is. Currently, this is almost an empty subclass (I've only been working on TracLegos a few days so its still not really ready, though I do intend to have a considerable amount done by Monday...I'll mail the thread then with an update). The idea is that each template defines a type of project -- whether a generic type like 'client-facing', 'live errors', 'FOSS project'; or a specific type like a template for a specific organization. Site-configuration can be used to provide needed variables and other policy issues (like what type of database to use, who is part of what groups, etc). The program is intended to be used either through pastescript invocation (which will only apply one template and may have limitations on how much it can do), command-line invocation (where you can use several templates and have the most flexibility), and through the web via a paste application that wraps trac in middleware and also may be used to create projects. Very much unimplemented but needed features include: * format for permissions, milestones, components, and other information settable by trac-admin * DB creation for non-sqlite cases * repository options; this is hinted at in the web view, but none of the radio buttons displayed at are currently functional * installation of requirements for plugins via PoachEggs [2] * permission checking on TTW interface * tools to turn existing trac projects into templates I hesitate to give the source out, as its in such an early stage that it probably isn't useful yet, but if you are curious it is available at https://svn.openplans.org/svn/trac/install/TracLegos/ The README might be worthwhile, though it is bit dated (documentation never keeps up with coding). I'd be curious if this sort of thing would be useful to people. Also, not a bad time for feature requests and feedback. Jeff [1] http://pythonpaste.org/script/developer.html [2] https://svn.openplans.org/svn/PoachEggs/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---