[Trac] Re: Trac 0.11 tries to diff PDF

2008-06-25 Thread HOWELL G.S.J.
> -Original Message-

> From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On

> Behalf Of Jason Winnebeck

> Sent: 19 May 2008 19:43

> 

> I'm pretty sure that Trac 0.10 didn't do this,

 

I'm running Trac 0.10.4, I can confirm that this version also diff
PDF's.

 

> but after upgrading to

> branches/0.11-stable Trac 0.11dev-r7086, Trac is trying to diff PDFs,

> resulting in 100% server CPU use for about half a minute and
generating

> a massive page. While I realize that PDFs are mostly text, I'm not
sure

> why Trac is trying to interpret it, given its MIME type.

> 

> SVN properties on the file, as shown in Trac browser:

> 

> * Property svn:mime-type set to application/pdf

> * Property svn:needs-lock set to needs lock

> 

> My impression is that any mime-type in SVN that doesn't start with

> "text/" is a "binary" file.

 

That sounds sensible.

 

[...]

 

> changeset   max_diff_bytes1000

> max_diff_files 0

> 

> The max_diff_bytes is the default value. Maybe I could make it smaller

> but Trac shouldn't try to diff a PDF at all, should it?

 

I tried setting max_diff_bytes to 10.  At first I thought it had
worked.  I clicked on a changeset that included a modification to a PDF,
and no diff was shown.  I just tried it again, though, and my servers
CPU went 99.9% busy for about a minute, and then my workstation ground
to a halt as it attempted to render an enormous web page.

 

I did bring this up once before:

 

http://groups.google.com/group/trac-users/browse_frm/thread/f5925c2be7ec
fcaf/abd65c197ecd1a6a

 

There is a solution mentioned there, but it involves some hacking.  I
don't know Python at all, so it's not viable for me.

 

It would be nice if there was a simple solution (a diff_exclude_files
option or similar in trac.ini, perhaps) to this problem in the standard
distribution.

 

Regards

 

G.

 

 


--~--~-~--~~~---~--~~
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: Mylyn, dates, etc

2008-02-08 Thread HOWELL G.S.J.

Yeah, that's kind of how it looks.

Perhaps it might be an idea to propose a plug-in with very little 
functionality, aside from providing the required fields.  Call it 
MylynExtensions, or whatever.  Assuming that the Mylyn developers play ball, 
this would allow administrators to get additional functionality from Mylyn's 
Trac connector by simply installing the plug-in.

Developers of other plug-ins, like TimingAndEstimation, etc., would be free to 
inherit from this plug-in, should they see fit, which would allow for some kind 
of standardisation over time, if desired.

I'm pretty knew to Trac, so I'm hoping that more experienced individuals and 
contributors might give me some feedback on whether this might be a reasonable 
proposal...?

Cheers

G.

> -Original Message-
> From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of rupert thurner
> 
> custom fields.
> 
> unfortunately there is multiple plugines defining the same fields with
> slightly different names and contents.
> On Feb 8, 2:36 pm, "HOWELL G.S.J." <[EMAIL PROTECTED]> wrote:
> > > -Original Message-
> > > Behalf Of rupert thurner
> > > Sent: 07 February 2008 19:40
> >
> > > we use "estimate" (person days here), "due date" and "completion
> > > rate" (drop down percentage). the due date does not get filled out
> > > very often as many tickets get the due date via the milestones due
> > > date.
> >
> > Have you gotten this functionality via a plug-in, or via custom fields?
> >
> > G.

--~--~-~--~~~---~--~~
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: Mylyn, dates, etc

2008-02-08 Thread HOWELL G.S.J.

> -Original Message-
> Behalf Of rupert thurner
> Sent: 07 February 2008 19:40
> 
> we use "estimate" (person days here), "due date" and "completion
> rate" (drop down percentage). the due date does not get filled out
> very often as many tickets get the due date via the milestones due
> date.

Have you gotten this functionality via a plug-in, or via custom fields?

G.


--~--~-~--~~~---~--~~
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] Mylyn, dates, etc

2008-02-07 Thread HOWELL G.S.J.

Hi.

This may be a newbie question.  I've had a hunt through the archive, and
didn't find anything directly relevant, so I hope I'm not re-asking an
old question.  Apologies in advance if I'm wrong, there.

I use Mylyn with Trac, and I would very much like to be able to share
schedule information.

At the moment, my personal planning information does not appear to be
shared, although I believe that other Mylyn connectors do provide this
functionality.

I guess that it would be possible to use some custom fields, but the
Mylyn developers want "to focus integration on the most popular (and
supported) Trac plug-ins".  I'm trying to find out which, if any,
plugins might be good candidates.

I believe the required fields would be:

* Scheduled-For date
* Due date
* Estimated-Hours

I had a (brief) look at:

* TimingAndEstimation plugin, which appears to include an
Estimated-Hours field.

* WikiTicketCalendarMacro, which appears to include a Due date field.

If anyone could chip in with any thoughts about this, I'd be grateful.

Regards

G.


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