[Trac] Re: Inserting a hook in ticket creation

2008-10-17 Thread Culapov Andrei

On Fri, Oct 17, 2008 at 1:20 AM, Sachin Arora [EMAIL PROTECTED] wrote:

 Hi all -

 I am new to Trac. So thought of asking help from the experts on this
 group.

 I am in a situation where I need to do some processing of my own(hit
 an URL and submit some data), after a new ticket is being saved.

you have to  create a new class that implements an
ITicketChangeListener and then overwrite the ticket_created method.
You can see this class defined in
http://trac.edgewall.org/browser/branches/0.11-stable/trac/ticket/api.py#L109

--~--~-~--~~~---~--~~
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 corruption?

2008-10-17 Thread David Starr

 Thanks! But there is *really* minimal content in the description and
 no comments actually.. Although it has had several state changes
 though our custom workflow.

 It doesn't have to be a lot, just certain combinations of formatting  
 can
 flip out.

Ok.. Here is the ticket description verbatim... Like I said no comments.

'''Location'''
INT - REHEARSAL ROOM - DAY

'''Reuse''' OF SC 037

Please add appropriate files in source:EPISODES/107/


 No, MySQL will not be faster, nor would Postgres. This is a common
 misconception about sqlite. While there may be some speed gain due  
 to bigger
 caches, the major boost is to throughput and concurrency. MySQL  
 support
 should be considered permanently experimental due to design flaws in  
 the
 database, so Postgres is probably a better option.

I guess I will just delete this ticket and re-create a new one.

Why does TicketDeletePlugin say it's a bad idea to remove a ticket  
from the db?

Thanks for the tips Noah! Sounds like I should look in to moving to  
Postgres then.

-David

--~--~-~--~~~---~--~~
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: Inserting a hook in ticket creation

2008-10-17 Thread Jeff Hammel

Look at http://trac.edgewall.org/browser/trunk/trac/ticket/api.py , in 
particular ITicketChangeListener ( 
http://trac.edgewall.org/browser/trunk/trac/ticket/api.py#L108 ).  Also, for 
more general plugin development information 
http://trac.edgewall.org/wiki/TracDev/PluginDevelopment

Jeff Hammel
The Open Planning Project
http://topp.openplans.org
IRC: jhammel, k0s


On Thu, Oct 16, 2008 at 03:20:21PM -0700, Sachin Arora wrote:
 
 Hi all -
 
 I am new to Trac. So thought of asking help from the experts on this
 group.
 
 I am in a situation where I need to do some processing of my own(hit
 an URL and submit some data), after a new ticket is being saved.
 
 Could someone provide me pointers on how to go about doing this?
 
 thanks.
 
  

--~--~-~--~~~---~--~~
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: Inserting a hook in ticket creation

2008-10-17 Thread Sachin Arora
Culapov -

Thanks for the tip, appreciate it.

Could you also tell me what change would I need to make to ensure that my
new class gets picked up by Trac Installation, rather than the default one
you mentione below?

thanks again,
sachin

On Fri, Oct 17, 2008 at 1:02 PM, Culapov Andrei [EMAIL PROTECTED]wrote:


 On Fri, Oct 17, 2008 at 1:20 AM, Sachin Arora [EMAIL PROTECTED]
 wrote:
 
  Hi all -
 
  I am new to Trac. So thought of asking help from the experts on this
  group.
 
  I am in a situation where I need to do some processing of my own(hit
  an URL and submit some data), after a new ticket is being saved.
 
 you have to  create a new class that implements an
 ITicketChangeListener and then overwrite the ticket_created method.
 You can see this class defined in

 http://trac.edgewall.org/browser/branches/0.11-stable/trac/ticket/api.py#L109

 


--~--~-~--~~~---~--~~
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] Memory Size

2008-10-17 Thread Talpa

Hi, my projects have everyone memory size 60MB it is possible? Exists
some way for optimalization?:)


Thanks

Ales

--~--~-~--~~~---~--~~
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]

2008-10-17 Thread Roel Harbers
Hey people,

 

Is there a way to configure the trac wiki to automatically make links of
text matching a certain regex? I want to link anything matching /(\d{4})
(\d{3})/ to our helpdesk system (topdesk)

 

I tried using interwiki, but I don't want to have to prefix every link
with an alias, and surround it with quotes (because of the space in the
topdesk incident numbers)

 

So, basically, I want 0810 123 to automatically be a link to our topdesk
system (using 0810 and 123 as arguments to be used in the url), instead
of having to write [td:0810 123]

 

