W. Martin Borgert | 1 Oct 01:11 2009
Picon

[Trac-dev] Re: Is setuptools necessary in trac/env.py?


On 2009-09-30 15:49, Noah Kantrowitz wrote:
> The size difference when installed is 492kB. I think this is a new definition of the term "much smaller".

Well, only in terms of relation, which is around 1:5 :~)

Anyway, you're right: compared to Python and Trac and PostgreSQL
and Apache and Subversion and hundreds of Wiki pages and tickets
with huge attachments this is not at all significant.

It really doesn't matter much, but there was a bug report at
Debian about the issue, so take at least a look into it. I
wonder where the version information of setuptools is used or
displayed in Trac?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To post to this group, send email to trac-dev <at> googlegroups.com
To unsubscribe from this group, send email to trac-dev+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Peter Dulovits | 1 Oct 01:15 2009

[Trac-dev] Re: PermissionGroupProvider plugin problem


On Wed, 30 Sep 2009 22:49:48 +0200, Erik Bray <hyugaricdeau <at> gmail.com>  
wrote:

>
> On Wed, Sep 30, 2009 at 10:19 AM, pamtrac <peterd <at> celluloid-vfx.com>  
> wrote:
>>
>> Hello,
>>
>> at first, sorry if this post is offtopic here, since I'm not a trac
>> developer, but only try to develop a plugin for trac and I cant find a
>> better place.
>>
>>  I try to develop a plugin that enables trac to lookup system groups,
>> when trac tries to get groups of a trac user (to match them with trac
>> permission groups).
>> Unfortunately I'm not very involved in apache-python web development
>> within Trac.
>>
>> Still, I wrote a tiny plugin
>>
>> http://trac-hacks.org/browser/tracsysgroupsplugin/0.11/trunk/sysgroups/sysgroups.py
>>
>> #############code#######
>> import pwd, grp
>>
>>        from trac.core import *
>>        from trac.config import *
>>        from trac.perm import IPermissionGroupProvider
(Continue reading)

W. Martin Borgert | 1 Oct 01:25 2009
Picon

[Trac-dev] Re: Is setuptools necessary in trac/env.py?


On 2009-10-01 01:11, W. Martin Borgert wrote:
> It really doesn't matter much, but there was a bug report at
> Debian about the issue, so take at least a look into it.

Should be: "so I take at least a look into it", of course.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To post to this group, send email to trac-dev <at> googlegroups.com
To unsubscribe from this group, send email to trac-dev+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Felix Schwarz | 1 Oct 09:04 2009

[Trac-dev] Re: Is setuptools necessary in trac/env.py?

Am 30.09.2009 23:58, schrieb W. Martin Borgert:
> At least in Debian (and Ubuntu) python-pkg-resources is a
> separate package, that is much smaller than python-setuptools.

I think for most linux distributions it is not (Fedora, RHEL, Suse) only 
have python-setuptools. But if it helps finer-grained dependencies, I'm 
for it :-)

However you should be careful because I suspect some plugins still need 
the complete setuptools package but so far they rely on trac to pull it in.

fs

Attachment (smime.p7s): application/pkcs7-signature, 4505 bytes
Felix Schwarz | 1 Oct 09:05 2009

[Trac-dev] Re: Is setuptools necessary in trac/env.py?

Am 01.10.2009 01:11, schrieb W. Martin Borgert:
> It really doesn't matter much, but there was a bug report at
> Debian about the issue, so take at least a look into it. I
> wonder where the version information of setuptools is used or
> displayed in Trac?

Go to 'About trac' - there you find a list of components with their 
versions.

fs

Attachment (smime.p7s): application/pkcs7-signature, 4505 bytes
W. Martin Borgert | 1 Oct 10:37 2009
Picon

[Trac-dev] Re: Is setuptools necessary in trac/env.py?


On 2009-10-01 09:04, Felix Schwarz wrote:
> I think for most linux distributions it is not (Fedora, RHEL, Suse)
> only have python-setuptools. But if it helps finer-grained
> dependencies, I'm for it :-)

Probably it's not worth any effort. But many thanks for the
explanations!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To post to this group, send email to trac-dev <at> googlegroups.com
To unsubscribe from this group, send email to trac-dev+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Erik Bray | 1 Oct 16:34 2009
Picon

[Trac-dev] Re: PermissionGroupProvider plugin problem


