[Trac] Re: Trac 1.0.1 ticket templates not found

2013-11-11 Thread Sam
No ideas at all? I really could use some help on this!

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Trac] Trac 1.0.1 ticket templates not found

2013-11-04 Thread Sam
I did a new/clean install of Trac 1.0.1 on FreeBSD 9.1. The install was 
from the FreeBSD ports and I followed the setup instructions from the Trac 
website. Everything is working fine except for anything to do with tickets. 
I get this error when I click on View Tickets and similar errors when I 
try to view anything to do with the tickets:

Oops…

 Trac detected an internal error:

 TemplateNotFound: Template report_list.html not found

 This is probably a local installation issue.


 Found a bug in Trac?


 If you think this should work and you can reproduce the problem, you 
 should consider creating a bug report.


 Before you do that, though, please first try searching for similar 
 issues, as it is quite likely that this problem has been reported before. 
 For questions about installation and configuration of Trac or its plugins, 
 please try the mailing list instead of creating a ticket.


 Otherwise, please   a new bug report describing the problem and explain 
 how to reproduce it.


 Python Traceback


 Most recent call last:

 File build/bdist.freebsd-9-amd64/egg/trac/web/main.py, line 497, in 
 _dispatch_request

 File build/bdist.freebsd-9-amd64/egg/trac/web/main.py, line 233, in 
 dispatch

 File build/bdist.freebsd-9-amd64/egg/trac/web/chrome.py, line 975, in 
 render_template

 File build/bdist.freebsd-9-amd64/egg/trac/web/chrome.py, line 944, in 
 load_template

 File 
 /usr/local/lib/python2.7/site-packages/Genshi-0.7-py2.7-freebsd-9-amd64.egg/genshi/template/loader.py,
  
 line 246, in load



I noticed that the trac/ticket folder is missing from the 
PYTHON_EGG_CACHE so I enabled debugging in the Trac logs and found this 
which seems related:

2013-11-04 20:07:22,192 Trac[env] INFO:  
 environment startup [Trac 1.0.1] 

 2013-11-04 20:07:22,212 Trac[loader] DEBUG: Loading trac.about from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,214 Trac[loader] DEBUG: Loading trac.admin.console 
 from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,226 Trac[loader] DEBUG: Loading trac.admin.web_ui from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,229 Trac[loader] DEBUG: Loading trac.attachment from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,229 Trac[loader] DEBUG: Loading trac.db.mysql from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,257 Trac[loader] DEBUG: Loading trac.db.postgres from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,259 Trac[loader] DEBUG: Loading trac.db.sqlite from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,267 Trac[loader] DEBUG: Loading trac.mimeview.patch 
 from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,268 Trac[loader] DEBUG: Loading trac.mimeview.pygments 
 from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,286 Trac[loader] DEBUG: Loading trac.mimeview.rst from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,386 Trac[loader] DEBUG: Loading trac.mimeview.txtl 
 from /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,397 Trac[loader] DEBUG: Skipping trac.mimeview.txtl = 
 trac.mimeview.txtl [textile]: (DistributionNotFound: textile=2.0 not 
 found)

 2013-11-04 20:07:22,398 Trac[loader] DEBUG: Loading trac.prefs from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,399 Trac[loader] DEBUG: Loading trac.search from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,400 Trac[loader] DEBUG: Loading trac.ticket.admin from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,401 Trac[loader] DEBUG: Loading trac.ticket.batch from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,407 Trac[loader] ERROR: Skipping trac.ticket.batch = 
 trac.ticket.batch: 

 Traceback (most recent call last):

   File build/bdist.freebsd-9-amd64/egg/trac/loader.py, line 68, in 
 _load_eggs

 entry.load(require=True)

   File build/bdist.freebsd-9-amd64/egg/pkg_resources.py, line 2015, in 
 load

 entry = __import__(self.module_name, globals(),globals(), ['__name__'])

   File build/bdist.freebsd-9-amd64/egg/trac/ticket/batch.py, line 25, in 
 module

   File 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg/trac/ticket/notification.py,
  
 line 249

 self.ambiwidth)

^

 SyntaxError: invalid syntax (notification.py, line 249)

 2013-11-04 20:07:22,407 Trac[loader] DEBUG: Loading trac.ticket.query from 
 /usr/local/lib/python2.7/site-packages/Trac-1.0.1-py2.7.egg

 2013-11-04 20:07:22,410 Trac[loader] DEBUG: Loading trac.ticket.report 
 from 

