ilewismsl | 1 Feb 03:34
Picon

[Trac] Reopening tickets

Is it acceptable to re-open a trac ticket because you wish the
developers to reconsider implementing the feature?

In particular, I would like to see http://trac.edgewall.org/ticket/3541
reconsidered.

We are a relatively new Trac user (4 months), but so far it looks
extremely good. For our usage, repository search is the only major
missing piece we have seen. It is a real weakness that I suspect we
can work around by using some other tool for that purpose (though, I
have found nothing that looks that good so far).

Neither of the search hacks seem to work very well. At least, I have
failed to make either work well, though I have made both work.

In any case, I believe if you added repository search you would
increase the value of Trac to many users.

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Olemis Lang | 1 Feb 16:01
Picon
Gravatar

Re: [Trac] Re: Determine active ctxtnav item in Genshi template

On Tue, Jan 10, 2012 at 6:07 PM, osimons <oddsimons@...> wrote:
> On Jan 10, 10:49 pm, Olemis Lang <ole...@...> wrote:
> > Hi !
> >
> > I'm building a Trac theme and I need to determine what ctxtnav item is
> > active . It's possible to do so for mainnav and metanav so as to
> > highlight active navigation item . Nonetheless e.g. if user accesses
> > TitleIndex wiki page afaics there's no way to determine `Index`
> > ctxtnav item is active so as to highlight it .
> >
> > Q:
> >   - Does Trac provides a way to highlight active ctxtnav item ?
> >   - Is it possible to hack things somehow so as to get this done ?
> >
> > I look forward to your suggestions . Thnx in advance .
>
> Hi Olemis.
>

:)

>
> No Trac does not have such extended support for ctxtnav, it is all
> somewhat unpredictable from a theming aspect. However, a general rule
> that I think should work for most cases is to highlight the item that
> is NOT a link - ctxtnav common practice is to render just the text for
> whatever is currently "active". If all items are links then you cannot
> presume any individual item to be the 'active' one.
>

(Continue reading)

Olemis Lang | 1 Feb 17:04
Picon
Gravatar

[Trac] Re: Different behavior (issue ?) of trac.loader.load_components ... HELP

On Tue, Jan 31, 2012 at 1:23 PM, Olemis Lang <olemis@...> wrote:
> Hi all !
>

Update ...