Is there a plugin for this? If not, I'd be willing to make it myself.
Any directions on where to look for an appropriate example for this kind
of thing?

 

Using Trac 0.11.1

 

Regards,

 

Roel Harbers


--~--~-~--~~~---~--~~
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] Question: best db performance

2008-10-17 Thread David Ojeda

Hello all,

I am using trac with sqlite in a big project since 6 months ago. The project 
current iteration is now finished but I would like to fine tune the trac 
system for future developments.

My question is:
Has anyone had experience in both mysql and other db systems, like MySQL and 
PostgreSQL? Which one is faster? Are there other advantages/disadvantages on 
this systems?

I am thinking about migrating to either mysql or portgres, but I wanted to 
hear your opinions...

Thank you for your ideas

-- 
David Ojeda


--~--~-~--~~~---~--~~
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] fckeditor integrated into trac ?

2008-10-17 Thread Farkas, Illes
Dear List Members,

Do you happen to know, if FCK Editor has been integrated into Trac ?
http://www.fckeditor.net/demo

Thanks.

--~--~-~--~~~---~--~~
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: Question: best db performance

2008-10-17 Thread Russ Brown

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Ojeda wrote:
 Hello all,
 
 I am using trac with sqlite in a big project since 6 months ago. The project 
 current iteration is now finished but I would like to fine tune the trac 
 system for future developments.
 
 My question is:
 Has anyone had experience in both mysql and other db systems, like MySQL and 
 PostgreSQL? Which one is faster? Are there other advantages/disadvantages on 
 this systems?
 
 I am thinking about migrating to either mysql or portgres, but I wanted to 
 hear your opinions...
 
 Thank you for your ideas
 

Most of the opinions you are going to get are likely to be partisan.
Mine too, so I won't give one. ;)

However, as far as I am aware, Trac's MySQL support is still considered
experimental, while the Postgres support is considered stable [1].
That's the best I can do really without throwing my partisan opinion in. :)

[1] Hopefully I'm factually correct here: someone please correct me if I
understand this incorrectly.

- --

Russ.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI+MHhhXYlbEtYt2wRAmMcAJ9FruxK9GUY0heqPS72+FI96JYd2ACg3woA
P6PSTv5npJVIAqZC0kcEJMc=
=E6XY
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
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: fckeditor integrated into trac ?

2008-10-17 Thread Erik Bray

On Fri, Oct 17, 2008 at 9:24 AM, Farkas, Illes [EMAIL PROTECTED] wrote:
 Dear List Members,

 Do you happen to know, if FCK Editor has been integrated into Trac ?
 http://www.fckeditor.net/demo

 Thanks.

A quick google suggests not.  However there is a WYSIWYG wiki editor
for Trac.  Not as powerful, but it does produce native Trac wiki
markup instead of HTML, which is a good thing.  And it allows
switching the WYSIWYG mode on or off.

--~--~-~--~~~---~--~~
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] show_email_addresses don't work ?!

2008-10-17 Thread Christian Hansen

Hi,
i work on an Project für a Project-Server at my University. And there i
need that you don't see the username but the email address.
So ich change the trac.ini to show_email_addresses = true .
And the under Preferences
https://trac.hansen-hosting.de/projects/Projekt-Server/prefs i added
my e-Mail address, but everywhere there is only show my username an not
my email address.
I tested it with trac * 0.11b2*
https://trac.hansen-hosting.de/projects/Projekt-Server/about and *Trac
0.11.1* http://192.168.2.111/projects/test/about.
I#m authenticated via apache against an htpasswd file.

Have anybody an idea where i can search for the solution ?

Sorry for my bad english.

best regards
Christian

--~--~-~--~~~---~--~~
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: Question: best db performance

2008-10-17 Thread Jani Tiainen

Russ Brown kirjoitti:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 David Ojeda wrote:
 Hello all,

 I am using trac with sqlite in a big project since 6 months ago. The project 
 current iteration is now finished but I would like to fine tune the trac 
 system for future developments.

 My question is:
 Has anyone had experience in both mysql and other db systems, like MySQL and 
 PostgreSQL? Which one is faster? Are there other advantages/disadvantages on 
 this systems?

 I am thinking about migrating to either mysql or portgres, but I wanted to 
 hear your opinions...

 Thank you for your ideas

 
 Most of the opinions you are going to get are likely to be partisan.
 Mine too, so I won't give one. ;)
 
 However, as far as I am aware, Trac's MySQL support is still considered
 experimental, while the Postgres support is considered stable [1].
 That's the best I can do really without throwing my partisan opinion in. :)
 
 [1] Hopefully I'm factually correct here: someone please correct me if I
 understand this incorrectly.