[Trac] Description of how trac sub paths work in general - is it a cascade?

2012-11-16 Thread Sam Pinkus
Hi,

I cant figure out how sub paths that Trac interprets are supposed to
work. The particular problem Im trying to solve is this; I am I supposed
to be able to override shared /chrome/ resources on a per project basis
in a multi project setup? The general question is can you override multi
project resources with project specific ones in *general* (that is what
I meant with cascade). Following is a description of setup and what Im
trying to do more precisely:

The trac web root is /foobar.com/trac//.
/TRAC_ENV_PARENT_DIR=/var/trac/projects/, so all projects are listed at
/foobar.com/trac/. I deployed to /var/trac/, so /var/trac/htdocs
contains the static resources that trac will serve. Individual projects
are kept under /var/trac/projects/. Setup looks like this in the file
system (only relevant bits shown, only// project name /p0 /expanded):

/var/trac/
??? cgi-bin
??? conf
??? htdocs
??? common
??? site
??? plugins
??? projects
??? p0
??? htdocs
??? common
??? site
??? plugins
??? templates

??? p1
??? p2
??? templates

Each project has its own htdocs/ directory (thats how trac sets it up).
So I assumed I could selectively override files in the system wide
/var/trac/htdocs/{common,site} dirs with files in say
/var/trac/projects/p0/htdocs/{common,site}. I assumed it would be a 
general ~cascade semantics and /foobar.com/trac/chrome/common/blah/.txt
would first check project, then system wide location for this resource.
But its not working. Am I wrong about how this works?

I note resolving /site.html/ works in this cascading fashion so it would
be consistent with how templates/ resources are resolved. The plugins/,
and conf/ dirs work this way as well (sort of, although they are not web
accessible resources). But I also note that the installation docs
suggest to setup aliases to these static resources without mentioning
that would break things if things work how I assumed. Arggh Confusing...
Help very much appreciated.

Thanks,

Sam.

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] post-commit-hooks and plugins

2012-10-03 Thread Sam Halliday
Hi all,

The new post-commit-hooks system for SVN in 1.0 (and possibly 0.12) looks a 
lot cleaner than before, with the actual script itself being very sparse 
and all logic in the trac side of things.

However, I had a post-commit-hook which parsed numbers in brackets and used 
them for an hours field so I could do time tracking from commit logs.

How would I (or bobbysmith007, author of timing and estimation plugin) go 
about implementing this functionality?

 http://trac.edgewall.org/wiki/CommitTicketUpdater
 https://trac-hacks.org/ticket/10420

Regards, Sam

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



[Trac] Trac dev and post commit hooks

2012-09-01 Thread Sam Halliday
Hi all,

I upgraded from 0.11 to 1.0 (dev) and I noticed that the post-commit hook 
for SVN changed quite a bit. I've upgraded my repositories and commits are 
communicating with Trac ok.

However, the old script I was using was able to close tickets if I did 
things like fixes #34.

How can I get the fixes #34 behaviour back again?

Regards, Sam

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



[Trac] Re: Trac dev and post commit hooks

2012-09-01 Thread Sam Halliday

Thanks RjOllos, I had

  tracopt.ticket.commit_updater.committicketupdater = enabled

so maybe that missed the functionality (contrary to the admin plugin docs).

Will respond later when I use this to let you know if it doesn't work.


On Saturday, 1 September 2012 19:14:30 UTC+1, RjOllos wrote:


 On Saturday, September 1, 2012 4:32:49 AM UTC-7, Sam Halliday wrote:

 Hi all,

 I upgraded from 0.11 to 1.0 (dev) and I noticed that the post-commit hook 
 for SVN changed quite a bit. I've upgraded my repositories and commits are 
 communicating with Trac ok.

 However, the old script I was using was able to close tickets if I did 
 things like fixes #34.

 How can I get the fixes #34 behaviour back again?

 Regards, Sam


 Sam, take a look at 
 http://trac.edgewall.org/wiki/TracRepositoryAdmin#Migration
 You'll need to enable: tracopt.ticket.commit_updater.* 


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



[Trac] Why does trac deploy require an existing project.

2012-08-27 Thread sam
Hi All,