On Wed, Sep 30, 2009 at 7:15 PM, Peter Dulovits
<peterd <at> celluloid-vfx.com> wrote:
>
> On Wed, 30 Sep 2009 22:49:48 +0200, Erik Bray <hyugaricdeau <at> gmail.com>
> wrote:
>
>>
>> On Wed, Sep 30, 2009 at 10:19 AM, pamtrac <peterd <at> celluloid-vfx.com>
>> wrote:
>>>
>>> Hello,
>>>
>>> at first, sorry if this post is offtopic here, since I'm not a trac
>>> developer, but only try to develop a plugin for trac and I cant find a
>>> better place.
>>>
>>>  I try to develop a plugin that enables trac to lookup system groups,
>>> when trac tries to get groups of a trac user (to match them with trac
>>> permission groups).
>>> Unfortunately I'm not very involved in apache-python web development
>>> within Trac.
>>>
>>> Still, I wrote a tiny plugin
>>>
>>> http://trac-hacks.org/browser/tracsysgroupsplugin/0.11/trunk/sysgroups/sysgroups.py
>>>
>>> #############code#######
>>> import pwd, grp
>>>
(Continue reading)

Peter Dulovits | 1 Oct 22:38 2009

[Trac-dev] Re: PermissionGroupProvider plugin problem


On Thu, 01 Oct 2009 16:34:22 +0200, Erik Bray <hyugaricdeau <at> gmail.com>  
wrote:

>
> On Wed, Sep 30, 2009 at 7:15 PM, Peter Dulovits
> <peterd <at> celluloid-vfx.com> wrote:
>>
>> On Wed, 30 Sep 2009 22:49:48 +0200, Erik Bray <hyugaricdeau <at> gmail.com>
>> wrote:
>>
>>>
>>> On Wed, Sep 30, 2009 at 10:19 AM, pamtrac <peterd <at> celluloid-vfx.com>
>>> wrote:
>>>>
>>>> Hello,
>>>>
>>>> at first, sorry if this post is offtopic here, since I'm not a trac
>>>> developer, but only try to develop a plugin for trac and I cant find a
>>>> better place.
>>>>
>>>>  I try to develop a plugin that enables trac to lookup system groups,
>>>> when trac tries to get groups of a trac user (to match them with trac
>>>> permission groups).
>>>> Unfortunately I'm not very involved in apache-python web development
>>>> within Trac.
>>>>
>>>> Still, I wrote a tiny plugin
>>>>
>>>> http://trac-hacks.org/browser/tracsysgroupsplugin/0.11/trunk/sysgroups/sysgroups.py
(Continue reading)

Omry Yadan | 2 Oct 23:10 2009
Picon

[Trac-dev] Re: wsgi + trac + rouge bots = apache down , round two


Hi Graham,

>> I am starting a second thread with the same name, but it's not exactly
>> the same case:
>> I have trac accessed via mod_wsgi, and pretty much every day - my apache
>> gets stuck and being automatically restarted by monit after a few minutes.
>>     
>
> How are you determining that Apache is stuck?
>   
It does not respond to a simple http request for an empty (static) file:
http://flux.firefang.net/empty
monit detects that, and restarts apache after a short while.

> What Apache MPM are you using and what configuration are you using for
> that MPM? Ie., what do you have for:
>   
I am using apache2-mpm-prefork
relevant configuration:
<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    MaxClients          200
    MaxRequestsPerChild   0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
(Continue reading)

Erik Bray | 2 Oct 19:54 2009
Picon

[Trac-dev] Re: PermissionGroupProvider plugin problem


On Thu, Oct 1, 2009 at 4:38 PM, Peter Dulovits <peterd <at> celluloid-vfx.com> wrote:
>
> On Thu, 01 Oct 2009 16:34:22 +0200, Erik Bray <hyugaricdeau <at> gmail.com>
> wrote:
>
>>
>> On Wed, Sep 30, 2009 at 7:15 PM, Peter Dulovits
>> <peterd <at> celluloid-vfx.com> wrote:
>>>
>>> On Wed, 30 Sep 2009 22:49:48 +0200, Erik Bray <hyugaricdeau <at> gmail.com>
>>> wrote:
>>>
>>>>
>>>> On Wed, Sep 30, 2009 at 10:19 AM, pamtrac <peterd <at> celluloid-vfx.com>
>>>> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> at first, sorry if this post is offtopic here, since I'm not a trac
>>>>> developer, but only try to develop a plugin for trac and I cant find a
>>>>> better place.
>>>>>
>>>>>  I try to develop a plugin that enables trac to lookup system groups,
>>>>> when trac tries to get groups of a trac user (to match them with trac
>>>>> permission groups).
>>>>> Unfortunately I'm not very involved in apache-python web development
>>>>> within Trac.
>>>>>
>>>>> Still, I wrote a tiny plugin
(Continue reading)


Gmane