> I have two local Trac installations for testing purpose :
>
> 1- Trac=0.11 installed from Ubuntu 10.04
>     (<= is it enough to get the whole picture ?)
> 2- Trac=0.13dev installed in a virtual environment using
>     setuptools develop command . site-packages dir
>     is inherited from global installation
>
> In the first case built-in Trac components (e.g. TicketSystem ) are
> loaded , whereas in the later they are not .
>
> The code looks like this (it is asumed that pkg should be the
> top-level module in a package e.g. `trac` for Trac , `tracrpc` for
> XmlRpcPlugin , ... ;)
>
> {{{
> #!py
>
>    from trac.loader import load_components
>    for pkg in ['trac'] :
>       try :
>         __import__(pkg)
>       except ImportError :
>         pass                        # Skip pkg. What a shame !
(Continue reading)

Ethan Jucovy | 1 Feb 18:10
Picon

[Trac] ANN: MultiRepoSearchPlugin, NewTicketLikeThisPlugin

Hi,


I've released two new Trac plugins to Trac Hacks, PyPI and Github.

MultiRepoSearchPlugin (http://trac-hacks.org/wiki/MultiRepoSearchPlugin - https://github.com/boldprogressives/trac-MultiRepoSearchPlugin) allows you to perform full-text searches on your repositories' source code from within Trac.  It is based heavily on athomas/rjollos's RepoSearchPlugin but with enough significant differences that a new plugin seemed worthwhile.  Those differences are:

1) It is designed to support Trac 0.12+, against multiple repositories and different repository types
2) It consumes a pluggable search backend, so you can provide an alternate searching implementation
3) The default searching implementation "caches" the latest versions of all source code contents in new tables within the Trac database, which seems to be faster than the RepoSearchPlugin's approach, and should be much easier to maintain

So far I have only tested it on a multi-repo Git-only setup against Trac trunk.  I'll try to test it against other permutations and version-control backends in the coming weeks.  Bug reports, feature requests and patches (or confirmations that it works out of the box :) are welcome.

NewTicketLikeThisPlugin (http://trac-hacks.org/wiki/NewTicketLikeThisPlugin - https://github.com/boldprogressives/trac-NewTicketLikeThisPlugin) is a small plugin that implements pluggable "cloning" functionality.  It is also based on an existing plugin -- the tracopt.ticket.clone.ticketclonebutton extension that ships with recent versions of the Trac core -- but provides a pluggable system for implementing cloning policies, which determine how to derive a new ticket from the old ticket's values.  This could be used to implement variable policies per ticket type and so on.

-Ethan

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
SunTracker | 1 Feb 20:15
Picon
Favicon

[Trac] Re: Trac menu entries disappeared

OK, I'll give the "trac-admin deploy" a try. I didn't know it
generates also a wsgi file.

On 30 Jan., 14:29, Matthew Caron <Matt.Ca...@...> wrote:
> Why can't you just post proper links?
I am using the web interface to post. And everytime I try to paste the
link here, the web interface says "message cannot be posted". I assume
it scans the message for "unwanted" links...

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Marjory L. Mackes | 1 Feb 20:25
Favicon

[Trac]Trac Ticket Mover Plugin

I have a handful of open tickets (about 35) with history, and attachments that I would like to move from 
one instance of trac to another.

Both instances on Linux server
Trac 0.12.1
MySQL 5
Subversion Repository (plan to just bring over the latest baseline and not the history)

I was looking at the TicketMoverPlugin, but see this only went up to 0.11, so was wondering if there
was another plugin or would this work for 0.12 instance

or if there was a procedure I could use.  I didn't think trying to do the CSV export/import would bring over all
the history correctly and the attachments.

I will be leaving the original tickets in the instance of trac they are currently in for reference, but would
like these 35 tickets to now live in the newer Agilo instance.  

I am not versed in MySQL and currently our DBAs are all tied up and haven't had the time to look at this.

Thanks!
Margie

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

NBW | 1 Feb 21:08
Picon

[Trac] unsub

unsubscribe

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Jon Drukman | 2 Feb 20:10
Picon
Gravatar

[Trac] format not defined

I am trying to customize my email ticket template as documented at

http://trac.edgewall.org/wiki/TracNotification

In particular, I copied the paragraph that replaces the ascii table of properties with the one-line-per-property format for HTML mail readers.  However, after saving and restarting trac, I now get this error whenever I try to update a ticket:

Warning: The change has been saved, but an error occurred while sending notifications: "format" not defined

It is complaining about this line:

${'\n'.join('%s\t%s' % (format(p[0]+':', ' <12'), p[1]) for p in pv if p[0] in sel)}

I copied it straight out of the wiki and I don't know squat about Python so I'm not sure how to fix it.  Help please!
-jsd-

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/6AqVAmZ3-TkJ.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Mikael Relbe | 2 Feb 20:41
Picon
Favicon
Gravatar

Re: [Trac] format not defined

I’m the one who wrote those lines on the wiki page

http://trac.edgewall.org/wiki/TracNotification#Customizinge-mailcontentforMSOutlook

 

“format” is an built-in function in Python... weird.

What versions of Python, Trac and Genshi are you using?

Can you provide an error log with more details?

 

/Mikael

 

 

Från: trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:trac-users <at> googlegroups.com] För Jon Drukman
Skickat: den 2 februari 2012 20:11
Till: trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Ämne: [Trac] format not defined

 

I am trying to customize my email ticket template as documented at

 

In particular, I copied the paragraph that replaces the ascii table of properties with the one-line-per-property format for HTML mail readers.  However, after saving and restarting trac, I now get this error whenever I try to update a ticket:

 

Warning: The change has been saved, but an error occurred while sending notifications: "format" not defined

 

It is complaining about this line:

 

${'\n'.join('%s\t%s' % (format(p[0]+':', ' <12'), p[1]) for p in pv if p[0] in sel)}

 

I copied it straight out of the wiki and I don't know squat about Python so I'm not sure how to fix it.  Help please!

-jsd-

 

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/6AqVAmZ3-TkJ.
To post to this group, send email to trac-users <at> googlegroups.com.
To unsubscribe from this group, send email to
trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Jon Drukman | 2 Feb 23:13
Picon
Gravatar

Re: [Trac] format not defined

Python 2.4.3

Trac 0.12
I don't know how to find out the Genshi version - if you tell me, I will look it up.

Here's the log file:

2012-02-02 14:11:56,089 Trac[main] DEBUG: Dispatching <Request "POST '/ticket/16090'">
2012-02-02 14:11:56,092 Trac[api] INFO: Synchronized '' repository in 0.00 seconds
2012-02-02 14:11:56,093 Trac[session] DEBUG: Retrieving session for ID 'jsd'
2012-02-02 14:11:56,158 Trac[web_ui] ERROR: Failure sending notification on change to ticket #16090: UndefinedError: "format" not defined
2012-02-02 14:11:56,158 Trac[chrome] DEBUG: Prepare chrome data for request
2012-02-02 14:11:56,162 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow

On Thursday, February 2, 2012 11:41:56 AM UTC-8, Mikael Relbe wrote:

I’m the one who wrote those lines on the wiki page

http://trac.edgewall.org/wiki/TracNotification#Customizinge-mailcontentforMSOutlook

 

“format” is an built-in function in Python... weird.

What versions of Python, Trac and Genshi are you using?

Can you provide an error log with more details?

 

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/TI01fvDjGGgJ.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Gmane