I found the documentation in the deploy for multiple projects 
(http://trac.edgewall.org/wiki/TracInstall#DeployingTrac) a bit confusing: 

trac-admin deploy requires an existing env to work. This suggests that the 
deploy is somehow w.r.t. that env. Yet the way to deploy trac for multiple 
envs is(/seems to be) to do one of these deploys w.r.t. to a given env, 
then tweak the resulting trac.(f,s)cgi script correct?

What is being got from that particular env if anything? Is this just a 
limitation/bug of the command line parser?

Thanks.

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



[Trac] How to link to htdocs in deployment, not in env or global.

2012-08-27 Thread sam
Hi,

Ive got a an header image that I want to set on all trac projects that 
share a global config. The header is set via the global config's 
[header_logo] section. The docs say site/ refers to an env, common/ the 
trac installation. I need the images shared but I dont want to put them in 
the trac installation directory. When I went through the deploy process 
it created a directory called htdocs with site/ and common/ subdirs. Surely 
I can chuck them in here somewhere and refer to them with some path like 
in-between-site-and-common/?

Thanks in advance,

Sam.  

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



Re: [Trac] How to link to htdocs in deployment, not in env or global.

2012-08-27 Thread Sam Pinkus

On 26/08/12 21:06, sam wrote:

Hi,

Ive got a an header image that I want to set on all trac projects that 
share a global config. The header is set via the global config's 
[header_logo] section. The docs say site/ refers to an env, common/ 
the trac installation. I need the images shared but I dont want to put 
them in the trac installation directory. When I went through the 
deploy process it created a directory called htdocs with site/ and 
common/ subdirs. Surely I can chuck them in here somewhere and refer 
to them with some path like in-between-site-and-common/?


Yeah you can. Define a global/shared config then use the URIs 
/trac/chrome/common /trac/chrome/site to ref these areas, given trac is 
handling the /trac/ path. Attention to the notes in 
http://trac.edgewall.org/wiki/TracInstall#DeployingTrac on settingn up 
aliases to these directories which you should do


Cheers,

--
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] fine grained permissions and tags/fields

2012-08-19 Thread Sam Halliday
Hi all,

I've had a read of

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

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

and I'm still not sure how to implement a policy that I want to use.

I'd like to set up permissions so that named users/groups can have access 
to wiki pages (which have a tag, using TagsPlugin, of a particular value) 
and tickets (which have a field of a particular value - which might be a 
custom field).

For example: user joe.blogs has access to pages (and their attachments) 
with tag joe and tickets (and their attachments) which contain the 
keyword joe or are filed against a component called Joe's Component. 
He's also allowed to look in the Joe's Repository repository (direct svn 
access is controlled elsewhere).

Is this possible? Has anyone done something like this in the past?

Regards, Sam

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



[Trac] Some UI Tweaks

2012-08-18 Thread Sam Halliday
Hi all,

I've been playing around with site.html and I've implemented a few cool 
tweaks that make my TRAC experience more personalised.

However, there are a couple of changes I'd like to make and I cannot figure 
out how to make them.

Could you please advise how to:

1. reduce the width of the mainnav so that it is only as wide as the menu 
entries within it? (This is a failure of my CSS skillz)

2. remove the ctxtnav, but only for wiki pages (but keeping the 
action=diff ctxtnav,  because it is pretty cool)

3. add an action=history link to the bottom of all wiki pages, right 
beside the edit button.

4. hide all buttons at the bottom of a wiki page (except edit and 
history), and show them instead when action=edit. I want to keep the 
reading experience as clean as possible and I feel attach file, 
rename, delete version and delete page are all edit commands.

(Actually, if someone can help me with point 3 then point 4 will involve 
doing the same thing when action=edit but with a few extra parameters 
added into the calls. I'd also need to know how to detect when 
action=edit.)

Thanks!

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



Re: Installing from t.h.o mirror @ bitbucket WAS: [Trac] Re: t-h.o down, but community not so much

2012-08-18 Thread Sam Halliday
another solution: why not do an `hg up` from the t-h.o snapshot and host it 
on some static webserver? That way all you should need to do is point your 
installer scripts at that location.