In that matter you're correct.

What comes to speed it's not that simple.

Sqlite is fastest, but it doesn't work well under lot of concurrent 
activity. There you can get lot of speedgain by using PostgreSQL or MySQL.

So important question is, how much concurrent actions you do have? Or 
more precise, since only time real locking happens is when update or 
insert does, all reads must be waiting for db, so important question is 
that how often you get writes to db?

You must really have very busy site.

Disadvantage is complexity in backing up and management.

I've been running Trac for several big about 4 years now and even today 
I don't have reason to switch over to anything else. At the day I can 
use Oracle things will be different :)

-- 

Jani Tiainen


--~--~-~--~~~---~--~~
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: show_email_addresses don't work ?!

2008-10-17 Thread Christian Hansen

Christian Hansen schrieb:
 Hi,
 i work on an Project für a Project-Server at my University. And there i
 need that you don't see the username but the email address.
 So ich change the trac.ini to show_email_addresses = true .
 And the under Preferences
 https://trac.hansen-hosting.de/projects/Projekt-Server/prefs i added
 my e-Mail address, but everywhere there is only show my username an not
 my email address.
 I tested it with trac * 0.11b2*
 https://trac.hansen-hosting.de/projects/Projekt-Server/about and *Trac
 0.11.1* http://192.168.2.111/projects/test/about.
 I#m authenticated via apache against an htpasswd file.
 
 Have anybody an idea where i can search for the solution ?
 
 Sorry for my bad english.
 
 best regards
 Christian
 
  
here are more Information:
cat /etc/debian_version
4.0

 dpkg -l|egrep python|sqlite
ii  libapache2-mod-python   3.2.10-4
 Apache 2 module that embeds Python within th
ii  libapache2-mod-python-doc   3.2.10-4
 Apache 2 module that embeds Python within th
ii  libsqlite0  2.8.17-2
 SQLite shared library
ii  libsqlite3-03.3.8-1.1
 SQLite 3 shared library
ii  libsqlite3-dev  3.3.8-1.1
 SQLite 3 development files
ii  python  2.4.4-2
 An interactive high-level object-oriented la
ii  python-central  0.5.12
 register and build utility for Python packag
ii  python-dev  2.4.4-2
 Header files and a static library for Python
ii  python-docutils 0.4-3
 Utilities for the documentation of Python mo
ii  python-gdbm 2.4.4-1
 GNU dbm database support for Python
ii  python-gnupginterface   0.3.2-9
 Python interface to GnuPG (GPG)
ii  python-minimal  2.4.4-2
 A minimal subset of the Python language (def
ii  python-mysqldb  1.2.1-p2-4
 A Python interface to MySQL
ii  python-newt 0.52.2-10
 A NEWT module for Python
ii  python-roman0.4-3
 A module for generating/analyzing Roman nume
ii  python-setuptools   0.6c3-3
 Python Distutils Enhancements
ii  python-sqlite   1.0.1-5
 python interface to SQLite 2
ii  python-subversion   1.4.2dfsg1-2
 Python bindings for Subversion
ii  python-support  0.5.6
 automated rebuilding support for python modu
ii  python-svn  1.5.0dfsg-1
 A(nother) Python interface to Subversion
rc  python2.3   2.3.5-3sarge2
 An interactive high-level object-oriented la
ii  python2.4   2.4.4-3+etch1
 An interactive high-level object-oriented la
ii  python2.4-dev   2.4.4-3+etch1
 Header files and a static library for Python
ii  python2.4-minimal   2.4.4-3+etch1
 A minimal subset of the Python language (ver
ii  sqlite  2.8.17-2
 command line interface for SQLite


my vhost:

Location /projects
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /home/www/web80/html/trac/projects
  PythonOption TracUriRoot /projects
  PythonOption PYTHON_EGG_CACHE /home/www/web80/phptmp
  SetEnv PYTHON_EGG_CACHE /home/www/web80/phptmp
  PythonDebug on
PythonOption TracLocale de_DE.UTF-8
/Location
LocationMatch /projects/[^/]+/login
  AuthType Basic
  AuthName Trac
  AuthUserFile /home/www/web80/html/trac/.htpasswd
  Require valid-user
/LocationMatch


Best Regards
Christian Hansen

--~--~-~--~~~---~--~~
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] Where can I find the subversion post-commit script for trac?

2008-10-17 Thread [EMAIL PROTECTED]

Hi,

Where can I find the subversion post-commit script for trac? I am
using subversion 1.5.2 and Trac 0.11.1.

Thank you for any pointer.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---