On Thursday, 16 August 2012 18:30:19 UTC+1, olemis wrote:

 Hi ! 

 The whole story ... 

 We have an issue now that t.h.o is down . The last few days Apache(TM) 
 Bloodhound 0.1.0-rc1 was released by the ASF . The fact is that it 
 contains an installer script . One of the steps consists of 
 pip-installing some plugins from (... guess what ...) t.h.o. svn repos 
 . Rules specified in requirements files [1]_ [2]_ . 

 On 8/14/12, Steffen Hoffmann hof...@web.de javascript: wrote: 
  -BEGIN PGP SIGNED MESSAGE- 
  Hash: SHA1 
  
  Am 14.08.2012 21:10, schrieb Steffen Hoffmann: 
  Hello, 
  
  I call for your response, if there is another repository clone out 
 there 
  with a revision higher than my own - 11924. 
  
 [...] 
  
  We'll want to serve all of us as good as possible with such an 
  intermediate solution, at least until t-h.o is restored. 
  
 [...] 
  
  Until someone else steps up with an even better plan, there it is for a 
  start: 
  
   https://bitbucket.org/hasienda/t-h.o_shadow 
  

 ... so I'm wondering , is it possible to change requirements rules so 
 that pip will download plugins from t-h.o_shadow hg repository ? 

 I'm asking this in spite of providing a temporary solution in order to 
 work around existing issue [3]_ hoping that Bloodhound users will be 
 able to use installer script in the meantime , even with some 
 modifications . We will provide new requirements file if this is 
 possible , of course ;) 

 Thanks in advance ! 

 .. [1] requirements-dev.txt 
 (
 http://svn.apache.org/viewvc/incubator/bloodhound/trunk/installer/requirements-dev.txt?revision=1371732view=co)
  


 .. [2] requirements.txt 
 (
 http://svn.apache.org/viewvc/incubator/bloodhound/trunk/installer/requirements.txt?revision=1371732view=co)
  


 .. [3] Install fails when trac-hacks is down 
 (https://issues.apache.org/bloodhound/ticket/161) 

 -- 
 Regards, 

 Olemis. 

 Blog ES: http://simelo-es.blogspot.com/ 
 Blog EN: http://simelo-en.blogspot.com/ 

 Featured article: 


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



[Trac] MasterTicket and SubTicket plugins

2012-08-18 Thread Sam Halliday
Sorry, this is a bit off-topic as it is about plugins.

I have seen that both MasterTicket and SubTicket plugins are trying to 
accomplish the same thing.

MasterTicket provides a graphviz view of ticket dependencies and I can't 
seem to get SubTickets to work with the latest TRAC dev.

But what functions do these plugins really provide? What are they doing 
that I can't already achieve with the following in my [custom-tickets] ?

blockedby = text
blockedby.label = Dependencies
blockedby.order = 5
blocking = text
blocking.label = Parents
blocking.order = 6


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



[Trac] Re: Some UI Tweaks

2012-08-18 Thread Sam Halliday
On Saturday, 18 August 2012 14:18:23 UTC+1, Sam Halliday wrote:

 1. reduce the width of the mainnav so that it is only as wide as the 
 menu entries within it? (This is a failure of my CSS skillz) 


I'm getting somewhere with this

#mainnav {
max-width: 390px;
margin-left: auto;
}

but having to set the width is a bit arbitrary - anyone know what the best 
way to do it would be so that there is no need to put in an explicit pixel 
width? 

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



[Trac] trac.edgewall.org theme

2012-08-16 Thread Sam Halliday
Hi all,

I followed the instructions at 
http://trac.edgewall.org/wiki/CookBook/TracLayoutRecipe to set up the 
trac.edgewall.org theme, but my TRAC install is missing a lot of the lovely 
shading that is on the edgewall site (e.g. around the body of a ticket). 
It's definitely working, because I'm getting all the edgewall.org links and 
the image in the top right of my trac 0.12.2 install.

According to my Safari Resource Inspector, there are no failed image or 
stylesheets, so gfx paths are not the problem.

Their CSS is slightly updated, so I grabbed it directly and used it, but no 
difference.

Can anybody explain how I can make my TRAC install look as great as 
trac.edgewall.org? I basically just want the nice shading and rounded 
borders, with maybe a little bit of the dark gray background at the edges.

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



[Trac] Re: trac.edgewall.org theme

2012-08-16 Thread Sam Halliday
Nevermind, it turns out that edg.edgewall.org is using a dev release and 
that is the theme! :-)

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



[Trac] Re: Tracking Changes to trac.ini

2012-02-06 Thread Sam
Hi,
I couldn't find my script but this is basically a trivial task to do.
Just write yourself a python script (or any other script) that checks the 
modified time of the file and then starts a loop where it checks if 
modified time has changed, if yes, update lastChange variable and send an 
email to whoever is interested (or log it, or whatever)

If no change occurred, make a thread sleep of 1 second.

Sam

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



[Trac] Re: Drop-down for owner and reporter in Create New Ticket

2012-02-06 Thread Sam
Hi,
here is a link that explains how to create a drop down for owner
http://trac.edgewall.org/wiki/TracTickets#Assign-toasDrop-DownList
Probably this helps.

Samuel

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



[Trac] How would you update this SQL query for reports?

2011-09-05 Thread sam
Hi,

We have SQL query for reports:
===


SELECT p.value AS __color__,
   owner AS __group__,
   id AS ticket, severity,priority, status, summary, component, milestone, 
t.type AS type, time AS created,
   changetime AS _changetime, description AS _description,
   reporter AS _reporter
  FROM ticket t
  LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
  WHERE status = 'assigned' OR status = 'new'
  ORDER BY owner, p.value, t.type, time
===

We need to add one more column to this : Due Date

How would you modify the query to support this?

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



[Trac] Plugin for additional Attributes for Tickets?

2011-05-17 Thread Sam
Hello,
I stumbled upon trac on the symfony-project here:
http://trac.symfony-project.org/ticket/9488
Where I noticed that they have also a Qualification (reviewed,
unreviewed) Attribute for the tickets.

Is there some plugin for that? Basically I have a couple of attributes
I would like to add to a ticket but I am not into writing plugins by
myself and would like to know if there is already some existing
plugins for that.

Thanks
Sam

-- 
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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Re: Plugin for additional Attributes for Tickets?

2011-05-17 Thread Sam
Hello,
thanks for the reply!
I couldn't spot something in the web admin area so I did not expect it
in the ini file.

Too bad there is no web interface for such a neat feature.

Thank you anyway!
Sam

On May 17, 2:24 pm, Ethan Jucovy ethan.juc...@gmail.com wrote:
 On Tue, May 17, 2011 at 7:11 AM, Sam endstad...@googlemail.com wrote:
  Hello,
  I stumbled upon trac on the symfony-project here:
 http://trac.symfony-project.org/ticket/9488
  Where I noticed that they have also a Qualification (reviewed,
  unreviewed) Attribute for the tickets.

  Is there some plugin for that? Basically I have a couple of attributes
  I would like to add to a ticket but I am not into writing plugins by
  myself and would like to know if there is already some existing
  plugins for that.

 This capability is built-in -- no plugin needed.  
 Seehttp://trac.edgewall.org/wiki/TracTicketsCustomFieldsfor details.

 -Ethan







  Thanks
  Sam

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



[Trac] Apache, SuExec, trac and svn post commit issues

2010-12-23 Thread Sam
Hello,
we have a vserver that runs an apache as www-data user. Our current
domain is configured via plesk to be run as a webuser 'domain-user'.
It seems to be necessary that the domain-user is not equal to www-data
user (plesk?).

Now my issue. The trac environment is working fine but it is owned by
the SuExec User 'domain-user', which is ok, I can read and write to
trac.

My issue is subversion. The mod_dav.svn requires the svn repository to
be the apache user and not the SuExec user (as far as I know).
So trac is 'domain-user' and
svn-repo is 'www-data' user.

I can commit to the svn, trac can read from svn all is fine as long as
I don't try to create a post-commit hook for trac-admin changeset
added.

Since my repo is called as 'www-data' user it cannot execute 'trac-
admin /mytracrepo changeset added /mysvnrepo revision' because apache
calls the post-commit hook as 'www-data', which then calls 'trac-
admin'.  But the trac repo must be owned by 'domain-user' since
otherwise it is not accessible via web.

Now I have no idea what to do, apache user and domain user are managed
via plesk, so fondling in the config files will make me quite unhappy.

Any hints appreciated

Thanks
Sam

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] How to define defaults for all instances

2010-06-28 Thread Sam
Hello,

we are going to set quite a few trac environments up and I am
wondering if it is possible to define some standards in advance, like
a common header or similar this.
Is there some trac.ini template that is used for all new instances
that can be modified?

Thanks
Sam

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Trac upgrade to .11

2009-06-01 Thread Sam Ayoubpour
Good Morning Everyone,

 

We're in the initial process of upgrading Trac from 10.4 to .11.

We wanted to just upgrade our testing repository, test the new version
and then upgrade the rest of the repositories.

Is there a way of doing...? 

 

Thanks in advance,

Sam.


--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] How to limit tickets reading (view/report) to a specific user ?

2009-03-02 Thread Sam

Dear All,


Brand new user of Trac (with admin rights), I would like to know how
to limit
the access to the tickets for a dedicated user ?

Actually, let's say I've got 2 different users creating their ticket.
But I
don't want them to be able to read the tickets created by the other
one.
I did not see this possibility in the Granting permissions.

Is it possible ? Could it require to use a plugin ?

Thank you for your help.
Best Regards

Sam HEDOUIN
(Trac v0.11.2.1)

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: How to limit tickets reading (view/report) to a specific user ?

2009-03-02 Thread Sam

Thank you Christian.

I will check that plugin.


On Mar 2, 11:12 pm, Christian Unger christian.un...@mac.com wrote:
 http://trac-hacks.org/wiki/PrivateTicketsPlugin

 cu
 christian unger

 cu
 christian unger

 On 02.03.2009, at 18:21, Sam wrote:





  Dear All,

  Brand new user of Trac (with admin rights), I would like to know how
  to limit
  the access to the tickets for a dedicated user ?

  Actually, let's say I've got 2 different users creating their ticket.
  But I
  don't want them to be able to read the tickets created by the other
  one.
  I did not see this possibility in the Granting permissions.

  Is it possible ? Could it require to use a plugin ?

  Thank you for your help.
  Best Regards

  Sam HEDOUIN
  (Trac v0.11.2.1)

  


  smime.p7s
 3KViewDownload- 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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Custom report with milestone description

2009-01-22 Thread Sam T

Hi,

I am trying to create a custom report that displays active tickets
grouped by milestone, but also displays the description of each
milestone underneath the milestone's name. The best I can get is the
milestone description being repeated in each ticket row, but I want it
just once, and outside of the table of tickets. The close-but-not-
quite query I have looks like this:


SELECT  p.value AS __color__,
   milestone||' Release' AS __group__,
   m.description AS _description_,
   id AS ticket, summary, component, version, t.type AS type,
   owner, status,
   time AS created,
   changetime AS _changetime,
   reporter AS _reporter
  FROM ticket t, milestone m
  LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
  WHERE status  'closed' and t.milestone = m.name
  ORDER BY (milestone IS NULL),milestone, p.value, t.type, time


I have also tried including the description in the __group__ line, but
that includes it in the heading and HTML/wiki markup appear to be
stripped out/ignored.

So is this possible? Any suggestions much appreciated.

Cheers,
Sam.

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Reply to Trac emails....

2008-07-19 Thread Sam Ayoubpour
Hello Gang,
 
Team Track has the following capability and I was wondering if Trac also
has it:
Is there anyway to set up Trac so when one replies to a Trac email
notification, the reply is captured in the Trac ticket...?
 
Thanks in advance,
Sam.

--~--~-~--~~~---~--~~
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] Remove users from drop down list

2008-02-14 Thread Sam Ayoubpour
Hello Everyone,
 
My question is: How does one remove old users from the drop down
list...?
 
Thanks,
Sam.

--~--~-~--~~~---~--~~
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: Remove users from drop down list

2008-02-14 Thread Sam Ayoubpour
Thanks Erik, I've seen that page and I'm able to add users but I'm
trying to remove users from the drop down list, which I haven't been
able to find any documentation on...
 
Sam.



From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Erik Andersson
Sent: Thursday, February 14, 2008 1:43 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: Remove users from drop down list


Hi

Maybe http://trac.edgewall.org/wiki/TracTickets#Assign-toasDrop-DownList
will help you out.

Cheers / Erik


2008/2/14, Sam Ayoubpour [EMAIL PROTECTED]: 

Hello Everyone,
 
My question is: How does one remove old users from the drop down
list...?
 
Thanks,
Sam.








--~--~-~--~~~---~--~~
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: Task management

2007-09-25 Thread Sam Hahn

Let me echo a request that appears to have been declined on several
occasions in the past:

I'd like to track:
 * Original estimate (in hours, or days) for a task, 
 * Effort expended to date (hours / days)
 * Cost to complete (hours / days)

Reports can then be produced to track CTC per person (for the iteration
/ sprint). We can also use this for rough planning to size up a sprint.
We can load balance if necessary. 

Please consider this. I (and evidently others) consider this very
useful.

If there's really a plugin that does this, and I've not located it
(google doesn't reveal such), please direct me to it.

Regardless of your response to the above, thanks for a nice application
that is already very useful. - Sam Hahn


-Original Message-
From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Jennifer A. Drummond
Sent: Tuesday, September 25, 2007 8:28 AM
To: trac-users@googlegroups.com
Subject: [Trac] Re: Task management


On Tue, Sep 25, 2007 at 12:06:57PM -0300, Trac wrote:
 
 Hello
 
 We want to keep track of tasks that are assigned to each user.
 so they can put their daily tasks on trac.
 is there any plugin for task management.
 
 Thanks

I would say the whole system is great for task management. What specific

functions do you need that aren't handled by custom reports? Maybe the 
SimpleTicket plugin, so the users don't have to deal with all the fields

when they're just jotting down a to-do item?

=-=- Jenn Drummond // [EMAIL PROTECTED]
  Project Developer, Connexions Project (cnx.org)
  Rice University




--~--~-~--~~~---~--~~
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: Performance problems with large numbers of trac projects

2007-08-19 Thread Sam Minnee

Yes - we used this technique: 
http://trac.edgewall.org/wiki/TracMultipleProjects/MultipleEnvironments
with a MySQL database.

On Aug 19, 3:49 pm, Alec Thomas [EMAIL PROTECTED] wrote:

 Are you using a single Trac to manage multiple projects, as 
 perhttp://trac.edgewall.org/wiki/TracMultipleProjects?In general this
 should be more efficient, as Trac can pool database connections and
 share more memory.


--~--~-~--~~~---~--~~
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] Performance problems with large numbers of trac projects

2007-08-18 Thread Sam Minnee

Hi everyone,

We run a trac set-up where we have around 50 different projects set up
using separate environments.  We've used a modified version of TraM to
provide cross-project reporting.

While it's functional, it's incredibly slow.  This might not be all
that surprising, but it's a big problem for us.

Has anyone else had success in setting up trac with a large number of
separate projects?  Does anyone have suggestions for how we might
improve performance?


--~--~-~--~~~---~--~~
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] post-commit-hook email notification problem

2007-05-15 Thread Sam Williams

I'm having a problem with not receiving email notifications from
ticket updates made using the post-commit-hook. I'm using trac 10.3
and subversion 1.4.3.

The tickets are getting the proper updates (i.e. fixes #123 will close
the ticket), but no email notifications. Changes made thru the trac
web interface do generate the proper email messages.

Any ideas what I could be missing? From what I've read, it appears
that the emails should be getting generated from the post-commit-hook
updates.

Thanks,

Sam

--~--~-~--~~~---~--~~
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: post-commit-hook email notification problem

2007-05-15 Thread Sam


 Notifications are triggered from the hook, but the notification
 processing is done within Trac (same code as with the web interface).
 Do you get any details about the notification when you enable Trac log
 (DEBUG level) ?

 Cheers,
 Manu

I have log_level = DEBUG set

I get the following when doing a commit:

2007-05-15 14:23:22,312 Trac[cache] INFO: Syncing with repository (483
to 484)
2007-05-15 14:23:22,320 Trac[cache] DEBUG: Caching node change in
[484]: (u'Testing/test.txt', 'file', 'edit', u'Testing/test.txt', 482)

The trac ticket is closed, but no email notification.

Does this point to anything in particular not setup correctly?

Thanks,

Sam


--~--~-~--~~~---~--~~
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: post-commit-hook email notification problem

2007-05-15 Thread Sam



 Notifications are triggered from the hook, but the notification
 processing is done within Trac (same code as with the web interface).
 Do you get any details about the notification when you enable Trac log
 (DEBUG level) ?

 Cheers,
 Manu

I have log_level = DEBUG set

I get the following when doing a commit:

2007-05-15 14:23:22,312 Trac[cache] INFO: Syncing with repository (483
to 484)
2007-05-15 14:23:22,320 Trac[cache] DEBUG: Caching node change in
[484]: (u'Testing/test.txt', 'file', 'edit', u'Testing/test.txt', 482)

The trac ticket is closed, but no email notification.

Does this point to anything in particular not setup correctly?

Thanks,

Sam


--~--~-~--~~~---~--~~
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] how to set email notification

2006-12-18 Thread sam wong

help.

i am setuping my system :

SVN1.4+TRAC0.10.2+WINDOWS2003

I want to use email notification function.

how to do ?


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