[Trac] Re: New Job, new trac setup...recommendations

2010-05-14 Thread yoheeb
Thanks,

I'll give it a go with 0.12., subversion 1.6, python 2.6 and look at
the build server parts a little bit down the road.

-- 
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] Re: Couldn't find new TracAdmin features in docs. Missing ?

2010-05-11 Thread yoheeb
On May 6, 1:52 pm, Olemis Lang ole...@gmail.com wrote:
 BTW

 I wanted to know something about this . Let's suppose the plugin
 implementing this interface is installed under plugins folder (i.e.
 private install), so it's available for that particular Trac env.
snip
    - Should be added ?

  Yes, they should. The new interface was implemented quite long ago, at a
  time when I hadn't yet realized that I had to document such changes.
  Thanks for the reminder.

  -- Remy


Just a side note here, what does the dev team use/prefer for
documenting this sort of thing.  Seems like a perfect use for
Doxygen.  I am debating whether or not to establish a formal
documentation tool set here personally, and Doxygen keeps bubbling to
the surface, but I also need to generate end user manuals for products
(they are devices, not just software) as well as API dev docs, not
just source code documentation.  Didn't know if you guys used anything
other than discipline and change logs to manage all these changes.
There's gotta be a VI plugin for this :D  look out, dinosaur coming
through

-- 
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] New Job, new trac setup...recommendations

2010-05-10 Thread yoheeb
Hi all,

Started at a new job this week.  Looks like I will be setting up a new
trac environment and subversion server soon (just a guess).  I have
been out a while , and was looking for recommendations.

It will be in a windows environment (sorry).  I plan to go with
subversion 1.6.x if I can, and assuming an Apache setup.  Should I go
with 0.12?  I use a lot of plugins typically, and am not sure if they
will work, or if it matters.

Will most .011 plugins work with 0.12?  It will be a multi-repo
setup.  Once thing I found missing before was the ability to aggregate
info across projects, not sure if 0.12 would help with that.
Specifically at this place I want to be able to, over time, compare
time related information on tickets, across projects.  (average open
time, actual time vs. estimated time, and maybe use some other sorting
metrics, like complexity and business value.  We aren't true scrum/
agile(yet), but some of that data is relevant for project estimation
down the road.  I'll also be on the hook for some reasonable project
progress reporting (think gantt charts and ms project UGH, although
not in the typical retentively time consuming way)

Anyway, suggestions welcome.  Version of trac, version of subversion,
Apache setup(s) database backends, plugin recommendations (I like a
rather customize workflow to match a feature based dev model (feature
branch, sub tasks in the feature, code review when closing the
feature, etc.)

Also, any offline recommendations for automated build, unit testing
(will be C/C++ and some C# most likely) , and static analysis
reporting would be great.

I have a chance to get this right right out of the gate.  I am
really hoping someone has a out of the box set of solutions :)

Thanks.

btw, good to be back.

-- 
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] Re: Read an email from SMTP server by using python script.

2010-02-25 Thread yoheeb
On Feb 25, 7:26 am, prabhakar prabhakar2...@gmail.com wrote:
 I am interested to trigger a certain action upon receiving an email
 from specific address. In order to be able to do so I need to
 implement monitoring of my Inbox, checking every incoming mail /
 Recent incoming mail by using  python script.

Posting twice in the wrong group won't get you the answer faster,
fyi.  this group is for trac.

however, I will give you this bit of info to get you started:
you won't be able to read your email from smtp, that is for sending.
you'll probably want to use pop3

try this:
http://www.python.org/doc/2.5.2/lib/pop3-example.html
or
http://www.devshed.com/c/a/Python/Python-Email-Libraries-part-1-POP3/

you'll then need to parse the emails for whatever you are looking for,
and probably run a cron job.

personally, I would set up an email trigger on your inbox, and have it
fire off an xmlrpc script or something.

-- 
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] Re: Cannot get plugins to work

2010-02-18 Thread yoheeb
On Feb 18, 7:24 am, Hauke Fuhrmann h...@informatik.uni-kiel.de
wrote:
  Mothra wrote:
  I've been tearing my hair out trying to install a three simple plugins
  in Trac 0.11.6:

 I have the same problem. Build egg, installed via Admin page, but it
 does not appear to be installed. In the logs I get the entry

 ---
 2010-02-18 11:56:53,206 Trac[web_ui] INFO: Plugin
 TracDownloader-0.1-py2.6.egg installed to
 /home/info/tracbase/kieler/plugins/TracDownloader-0.1-py2.6.egg
 ---

 But that's the last entry for that plugin. I restarted the webserver a
 couple of times and get debug messages for all other plugins like

 ---
 2010-02-18 14:17:37,984 Trac[loader] DEBUG: Loading TracNav from
 /home/info/tracbase/kieler/plugins/TracNav-4.1-py2.5.egg
 ---

 For plugins that do not work, there's a Skipping note in the log,
 which is helpful, but for the one above there is no note at all. Just as
 trac does not notice it is there at all.
 I have this problem with at least two different plug-ins.

 Any idea?

 Cheers,
 Hauke

This may not apply to the OP, but Hauke, I noticed the following in
your post
TracDownloader-0.1-py2.6.egg installed doesn't work
/home/info/tracbase/kieler/plugins/TracNav-4.1-py2.5.egg does work

So, I what version of python is Trac running against, I would suppose
2.5 since that 2.5 egg works, but the 2.6 egg does not.

This may or may not be the OP porblem.  I am also going to assume the
OP restarted their server, which wasn't explicitly stated, however the
python version mismatch may still apply.

Just a guess.

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



Re: [Trac]

2010-02-04 Thread yoheeb
On Feb 4, 10:01 am, Olemis Lang ole...@gmail.com wrote:
 On Thu, Feb 4, 2010 at 10:59 AM, Nicolai Scheer



 newsgro...@planetavent.de wrote:
  Hi!

  Recently, I've been searching for a way to change Trac's timestamp
  settings when viewing a ticket but have not been successful so far.

  Trac displays the timestamp quite informal, e.g. last modified 4 month
  ago, same applies to comments below the ticket header. On mouse over
  the full timestamp information can be seen. Is there any way to just
  display the full timestamp rather than an informal string?

  This way it would be possible to search for e.g. a given year in the
  browser window, which comes in quite handy if there are a huge number of
  comments.

  Any ideas?

 Change the Genshi template and replace expression for text using
 expression for alt= ?

 --
 Regards,

 Olemis.

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

 Featured article:

well, this was just asked last week.  but I think it went unanswered.
however:

When you print a ticket,  you get iso format.  you can also actually
mouse over the date and the tool-tip will be iso format as well.

Additionally:
a quick search came up with this thread:
http://groups.google.com/group/trac-users/browse_thread/thread/f70b2865250cde9f/b82f727c52796d44?hl=enlnk=gstq=timestamp#b82f727c52796d44

Another option, if you are using apache for your web server is
detailed here:
http://trac.edgewall.org/wiki/TracFaq#how-do-i-change-the-format-used-for-displaying-date-and-time
you just need to pick a locale that defaults to the format you want.
I read somewhere that locale hu_HU would work.  I have not tested
this.  I am not sure what the windows string is for Hungarian_hungary
is however, or even if hu_HU stands for that.  I haven't had my coffee
yet.

Let us know what/which works for you if you try these.

-- 
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] Re: Questions about TracChangeset capabilities

2010-01-29 Thread yoheeb
On Jan 29, 8:41 am, Olemis Lang ole...@gmail.com wrote:
  -Original Message-
  From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
  On Behalf Of Olemis Lang
  Sent: Friday, January 29, 2010 8:47 AM
  To: trac-users@googlegroups.com
  Subject: Re: [Trac] Re: Questions about TracChangeset capabilities

  I am probably (wrong | missing something obvious) but, when talking
  about Trac  VCS, the solution has to be generic, since the API is
  designed to connect *ANY* VCS (not just SVN ;o). IMHO the complexities
  in this case are when something like that is to be implemented
  (abstracted) for DVCS too, and AFAICR simpler functionalities (like
  copy relationships in TracMercurial ;o) have not been included yet
  (CMIIW)

  Let's see what the experts have to say anyway ...

  --
  Regards,

  Olemis.

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

  Featured article:
  Fixing `setup.py`. Distributing `tracgviz.ig` and `examples`.  -
 http://simelo.hg.sourceforge.net/hgweb/simelo/trac-gviz/rev/275ce6364959

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

  --
  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 
  athttp://groups.google.com/group/trac-users?hl=en.

 On Fri, Jan 29, 2010 at 9:22 AM, Prestel, John D. john.pres...@ngc.com 
 wrote:
  Sounds like a plug-in to add a few customizations for subversion might
  be the way to go, then?

 Well, if you want to get a page like this one [1]_ but without
 detailed DIFFs shown at the bottom, then I think you should only need
 to change the template or (for better performance ;o) implement a
 clone (plugin) of TracChangesets, remove DIFF calculation, and
 simplify the template anyways.

 If you need more advanced features (like I imagined before, but I was
 probably wrong ) then you'll have to add them in a separate plugin
 too, but it would be nice (and helpful) if you could consider Trac VCS
 abstraction API because that would allow to port the same or similar
 functionality to work with multiple VCS (and code could be reused ;o)

 .. [1] Changes in xmlrpcplugin/trunk [7485:7000]
          
 (http://trac-hacks.org/changeset?old_path=xmlrpcplugin%2Ftrunkold=748...)

 --
 Regards,

 Olemis.

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

 Featured article:

Why is setting max_diff_bytes and max_diff_files to 0 (or maybe 1,
never tried 0 actually) not sufficient?  you still get the full
changeset summary with the links to the individual diffs.

-- 
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] Re: Questions about TracChangeset capabilities

2010-01-29 Thread yoheeb
n Jan 29, 9:25 am, Olemis Lang ole...@gmail.com wrote:
 On Fri, Jan 29, 2010 at 10:18 AM, Olemis Lang ole...@gmail.com wrote:
  On Fri, Jan 29, 2010 at 9:53 AM, yoheeb yoh...@gmail.com wrote:

 [...]

  Why is setting max_diff_bytes and max_diff_files to 0 (or maybe 1,
  never tried 0 actually) not sufficient?

  Probably performance (which is the main reason why the OP is looking
  for such a thing, at least considering «Calculating all the diffs can
  take a LNG time» , isn't it? )

  you still get the full
  changeset summary with the links to the individual diffs.

  I've not reviewed the code but that doesn't mean that DIFFs are not
  calculated in the first place. If they don't then you're right (no
  differences), otherwise

  better performance = simplified solution = new plugin (clone ?)

 or

 better performance = flexible solution = new option in trac.ini =
 new version of TracChangesets

 ... but that requires approval and intervention of Trac-devs (beyond
 my scope ;o)

  ;o)

  --
  Regards,

  Olemis.

I would still go with try setting it to 0, or 1 files first.  but
that's just me.  I have not looked at the code, but I would suspect
the max files setting is the early abort condition in the if
statement (yes I now, it's probably more complicated) that would have
the biggest impact on speed.  of course, it might actually diff 1 file
first, so setting max bytes to 1 also would improve.  Anyway, the OP
is after other specific changes as well, which seems like they should
consider a customization, separate plugin, or replacement handler
anyway.

-- 
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] Re: Ticket Change History Format Modification

2010-01-29 Thread yoheeb
On Jan 29, 10:09 am, CM Lubinski cmc333...@gmail.com wrote:
  How to  modify the ticket's  change history display  page (for eg:-
 http://localhost/trac/ticket/1#comment:1)  of the ticket from Days/
  Weeks/Hours/Minutes/Seconds ago format  (eg:- Changed  5 weeks  ago
  by user1 ) in the trac 0.11.5  version  to Date/Month/Year H:M:S AM/
  PM Format (eg:-  7/3/2009 1:57:55 PM Changed by user 1)which was in
  the  version trac 0.10.5

 Though I'm not sure if there's a configuration for exactly what you'd
 like, I do know that if you mouse over the change time ('Changed 5 weeks
 ago by user1'), it'll display the date+time updated.

 CM Lubinski

It also uses the long format when printing.  Finally there was a
patch, or template modification, or plugin about 9 months back that
forced the ticket changes to always show the long form, if I recall.
Might need to search the archive, or check TH.org.

-- 
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] Re: Format of New Ticket Page

2010-01-29 Thread yoheeb
On Jan 29, 1:19 pm, tqwhite tqwh...@gmail.com wrote:
 I have added some custom fields to my Trac setup. They work fine
 except that I cannot get them into a good organization on the page. It
 scatters fields that belong together to apparently random places on
 the page. I have experimented and cannot cause them to be in any
 decent sequence. It's a pretty nasty problem. We already have a tough
 time getting people to use it because they think it's too
 complicated. When they complain about this, it will be totally
 justified.

 Any advice?

 tqii

have you checked out the usage of the order property?
The default fields always are higher in the order list, but after
that, custom fields take the order specified by that property.  It
formats them out in 2 columns, left to right I think.

There is also the BlackMagicTicketTweaks plugin

-- 
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] Re: Installing trac on ahosted server

2010-01-25 Thread yoheeb
On Jan 25, 8:05 am, Olemis Lang ole...@gmail.com wrote:
 On Mon, Jan 25, 2010 at 6:10 AM, Bogdan Stanciu

 bogdanovidiu.stan...@gmail.com wrote:
  Hi there!

  I would like to install trac on my public server, so it can be used via
  internet. My host mentions that python is supported, but i have no clue how
  could i install it. Any clues?

 Someone could write a book covering all the possibilities . I think
 you should provide further details

 ;o)

 --
 Regards,

 Olemis.

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

 Featured article:
 Added GViz provider to convert contents of files in VCS (TODO:
 Optimize !!!)  
 -http://simelo.hg.sourceforge.net/hgweb/simelo/trac-gviz/rev/56529c96523b

While Python is supported, you are very likely going to be unable to
install packages to the python system.  They may install them for you,
but you likely will have to install everything into your local user
directory, making installation of the Trac packages, and all plugins a
bit of a pain.

Doable, yes.  Better to have a host that supports trac out of the box,
or see if they will install the packages for you.  If not, you'll
probably have to work around that issue and install everything
locally.  Not sure if setuptools can be configured for automatically
handling that type of thing or not.  Still python + trac +plugins
don't take up much space, so it's worth the exercise.

I would like to see the outcome of this, maybe as a cookbook recipe
myself.  Simply because I would love to see an e107 -Trac marriage. :D

-- 
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] Re: Actions based on ticket number

2010-01-21 Thread yoheeb
On Jan 21, 9:17 am, Chris Nelson chris.nel...@sixnet.com wrote:
 Roger Oberholtzer wrote:
  I know this question has been asked in a similar context. But I think
  I am asking in a different context. I have two things I would like to
  do:

  1.

  When an existing ticket is being rendered to be shown in the browser,
  is it possible to make a link reference in the rendered page that
  uses the ticket number as part of the link? I do not mean when the
  ticket is created, since the number does not exist. I would like to
  point to some per-ticket place. The references are like
  [//~data/TracData/ticket/NUM], where NUM is the ticket number. I
  would like NUM replaced by the ticket number.

  Where would I begin to look to add something like this?

 Do you want a $NUM like $USER?  I can think of several variables I'd
 like to be available in the ticket context like $MILESTONE, $NUM,
 $COMPONENT, etc.  But $NUM would be a great start!

  2.

  When a ticket is created (the user has saved a new ticket), I would
  like to have a directory in the Trac system's file system created. Is
  there a hook for doing this sort of thing?

  I have yet to modify/add to Trac at this level. Maybe this is the
  time...

 Couldn't you register a ticket change listener?  Wouldn't it know if the
 action was create?  (I'm a little out of my depth here but I thought
 that's how it works.)

2.) The AdvancedTicketWorkflowPlugin has a run_external function which
I bet could do the trick.  It passes the ticket number and username.
Just create a script that first checks the user name (if you so wish)
the mkdir /usr/some/dir/ticket/%1 or similiar.

1.)
I asked about this EXACT thing a while back.  Sounds like it might be
time for me to learn how to write a plugin!

in my use case: we create a wiki page for a ticket called /wiki/
AuthorTests/HowToVerify/$NUM
in a wiki text enabled field we have a defaulted setting of
[wiki:AuthorTests/HowToVerify/NUM Verify notes for NUM]
the creator of the ticket then has to edit NUM after creating the
ticket (and thus now knowing the ticket number) to make this a wiki
link.
Later when the ticket is closed, the dev can click through the gray
link, and create the test notes page via template.
We also in our wiki template mentioned have back links to , you
guessed it NUM, which needs to edited by the dev (that is why the
naming scheme is what it is, the wiki page basename is just a
number.  ./1 /2 /300 etc.

I was hoping/planning to find a way on render to just replace $self
with basename  for a ticket, that would just be the ticket number,
for a wiki page, it would be the base name of the wikipage, which in
my use case, just happens to be a number, and the creation mechanism
makes the number the same as the ticket number.

Wow, it seems much simpler in my head than the way I explained it.
I am not convinced this needs to be a plugin for my use case, but
might just be edits to the wiki and ticket template files.
But now that I seen this thread, I see $SELF as an extension to the
idea here.  I still think it is a render plugin, and not a creation
one, if that makes any sense.

There is also a plugin that lets you define page variables that get
replaced in the wiki which I can't find, but might be a good starting
point.
the IniGet Macro is along a similiar line as well, and may be worth
extending in a similiar manner (best of both worlds?)


-- 
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] Re: Workflow - Project question

2010-01-21 Thread yoheeb
On Jan 5, 12:08 am, Ryan J Ollos ry...@physiosonics.com wrote:
 Paul Boos wrote:

  Thanks Jay,

  Is TypedTicketWorkflow a plugin or is it a standard Trac feature?
  Just
  wanted to know where to go look to dive a little deeper...  Just by
  the name, I can tell TypedTicketWorkflow is a decent fit, but what
  does
  MasterTickets do?  Can you point me to something that describes it?

 http://trac-hacks.org/wiki/MasterTicketsPlugin

 --
 View this message in 
 context:http://old.nabble.com/Workflow---Project-question-tp26728935p27024143...
 Sent from the Trac Users mailing list archive at Nabble.com.

Sorry I never got back on this thread till now.  google was blocked at
work for some time.

As for the master tickets part.  Here is what we do for a more
complicated that it should be workflow :D

Using Typed ticket workflow, we have a special ticket type call
Feature Ticket  which has additional workflow steps: Ready For Code
Review, Code Review Accepted, Code Review Failed, Merged to trunk,
Closed.

We block a feature using master tickets, with all the fixes,
enhancements and tasks we have planned for that feature.  The Future
ticket then can't move to Closed until all the sub tickets are
verified (our closed state)

A more V model style waterfall could use MasterTickets to be
blocked by the appropriate level test/validation/verification task
ticket you create when you create the step.

So in my best ascii art (ok, not my best)

Functional Requirement 
Acceptance Test ticket
|
System Requirement 
Integration test ticket
|
Subysystem Design Req 
Validation test
|
Subsytsem Design Item  ---Author/Unit
test
 
\ /
  ---Verify---

That last step there Verify is my own thing and it blocked by both
System Design Item, and the Author test.  but basically the stuff on
the right blocks the stuff on the same line to the left, and the stuff
down the left side blocks 1 ore more items above it.  (1 to many
almost always in my experience)

you could get invloved and make each of those tickets a type, and
possibly have their own workflow, but probably only need special
work flows for a few.  Since we make devices, the validation test has
a special workflow, since there is manual test script that is run,
with reports and sign offs and all that crap. for example, but Many of
the other just have standard worflow.

The other option is to make the stuff on the right a step, or set of
steps in a typed workflow for each test, reducing the number of actual
tickets (by half) and the number of types.  while still using master
tickets for blocking on the left side  (this is what we do now, just
reassinging the ticket as appropriate for the test step)

in this model instead of 8 ticket types in the above V, you only have
4, but each type has a unique workflow step (follow the arrow for the
next step before -closed)

You still have other ticket types as needed (defect, task,
enhancement, etc.)

Not sure this helps you much, but it is what I was referring to master
tickets for.
-- 
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] Re: Newsletter to all users?

2009-12-01 Thread yoheeb
On Nov 30, 4:05 pm, Ryan J Ollos ry...@physiosonics.com wrote:
 Micha-25 wrote:

  I need something to make sure that all user read it. So when I write a
  newsletter, announcement or whatever, each user has to agree or confirm
  reading. Finally at least I need to be able to check who didn't read the
  news or maybe also get a kind of statistics (how many user read something,
  average time to agree...) but that's just nice to have.

 The only solution I can think of using immediately available Trac-Hacks
 would be to post the newsletter using FullBlogPlugin, with a message that
 the user needs to visit the site to read the message.  At the bottom of each
 Blog posting you could use the PollMacro [1] to have each user confirm they
 read the posting.  The Poll could be Did you read the posting, and it
 would log the username as each user selects Yes.

 [1]http://trac-hacks.org/wiki/PollMacro

 --
 View this message in 
 context:http://old.nabble.com/Newsletter-to-all-users--tp26539209p26582839.html
 Sent from the Trac Users mailing list archive at Nabble.com.

another option would be to use one of the plugins to send the
notification email via a mail server that can track when a message has
been read.  you may need to modify the notification, and possibly
automate the actions that are taken when someone receives, and then
opens the email to say, fill a file that can be picked up by a cron
job and the update the wiki page of choice accordingly via say,
XMLRPC.

Seems doable with some creative chaining of tools.

--

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] Re: anonymous user should see only the first wiki site

2009-12-01 Thread yoheeb
On Nov 30, 3:05 pm, Hendrik Renken funsh...@gmx.net wrote:
 I couldn't get it to work. See tickethttp://trac.edgewall.org/ticket/8445

 Regards,
 Hendrik

 On 30.11.2009, at 22:01, didley wrote:



  On 30 Nov., 00:49, Ryan J Ollos ry...@physiosonics.com wrote:
  didley wrote:

  I want to offer anonymous user only our first wiki site.

  I'm not sure what you mean by 'first' wiki site, but you can control access
  to wiki pages though the fine grained permissions scheme.

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

  There is also a nice plugin to allow editing the authz file through
  WebAdmin.

 http://trac-hacks.org/wiki/FineGrainedPageAuthzEditorPlugin

  --
  View this message in 
  context:http://old.nabble.com/anonymous-user-should-see-only-the-first-wiki-s...
  Sent from the Trac Users mailing list archive at Nabble.com.

  Thanx, that's what I'm looking for.

  didley

  --

  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 
  athttp://groups.google.com/group/trac-users?hl=en.

also not sure what you mean by first wiki site, but you could use
apache to restrict anonymous to a static site, or possibly code
something to get the wiki site in question and render a static copy
dynamically.

--

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] Re: Custom ticket fields and dependencies

2009-11-23 Thread yoheeb
On Nov 23, 7:26 am, Chris Nelson chris.nel...@sixnet.com wrote:
 Nir Ben Eliezer wrote:
  Any chance someone has an answer for this issue?
     I have a short question about creating custom fields in tickets.

     I need the option to create a Sub-Component drop down menu.
 This
  field should be dependent on the component which the user chose. For
  example, choosing component1 will result in the appearance of
  sub-component1 and sub-component2 in the Sub-Component drop
  down menu. Choosing other components may result in the appearance of
  other sub components.    

     Is this possible to implement? I couldn't find any easy
  configuration which enables this important option.

 We accomplished this by having compound components like main/part1,
 main/part2, etc. and adding some JavaScript to the ticket handling
 which parses on /, presents just the first part, and adds and populates
 a second list box if the item selected in the first part has
 subcomponents.  Trac still thinks that there's only one component field
 (in the db) but users can select subcomponents when creating or updating
 tickets.

well, you should of started a new thread rather than hijack this one
for best results, however...
a better way to accomplish this may be to not use components.  Keep
your components higher level, like Software Documentation
Hardware

and use the following plugin:
http://trac-hacks.org/wiki/TracTicketChainedFieldsPlugin

seems  like what you are really after

--

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=.




[Trac] Re: Way to link your company website to Trac

2009-11-23 Thread yoheeb
On Nov 21, 5:34 pm, doki_...@doki-pen.org wrote:
 In gmane.comp.version-control.subversion.trac.general, you wrote:
  On Fri, 2009-11-20 at 14:14 -0800, Andy wrote:
  Hello,
  I am working at a startup company, and we are trying to figure out if
  we can link a 'comment' window on our website to Trac. Ideally, a
  website visitor could enter a comment, submit it, and it could create
  a new ticket in Trac for us to manage.

  Aren't there things on trac hacks that let you add a ticket via e-mail?
  If so, send a e-mail from the company site to your trac site.

  I would have checked Trac Hacks now, but first it was down, and now it
  just says It works! Obviously a bit of maintenance is in progress.

 Take a look at the email2trac plugin.  Your code should do the same
 thing only from a web form instead of an email.

You could have your form submit action invoke a cgi, or server side
applet that uses xmlrpc to connect to trac and create the ticket.

Could even just dump the contents to a special folder that a cron job
comes by and picks up every couple minutes...etc.

--

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=.




[Trac] Re: export script (bugzilla, Mantis, perforce, etc.)

2009-11-23 Thread yoheeb
On Nov 9, 3:33 am, Cooke, Mark mark.co...@siemens.com wrote:
  Hi all,

 Hello,

  can someone point me to scripts to export FROM Trac and then import
  into other systems?  All our work is getting transferred and I need to
  know, what, if any, other systems I can easily export for them, and
  which ones will import best, etc.

 This list generally is interested in moving _from_ other systems _to_
 Trac, so are unlikely to invest much (any!) effort in going the other
 way.  What you probably need to do is look at your candidates (Mantis
 and perforce) and see if _they_ provide suitable scripts (Trac has
 bugzilla2trac.py for example)

 Cheers...

yep, already done that.  No luck.  I realize the list probably doesn't
care much, heck, I don't care much about it, since I am not part of
the move, it's really someone else's problem, but I thought I would
be nice and try to see if anyone has done this.

I think the easiest way will be a 2 part process.  First, just export
the tickets to csv, including change history.  Then a second pass to
extract attachements from each ticket, and put in a identifiable
location.  Then, whatever their system is, they care reverse the
process for import, tracking their start number and offsetting for
attaching the attachments.  I personally am a bigger fan of just
printing them out and shoving in a binder.  They can create new
tickets going forward, and any outstanding ones can be created
manually.

--

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=.




[Trac] Re: Transfer ticket from one trac to another trac?

2009-11-19 Thread yoheeb
On Nov 19, 9:26 am, Lukasz Szybalski szybal...@gmail.com wrote:
 Hello,
 I was wondering if anybody came up with a script that transfers
 ticket/s from one trac instance to another?

 I have 2 instances of trac running for 2 different departments.  When
 dept1 receives a fax for dept2, they assign a milestone:
 dept2_incoming . At that point I would like to trnasfer that ticket
 to dept2 trac. Copy description, history, attachments ?

 Anybody got a script for that already done?

 Thanks,
 Lucas

If you want to do it manually: http://trac-hacks.org/wiki/TicketMoverPlugin
is exactly what you need.  If you want to trigger and do it
automatically on ticket change, then I think you would take this
plugin as a starting point, and extend it  although, since you have to
edit the ticket in your workflow, adding the step of using this plugin
might not be so much of a burden, at least to get you started.

--

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




[Trac] Re: Using trac to enforce iteration cycles...

2009-11-03 Thread yoheeb

On Nov 3, 6:55 am, Gem gemma.came...@gmail.com wrote:
 Does anyone know of a plugin for trac (or a way) where the tickets
 associated with a milestone are automagically closed when the
 milestone finishes?

 Thanks!

 Gem

I use the move open tickets to milestoneX feature when I complete
a milestone.

I suppose if you wanted to close them out of hand like that (as
opposed to move them back into the backlog), you could create a
special milestone, when you close a milestone, move all tickets to
milestone:CloseAllThese  or whatever.  Then use the BatchModifyTickets
plugin, and list all tickets in that milestone in a query (ungrouped)
and just check the box up at the top, which will select all tickets,
and change state to closed, and resolution to (whatever you use for
iteration tickets that just get batch closed)

It makes it a 2 step process, but the second step is pretty simple.
--~--~-~--~~~---~--~~
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: Using trac to enforce iteration cycles...

2009-11-03 Thread yoheeb

On Nov 3, 9:19 am, Gem gemma.came...@gmail.com wrote:
 On Nov 3, 3:07 pm, yoheeb yoh...@gmail.com wrote:

  I use the move open tickets to milestoneX feature when I complete
  a milestone.

 Where is this feature? I have Trac 0.11.2.1 and can't see that
 immediately. Sounds useful!



  I suppose if you wanted to close them out of hand like that (as
  opposed to move them back into the backlog), you could create a
  special milestone, when you close a milestone, move all tickets to
  milestone:CloseAllThese  or whatever.  Then use the BatchModifyTickets
  plugin, and list all tickets in that milestone in a query (ungrouped)
  and just check the box up at the top, which will select all tickets,
  and change state to closed, and resolution to (whatever you use for
  iteration tickets that just get batch closed)

  It makes it a 2 step process, but the second step is pretty simple.

 That's great! Thanks for your help! ( :

 Gem

From the Roadmap, click on the milestone in question.  click Edit
Milestone  There is a check box for Completed which enables a check
box to retarget associated open tickets to milestone:

For some reason, this option isn't there if you navigate there via the
Admin page.  BatchModifyPlugin is available at trac haks.  It is
handy, while we don't use iterations, we use a feature branch
development model, and each feature branch get's its own milestone.
anything that doesn't make it in, gets moved back to our TBD bucket.

One important note, if you use a custom workflow with special states,
be sure to set the ini setting for which states are considered
closed  or anything not actually in the closed state will be
moved  (we have a few closed states called other things, for
exampled: Merged)
--~--~-~--~~~---~--~~
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: It's doesn't working once I am using babel

2009-10-27 Thread yoheeb

On Oct 27, 8:23 am, 罗勇刚(Yonggang Luo)  luoyongg...@gmail.com wrote:
 It's doesn't working!?

no idea, but I am going to bet you used the latest trunk version of
Babel.  I saw something about that in a different thread recently.
try reverting to the latest stable release.
--~--~-~--~~~---~--~~
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: Custom milestone colors

2009-10-27 Thread yoheeb

On Oct 26, 11:32 pm, RjOllos ry...@physiosonics.com wrote:
 On Oct 23, 10:02 am, Scott Mead scott.m...@enterprisedb.com wrote:

  don't have a style.css folder as part of my trac 11 setup.  Should I just
  create one?

 This might 
 help,http://trac.edgewall.org/wiki/0.11/TracInterfaceCustomization#SiteApp...

and see this thread here as well:
http://groups.google.com/group/trac-users/browse_thread/thread/6db79b40d9669bc9/701d3c482799525e?hl=enlnk=gstq=custom+milestone#701d3c482799525e
--~--~-~--~~~---~--~~
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: timestamp in a ticket

2009-10-27 Thread yoheeb

On Oct 26, 8:26 am, Roger Oberholtzer roger.oberholt...@gmail.com
wrote:
 I have had a request to add a date variable to tickets. I can make it a
 simple text field. However, this makes it awkward to use as a sort key.
 Is there a better way to add a date to a ticket? Especially if one use
 is sorting?

 In addition, it would be great if the date could default to, say, today
 + 2 weeks. I see a DateOffset macro, but it uses a fixed date. I guess I
 could hack the DateOffset to use the current date. But the question
 problem is how do I initialize the date field with the result of the
 macro? I am guessing this has been answered a zillion times. Is this
 described in the Trac docs?

 --
 --
 Roger Oberholtzer

not sure on your automatic +2weeks, but you could look at either
DateTimeField plugin and/or CalendarPopupPlugin.

I bet it would be easy to modify the CalendarPopupPlugin to default to
today + 2 weeks instead of today, although, it makes it easy, so
you might not bother, maybe just use the TicketGuidelines plugin to
tell people to pick today +2weeks (could get fancy and instruct them
to use different offsets based on your criteria)

I know, I'm lazy, it works for me
--~--~-~--~~~---~--~~
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] Best place to ask for requirements...

2009-10-27 Thread yoheeb

All,

I am thinking about making a simple plugin (which maybe leads into
other, more complicated suite) and want to know the proper etiquette/
location to ask for input.  would Request-A-Hak then take ownership of
it apply?  I could just announce it here and point folks there.

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



[Trac] Re: Is there macro/plugin to have attributes or properties for each wiki page?

2009-10-14 Thread yoheeb


On Oct 14, 4:56 am, Uku Buku Babaka ukub...@gmail.com wrote:
 On Oct 14, 10:11 am, Christian Boos cb...@neuf.fr wrote:



  Uku Buku Babaka wrote:
   On Oct 14, 12:01 am, Erik Bray hyugaricd...@gmail.com wrote:

   Well, maybe adapt something like TagsPlugin? We have plan to move our
   pages, docs, etc
   into the Wiki of Trac. Critical issue is that we have now some web-
   like system with more than 10 000 pages, and some kinds
   of these tagging by values for each page. Trac looks like the best way
   for hosting all our developments with all these pages, docs etc,
   but we are afraid of lack of filtering, querying for pages.

  Very interesting use case. I also think that Trac ought to be able to
  support this.

   Well, maybe something like Reports but applied to querying WikiPages 
   instead
   of tickets could be also ideal,

  Reports can be made on anything, not just on tickets. 
  Seehttp://trac.edgewall.org/wiki/TracReports#Automaticallyformattedcolumns

 Exactly!, that's why Trac seems so interesting for us



    but of course it is required to have
   properties per page.

  Seehttp://trac.edgewall.org/ticket/1386andhttp://trac.edgewall.org/wiki/
   Ideas and other contributions
  welcomed.

 Well, just to give imagination about our use-case:
 Currently, there are already 14K pages with about total 1300 unique
 property names, and each pages has about 50-100 pairs of
 property=value. This is technical documentation describing several
 components each can have simple properties like for example width,
 height, etc - there are really bunch of them. Wiki can gives us way of
 fast editing of all of these pages + workflow by ticket system, no
 really needs for svn now, but it is okay.



  -- Christian

some combination of the tags plugin and the PageVariableMacro might be
a starting point.
--~--~-~--~~~---~--~~
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: Bulk ticket print/export

2009-10-13 Thread yoheeb

On Oct 12, 4:41 pm, Emily Hodges em...@treestar.com wrote:
 Printing or copy/pasting through Safari works great. It holds all the  
 formatting and keeps the doc looking the same way as it looks. This is  
 how I email all my reports through trac.

 Thanks,

 Emily

 Emily Hodges
 Engineering Project Manager/
 Database Administrator
 Tree Star Inc. / FLOWJO LLC.
 541-201-0022 ext. 178
 em...@treestar.com

 On Oct 12, 2009, at 2:23 PM, yoheeb wrote:



  Any thoughts on how I could print out (or export then print out)  all
  the tickets in a project?  I really don't want to open all the tickets
  at press the print button (although, printing through fire fox is
  fine, if not preferred)

  Yes, I know, we use a fancy tool like trac, then we go an print out
  every darn thing, punch holes and shove it in a bindersigh.  Maybe
  a firefox extension could do the trick.

  from what I can think, it would be a fancy for loop with some icing on
  top.

  I do prefer the print rendered by a browser however, not just a raw
  text dump/print, although that is an option.

  After ticket print just as if you press the print button in the
  browser.  All ideas welcome,

  thanks.

It looks great in firefox too, I just don't want to do it manually.

I found a solution:

using the internet explorer version(yes I know, bleh, but it's the
only one that supports print in free version) of iOpus's really cool
iMacro tool I stumbled into about an hour ago I came up with a
solution:
1.) download and install the IE extension from here: 
http://www.iopus.com/download/
2.) create a new macro with that reads the following and save as
whatever name you want:

VERSION BUILD=303806
'Print tickets with the loop run for the SimbaPC project.
'will print tickets 1- the max entered in the loop option box
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://yourProjectURL/ticket/{{!LOOP}}
'print browser page
ONPRINT P=*
PRINT
WAIT SECONDS=3
'3 seconds might be much

note: easiest way to create it is to record and save a macro, then
edit and past over everything, changing yourProjectURL to something
useful of course.
3.) if not already done, in IE, setup your page AND printing
preferences (via page setup).  preferences are needed if default
printer settings don't work for you out of the box.  I find I
minimally need to adjust the page margins in page setup for the
tickets to not extend off the page.

4) highlight the macro in the sidebar and select the play TAB
5.) at the bottom of play Play(LOOP) button on with 2 text fields
above it, one is disabled.  in the enabled one, enter the number of
your highest ticket value, say 399
6.) press Play(LOOP) and run to your printer to catch your print outs
and refill paper.  (I would suggest maybe slow printer times in the
office, depending on the number of tickets)

so, summary.

- install iMacros in IE
- create the above macro
- enter max ticket number in loop play option
- press play.

I love simple solutions.

--~--~-~--~~~---~--~~
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: Bulk ticket print/export

2009-10-13 Thread yoheeb

On Oct 12, 4:41 pm, Emily Hodges em...@treestar.com wrote:
 Printing or copy/pasting through Safari works great. It holds all the  
 formatting and keeps the doc looking the same way as it looks. This is  
 how I email all my reports through trac.

 Thanks,

 Emily

 Emily Hodges
 Engineering Project Manager/
 Database Administrator
 Tree Star Inc. / FLOWJO LLC.
 541-201-0022 ext. 178
 em...@treestar.com

 On Oct 12, 2009, at 2:23 PM, yoheeb wrote:



  Any thoughts on how I could print out (or export then print out)  all
  the tickets in a project?  I really don't want to open all the tickets
  at press the print button (although, printing through fire fox is
  fine, if not preferred)

  Yes, I know, we use a fancy tool like trac, then we go an print out
  every darn thing, punch holes and shove it in a bindersigh.  Maybe
  a firefox extension could do the trick.

  from what I can think, it would be a fancy for loop with some icing on
  top.

  I do prefer the print rendered by a browser however, not just a raw
  text dump/print, although that is an option.

  After ticket print just as if you press the print button in the
  browser.  All ideas welcome,

  thanks.

sorry for the resend, I had a typo in the original so I deleted it at
reposted:
It looks great in firefox too, I just don't want to do it manually.

I found a solution:

using the internet explorer version(yes I know, bleh, but it's the
only one that supports print in free version) of iOpus's really cool
iMacro tool I stumbled into about an hour ago I came up with a
solution:
1.) download and install the IE extension from here: 
http://www.iopus.com/download/
2.) create a new macro with that reads the following and save as
whatever name you want:

VERSION BUILD=303806
'Print tickets with the loop run for the YourProjectURL project.
'will print tickets 1- the max entered in the loop option box
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://yourProjectURL/ticket/{{!LOOP}}
'print browser page
ONPRINT P=*
PRINT
WAIT SECONDS=3
'3 seconds might be much

note: easiest way to create it is to record and save a macro, then
edit and past over everything, changing yourProjectURL to something
useful of course.
3.) if not already done, in IE, setup your page AND printing
preferences (via page setup).  preferences are needed if default
printer settings don't work for you out of the box.  I find I
minimally need to adjust the page margins in page setup for the
tickets to not extend off the page.

4) highlight the macro in the sidebar and select the play TAB
5.) at the bottom of play Play(LOOP) button on with 2 text fields
above it, one is disabled.  in the enabled one, enter the number of
your highest ticket value, say 399
6.) press Play(LOOP) and run to your printer to catch your print outs
and refill paper.  (I would suggest maybe slow printer times in the
office, depending on the number of tickets)

so, summary.

- install iMacros in IE
- create the above macro
- enter max ticket number in loop play option
- press play.

I love simple solutions.
--~--~-~--~~~---~--~~
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] Bulk ticket print/export

2009-10-12 Thread yoheeb

Any thoughts on how I could print out (or export then print out)  all
the tickets in a project?  I really don't want to open all the tickets
at press the print button (although, printing through fire fox is
fine, if not preferred)

Yes, I know, we use a fancy tool like trac, then we go an print out
every darn thing, punch holes and shove it in a bindersigh.  Maybe
a firefox extension could do the trick.

from what I can think, it would be a fancy for loop with some icing on
top.

I do prefer the print rendered by a browser however, not just a raw
text dump/print, although that is an option.

After ticket print just as if you press the print button in the
browser.  All ideas welcome,

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 
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 use actionname.set_owner?

2009-10-05 Thread yoheeb

On Oct 5, 4:20 am, Chris Heller chris.heller.greysparl...@gmail.com
wrote:
 You need to have actionname.operations = set_owner.  That is what will make
 actionname.set_owner = user go into effect.

 On Sun, Oct 4, 2009 at 1:39 AM, marten marten.nel...@gmail.com wrote:

  I have a custom action in a workflow and when it's performed, I want
  to ticket owner to be set to a specific user.

  I added to trac.ini

  actionname.set_owner = user

  (where user is the person's trac username)

  However, when I use the action, the ticket owner isn't changed.

  Any ideas what I'm doing wrong?

  Thanks,
  Marten

You might also want to look at the AdvancedTicketWorkflow plugin and
related for other similar behaviors (such as set_owner_to_previous)
--~--~-~--~~~---~--~~
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: pew-populate tags...

2009-10-02 Thread yoheeb

On Oct 2, 4:45 am, RJOllos ry...@physiosonics.com wrote:
 In fact, I opened a ticket for this, so if possible please consider
 attaching you patch to the ticket.  Thanks.

 http://trac-hacks.org/ticket/5907

will do, I don't handle the case of not having anything in the
keywords = list, as I actually use it.  the change is only 4 or 5
characters, so I will likely just inline it in the ticket.  I may
however look at addressing the case you mentioned also.  btw, it's a
really cool plugin, thanks!  It will help save me a TON of greif in
ticket scrubbing time.
--~--~-~--~~~---~--~~
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: Circa Project estimation tool with trac

2009-10-01 Thread yoheeb

On Oct 1, 5:38 pm, colski colin.wh...@uk.thalesgroup.com wrote:
 Hi Folks

 We currently have a number of projects using trac for bug / feature
 tracking and some task management. One area we are looking to
 improve upon is estimation. One of my colleagues has been trying out a
 tool call Circa from tassc - solutions. My understanding is that Circa
 processes a system (UML) model to produce effort estimates which can
 then be exported to Microsoft project, or similar.

 Does anyone have any experience with Circa? I would like to know your
 stories, particularly if you are using it alongside / in conjunction
 with trac?

 Thanks in advance

No, but the TracDependencyPlugin has a sister set of modules for both
excel and ms project to import tickets/timeline information to them.
not sure if there is an intercept there for you.
--~--~-~--~~~---~--~~
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] Anyone gotten the TracDupPlugin to work on 11.5?

2009-10-01 Thread yoheeb

Hi all, I have a bunch of dupe cleanup to do, so I thought I would
install this plugin to make it easier, doesn't work.  I'll file some
tickets, but was curious if it works in 11.5, python 2.5?

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



[Trac] Re: Anyone gotten the TracDupPlugin to work on 11.5?

2009-10-01 Thread yoheeb

On Oct 1, 11:45 pm, yoheeb yoh...@gmail.com wrote:
 Hi all, I have a bunch of dupe cleanup to do, so I thought I would
 install this plugin to make it easier, doesn't work.  I'll file some
 tickets, but was curious if it works in 11.5, python 2.5?

 Thanks

I got it to work, I'll create a ticket with the notes:

modify setup.py:
change version=0.1.1 to major.minor format (I guessed and used 0.1)
this could be related to my version of setup tools to install it.

for existing installations, need to run a set of sql executes against
the database to give all the tickets and entry for 'dups' 'dup_count'
and 'dup_of'

but it works!  woot.  have some improvement suggetions, but that's a
separate issue.

yeah me!
--~--~-~--~~~---~--~~
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: pew-populate tags...

2009-09-29 Thread yoheeb



On Sep 28, 11:25 pm, jevans jevans...@gmail.com wrote:
 On Sep 28, 3:19 pm, yoheeb yoh...@gmail.com wrote:

  Hey all,

  is there any good way to pre-populate the Tags plugin aside from just
  creating a generic wiki page tagged with everything you want to pre-
  populated in?  While that works, it'll show up in pretty much every
  list of pages tagged (anything).

  I tried to do a quick search on this topic down the old archives and
  came up with search overload

  Thanks for any response, either way

 The KeywordSuggestPlugin has an ini field for defining keywords/tags.

Yeah, I am using that.  problem is I modified the plugin so I could
use the keywords link in tickets to link to the /tags page.  Issue
with that is, unless they have been actually used, the pre-selected
keywords don't show up on the /tags page, which is ok I guess.  tis a
little thing at this point.

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



[Trac] Re: Popup of existing tag values to choose from?

2009-09-28 Thread yoheeb

On Sep 25, 3:30 pm, RJOllos ry...@physiosonics.com wrote:
 On Sep 24, 12:56 pm, yoheeb yoh...@gmail.com wrote:

  I am having a little trouble with this.  I update the #4201 ticket.
  It works for tags entry, but not ticket keywords.  I also have a
  ticket.js error showing up in the log.  not sure if something else has
  stepped on it, any help is appreciated.

 I followed up with a suggestion in ticket 
 4201:http://trac-hacks.org/ticket/4201

FYI, I found the culprit and updated ticket 4201 accordingly
--~--~-~--~~~---~--~~
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] pew-populate tags...

2009-09-28 Thread yoheeb

Hey all,

is there any good way to pre-populate the Tags plugin aside from just
creating a generic wiki page tagged with everything you want to pre-
populated in?  While that works, it'll show up in pretty much every
list of pages tagged (anything).

I tried to do a quick search on this topic down the old archives and
came up with search overload

Thanks for any response, either way
--~--~-~--~~~---~--~~
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: trac commercial support? looking for hiring trac developer.

2009-09-25 Thread yoheeb

On Sep 25, 1:16 am, Noah Kantrowitz n...@coderanger.net wrote:
 On Sep 24, 2009, at 11:14 PM, sylvain wrote:



  Hi,

  Seems not interesting anyone. :-(

  Do you know a way I could reach EdgeWall's development team?

  May be I can hire them to develop the code in order to speedup some
  part of trac which may slow down my setup?

 Edgewall isn't a commercial entity (anymore). Jonas and others have  
 moved on to other things as far as I know. It functions as a legal  
 entity to hold the IP of Trac, Genshi, etc, in a similar way as the  
 PSF does with Python.

 --Noah

I thought there were a few on here a few months ago that fielded this
same question, there are some interested parties I believe.  You may
also want to look at the groups that wrap trac such as the OForge
project guys, or the Agilo team.  While Agilo team focuses on their
scrum implementation, I bet the could support standard trac.
However, their system is pretty good if you actually use scrum/agile
in your organization.  There are also some Trac/Subversion hosting
providers that do some level of support.

Just a couple thoughts.
--~--~-~--~~~---~--~~
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: Popup of existing tag values to choose from?

2009-09-24 Thread yoheeb

On Sep 12, 9:37 pm, RJOllos ry...@physiosonics.com wrote:
 On Sep 11, 2:06 pm, Hal hal.w...@gmail.com wrote:

  Is anyone aware of any plugin that presents existing tag values in a
  popup window to select form? (The existing link just goes to the tag
  cloud page.)

 You can install the KeywordsSuggestPlugin [1] along with this [2]
 patch.  The patch `keywordsuggest.py` allows the plugin to work with
 Tags as well as the Keywords field.  See also [3].

 [1]http://trac-hacks.org/wiki/KeywordSuggestPlugin
 [2]http://trac-hacks.org/ticket/4201
 [3]http://trac-hacks.org/ticket/5610

I am having a little trouble with this.  I update the #4201 ticket.
It works for tags entry, but not ticket keywords.  I also have a
ticket.js error showing up in the log.  not sure if something else has
stepped on it, any help is appreciated.

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



[Trac] Re: Multiple projects with Trac and Resources management

2009-09-18 Thread yoheeb

On Sep 18, 3:51 am, Noah Kantrowitz n...@coderanger.net wrote:
 You will have to be far more specific about both questions to get any  
 useful answers.

 --Noah

 On Sep 16, 2009, at 3:57 AM, Choopong Choosamer wrote:



  Hi,

  I have a little bit experience with Trac.

  Now, I'm looking for the way to install Trac into one place and use it
  for multiple projects.

  It should be able to share users between project.

  Additionally, I'm also looking for the way how to manage resources in
  Trac.

  Can anyone give me some information or documentation how to do it?

  Cheers,
  Choopong.

I would start here:
http://trac.edgewall.org/wiki/TracMultipleProjects
--~--~-~--~~~---~--~~
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: trac module for commiting code in subversion

2009-09-18 Thread yoheeb

On Sep 18, 3:50 am, Noah Kantrowitz n...@coderanger.net wrote:
 Trac is a read-only viewer, you cannot alter the repo in any way. If  
 you are using mod_dav_svn it is very easy to setup both Trac and SVN  
 to use the same authentication config (just copy over the Apache  
 config block). If you are using svnserve's password file, look at the  
 AccountManager plugin. If you are using svn+ssh there a backend for  
 accountmanager to use pwauth (http://code.google.com/p/pwauth/).

 --Noah

 On Sep 16, 2009, at 11:00 AM, Frederiko Costa wrote:



  Hello,

  Simple and quick question: I was able to work with the trac's svn-
  browser. I can check out the code, but can't commit code in, unless I
  talk directly to svn server, bypassing trac (which I still believe is
  the way to go). Is there any interface that would easy this situation?
  Would I have to maintain different account for trac and subversion?
  What's the recommended approach for this scenario?

  Thanks in advance.

And make use of the trac-post-commit-hook.py or appropriate variant
for you application
--~--~-~--~~~---~--~~
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: SVN post-commit hook on mac

2009-09-15 Thread yoheeb

On Sep 15, 4:33 pm, Brad Milne mail_4b...@yahoo.co.uk wrote:
 Here is my post-commit-hook:

 {{{
 #!/bin/bash

 REPOS=$1
 REV=$2
 TRAC_ENV=/usr/local/trac/AirportBill

 /usr/bin/sudo -u brad /sw/bin/python2.5
 /usr/local/bin/trac-post-commit-hook -p $TRAC_ENV -r $REV

 }}}

 and I have the latest trac-post-commit-hook for version 11.

 I forgot to mention that the current failure is *silent* - I get no
 error messages (since fixing paths and perms) - just that my tickets are
 never updated :(

 Brad Milne wrote:
  Hi all

  I've seen this problem mentioned a number of places, but nothing I've
  tried has managed to get it running yet. Once I work it out I'd like to
  add it to the OS X install page for trac on the main wiki.

  After changing permissions and path to python in the script, plus
  ensuring I have the latest trac-post-commit-hook script, it still
  doesn't work when I commit.

  'env - ./post-commit /svn/test 7' doesn't give any error messages.
  Should I expect any other outcome from running this?

  I'm running 11.5

  Thanks
  Brad

Just out of curiosity


shouldn't the part or the shell call that reads /usr/local/bin/trac-
post-commit-hook
read /usr/local/bin/trac-post-commit-hook.py   ?

While technically not required, unless you explicitly changed the file
name to exclude the extension in download or copy.
--~--~-~--~~~---~--~~
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: Custom tickets manipulation

2009-09-14 Thread yoheeb

On Sep 12, 9:31 am, Daniel Camargo danielsu...@gmail.com wrote:
 Hi everyone,
 I want Trac to manage different kinds of tickets with specific rules.
 At first I need to create a special kind (type) of ticket called Feature.
 A feature ticket should have a different set of fields and permissions
 (FEATURE_VIEW, FEATURE_CREATE, etc) if compared to a normal defect ticket.
 If possible I want it to be accessed throgh a different tipe of link macro
 (FT#10 http://# instead of #10 http://#)

 Thanks in advance.

 Daniel

I think you could do most of what you want fairly easily with a
combination of TypedTicketWorkflow, custom permissions, and probably
Master Tickets plugin.  Combined with trac's current worflfow/
permission configuration features.

the exception being the custom link type.

What we do here, we use feature tickets with Master tickets and the
TypedTicketWorkflow plugin.  All our feature tickets happen to begin
with Feature Ticket -  for the summary which makes it a bit
easier (when you mouse-over #12345 link, you see Feature ticket)
and provides the inten of your special link type for our purposes.
We don't use custom tickets, I required TICKET_ADMIN to do specific
workflow steps to Feature Ticket type tickets, using the
TypedTicketWorkflow capablilites.

We add all sub tickets of a feature as blocking with master
tickets.  I personally also choose to give each feature ticket a
milestone, so I can use the progressmetermacro right in the ticket
description, and also do some roadmap level stuff,  but that is a bit
retentive.
--~--~-~--~~~---~--~~
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: Custom tickets manipulation

2009-09-14 Thread yoheeb

On Sep 14, 1:25 pm, yoheeb yoh...@gmail.com wrote:
 On Sep 12, 9:31 am, Daniel Camargo danielsu...@gmail.com wrote:

  Hi everyone,
  I want Trac to manage different kinds of tickets with specific rules.
  At first I need to create a special kind (type) of ticket called Feature.
  A feature ticket should have a different set of fields and permissions
  (FEATURE_VIEW, FEATURE_CREATE, etc) if compared to a normal defect ticket.
  If possible I want it to be accessed throgh a different tipe of link macro
  (FT#10 http://# instead of #10 http://#)

  Thanks in advance.

  Daniel

 I think you could do most of what you want fairly easily with a
 combination of TypedTicketWorkflow, custom permissions, and probably
 MasterTicketsPlugin.  Combined with trac's current worKfLow/
 permission configuration features.

 the exception being the custom link type.

 What we do here, we use feature tickets with Master tickets and the
 TypedTicketWorkflow plugin.  All our feature tickets happen to begin
 with Feature Ticket -  for the summary which makes it a bit
 easier (when you mouse-over #12345 link, you see Feature ticket)
 and provides the intenT of your special link type for our purposes.
 We don't use custom PERMISSIONS, I required TICKET_ADMIN to do specific
 workflow steps to Feature Ticket type tickets, using the
 TypedTicketWorkflow capabilities.

 We add all sub tickets of a feature as blocking with master
 tickets.  I personally also choose to give each feature ticket a
 milestone, so I can use the progressmetermacro right in the ticket
 description, and also do some roadmap level stuff,  but that is a bit
 retentive.

wow, my typing was horrible there, sorry for those of you still
getting the typo's out of your burning eyes...  some corrections in-
lined above!
--~--~-~--~~~---~--~~
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: Order of custom fields per milestone

2009-09-10 Thread yoheeb

On Sep 10, 8:14 am, Olemis Lang ole...@gmail.com wrote:
 On Sat, Sep 5, 2009 at 3:14 PM, dbpokorny dbpoko...@gmail.com wrote:

  Hi,

  In Mantis it is possible to define a different order of the custom
  fields on a ticket for each project (milestone). Is it possible to do
  the same in Trac, or is there a plugin for this?

 TracReports or TracQuery is not enough ?

 --
 Regards,

 Olemis.

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

 Featured article:
 Introducción a la API de Google Analytics  
 -http://feedproxy.google.com/~r/simelo-es/~3/iRzT5_lZg4c/introduccion-...

I am not sure exactly what you are asking.  Are you referring to in
the tickets themselves, or on reports?  Also, do you mean per
milestone, or per project?  (I know there are some terminology
differences there with Mantis)

in tickets, per project, you can set the order of custom fields with
the order property.
customfieldX.name
customefieldX.order=6 ...etc.


in queries, you can set the order of reporting whether directly in the
query string if the order, I think it is the cols keyword(if
creating a link to a specific query in a wiki link), and I want to say
the order in which you click the different check boxes affects the
display order, but I can't confirm that (it's just some wild
conjecture that seems right to me.)

Finally, there is the default query string under the query section of
config which might be of some value to you.
--~--~-~--~~~---~--~~
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: Connecting multiple trac instances or per group milestone options?

2009-09-10 Thread yoheeb

On Sep 10, 8:12 am, Olemis Lang ole...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 3:19 PM, Lukasz Szybalski szybal...@gmail.com wrote:

  Hello,
  I have 2 departments that need to use trac mostly for task management.
   Each of them have 2 different milestones and different version.

 Perhaps Authz is what you need. Please read the std docs.

 --
 Regards,

 Olemis.

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

 Featured article:
 Introducción a la API de Google Analytics  
 -http://feedproxy.google.com/~r/simelo-es/~3/iRzT5_lZg4c/introduccion-...

I am not entirely your goal, but a combination of the multirepository
search plugin, and intertrac links might be what you need to address
this.

so, 2 different tracs, different user groups/permissions and their own
milestones.  if a ticket is REALLY in project A it is created
there.  if it affects project B, you create a new ticket in project B,
and put an intertrac link to the real ticket, in the real ticket you
add an intertrac link to reference the placeholder ticket in project
B.

some other options:
- 1 trac with blocking tickets in both milestones.
- add a custom field :sub milestone, or similar.
  - along this line, 2 custom fileds, using the
TracTicketChainedFieldsPlugin would work great to filter the second
option
make use of the Keywords field to add an additional filter criteria.
I think the clearest way within the way TRAC works is to have 2
tickets for everything.  maybe the clone ticket plugin would be
helpful, maybe you modify it a tad to automatically add a back link to
the old ticket (and a forward link to the new ticket) if it doesn't do
that automatically.   you clone the ticket, then change the milestone.

something else that actually might be useful is the Watchlist plugin.
it's not obvious at first, but could have something there for you.

There is also a TracDependencyPlugin for intertrac ticket dependencies
and summary tickets  I really have no idea how it works though.
not sure that helped any.
--~--~-~--~~~---~--~~
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: Workflow plugins

2009-09-10 Thread yoheeb

On Sep 9, 1:39 pm, JT Justman jjustman...@gmail.com wrote:
 Has anyone ever tried AdvancedTicketWorkflowPlugin along with
 MultipleWorkflowPlugin together? I'm prepared to dive right in and
 give it a shot, but I'd hate to get part way through and find that
 something doesn't work.

 Thanks,

 JT

I use the AdvancedTicketWorkflowPlugin.  I specfically have some
workflow cases where I need to set owner to previous and/or set owner
to reporter.  in the case of somewhere in a ticket workflow, it enters
a need more info type state, it goes back to reporter, then reporter
sends it back to previous.  that is just one example, it works fine.
--~--~-~--~~~---~--~~
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: Changing the look of the projects page

2009-09-03 Thread yoheeb


On Sep 3, 6:02 pm, Olemis Lang ole...@gmail.com wrote:
 On Thu, Sep 3, 2009 at 11:42 AM, Peter

 O'Connellpeter.oconn...@solutionspt.com wrote:

  I’ve been looking through the documentation to see where I can place a
  stylesheet for this page to be made a little more easy on the eye, all my
  attempts have resulted in a 404 on the style sheet – does anyone have any
  advice on where my stylesheet can be placed?

 - Use the HTTP server directly (varies according to the server)
 - Including it as a resource in a particular project

 --
 Regards,

 Olemis.

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

 Featured article:

I am going to assume you read 
http://trac.edgewall.org/wiki/TracInterfaceCustomization#ProjectList
[1]

here is a sample genshi template someone posted somewhere,
sometime...sorry, I can't remember, which I use configured per my
setup as instructed in [1]:
it puts each project in a box  I have no idea how it really works, as
i would rather eat paste than learn to truly understand .css (sorry,
firmware guy, mouseless browsing and all)

[code]
!DOCTYPE HTML PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
html xmlns=http://www.w3.org/1999/xhtml;
  xmlns:py=http://genshi.edgewall.org/;
  xmlns:xi=http://www.w3.org/2001/XInclude;
head
  meta http-equiv=content-type content=text/html; charset=UTF-8/
meta
  titleWINDOW TITLE OF CHOICE/title
  link rel=shortcut icon href=favicon.ico type=image/x-icon/
link
  link rel=icon href=favicon.ico type=image/x-icon/link
/head
body
  div id=banner
div id=header
/div
div id=search /div
  /div
div id=main
  div id=content
div id=ctxtnav class=nav
  hr/hr
/div
centerh1PAGE HEADING OF CHOICE/h1/center
ul
  li py:for=project in projects
  py:choose=
  style=float:left;
 border:1px solid black;
 padding:2em;
 margin:1em;
 list-style-type:none
a py:when=project.href
   href=$project.href
   title=$project.description$project.name/a:
ul
li
  a href=$project.href/timeline
 title=TimelineTimeline/a
/li
li
a href=$project.href/report
   title=TimelineTickets/a
/li
li
a href=$project.href/roadmap
   title=TimelineRoadmap/a
/li
li
a href=$project.href/browser
   title=TimelineSource Code/a
/li
li
a href=$project.href/search
   title=TimelineSearch/a
/li
li
a href=$project.href/admin
   title=TimelineAdministration/abr/br
/li
/ul
  /li
/ul
  /div
/div
div id=footer/
/body
/html
[/code]


--~--~-~--~~~---~--~~
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: listing enabled plugins

2009-08-24 Thread yoheeb

On Aug 24, 2:54 am, rhanna ramez.ha...@gmail.com wrote:
 Hi,

 I have several trac environments running on the trac server
 some plugins are installing system wide, and some are installed per
 trac env.
 I need to list all enabled plugins without having to go to every trac
 and look at the admin screen

 can someone point me to a way/doc to do that with python?

 Thanks
 --
 Ramez Hanna
 informatiq.org

I think the easiest would to be to loop all your project directories,
open /config/trac.ini as a ConfigParser object, loop the [components]
dictionary for all values of enabled

Assuming a multi-project parent directory setup here.  there is
probably a more trac-specific way, but that seems easy to me.
--~--~-~--~~~---~--~~
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: Firefox Plugin for Trac

2009-08-21 Thread yoheeb

Just a thought, but why not have a second copy of firefox open, rather
than tabbed-browsing, and minimizes as needed for screenies.

There is also a handy plugin on the Hacks site to attach an image as
part of the initial ticket creation.
Although an app that has a hot-key mapped, takes a screen shot,
prompts for summary and descritpion, connects to trac via xmlrpc,
creates a ticket, and adds the attachment...and makes coffee would be
cool.  that last part would be an optional enhancment of course :D  I
just need the coffee part, really no need for screenshots for our
particular work, since there is no screen
--~--~-~--~~~---~--~~
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: Ticket - User Access restriction

2009-08-21 Thread yoheeb

On Aug 21, 8:59 am, ramesh. saadhvi ramesh.saad...@gmail.com
wrote:
 Hi,

 We have added few components to the components list(ticket), We have few
 external clients,we want them  (users) to create/modify/view tickets. In
 this scenario we want access restriction for the clients based on the
 components.

 Please give me an immense solution for this.

 Thanks,
 Ramesh V

I would immensely instruct them on what these restrictions are, and
require them to stick to the rules.

sillyness aside you could look at the TracTicketChainedFieldsPlugin
however you won't be able to use the default component field, but
rather would need to use a
--~--~-~--~~~---~--~~
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: Bulk edit / sql update queries

2009-08-21 Thread yoheeb

On Aug 21, 2:27 pm, Ethan Jucovy ethan.juc...@gmail.com wrote:
 Hey Don,

 You won't be able to execute SQL UPDATEs from the web interface.  If
 you want to execute that SQL you'll need to use an external database
 client.

 Alternatively you could try 
 installinghttp://trac-hacks.org/wiki/BatchModifyPlugin-- it might also do what
 you need (but without any SQL).

 egj

 On Thu, Aug 20, 2009 at 4:34 PM, Dondon...@verizon.net wrote:

  Sorry if this is a newbie question, didn't see it in the help faq.

  I'm trying to do a bulk update like update ticket set owner='joe'
  where owner='shmoe';

  But I'm not sure where to run that from.  When I try to enter it in a
  custom query, I'm getting an error because it is trying to get a count
  from the query results, as in:  select count(*) from (update ticket
  set owner=...)

  thanks,
   - Don

I typically use batchmodifyplugin for these types of things, however
there are quite a few sqllite convience tools, like Line 709, not sure
I like a SQL Lite Browser that make this easy.  sqllite also has a
command-line option, if I remember correctly , and you could write a
python script that connects to the db and exectues the query as well.

Just some thoughts.
--~--~-~--~~~---~--~~
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: edit trac.ini using python/shell

2009-08-11 Thread yoheeb

On Aug 11, 3:38 pm, Erik Bray hyugaricd...@gmail.com wrote:
 On Tue, Aug 11, 2009 at 4:03 AM, alindalindsha...@gmail.com wrote:

  After some more searching I found a library python-configobj
 http://www.voidspace.org.uk/python/configobj.html#downloading
  Am I suppose to use some other thing.
  IMHO this will work fine for me.
  Thanks.

  On Aug 11, 12:42 pm, alind sharma alind_...@yahoo.com wrote:
  I want to edit trac.ini using python/shell. Whats the best way to do it.
  Want something like I should be able to read trac.ini into some sort of 
  dictionary/list, check if some option is present in the dictionary, and 
  edit its value. There are some options that I want to add like
  track.hg* = enabled,
  webauth plugin = disbaled
  webadming = enabled
  etc. If something like this is already present then it will be fine, 
  otherwise i will write one myself. Can anybody guide me towards the best 
  way of achieving this. Thanks in advance.

   Alind Sharma

 Why bother? If you already have Trac, just use what Trac uses: from
 trac.config import Configuration.

I second that, however, generally when I want to read ini files, I use
the good 'ol ConfigParser library.

as a matter of fact, I think I still use this recipe, or a variant of
it: http://code.activestate.com/recipes/65334/

you only need the  LoadConfig method to read it, the rest is just code
to support the python standard main() function with some values:
pre
def LoadConfig(file, config={}):

returns a dictionary with key's of the form
section.option and the values

config = config.copy()
cp = ConfigParser.ConfigParser()
cp.read(file)
for sec in cp.sections():
name = string.lower(sec)
for opt in cp.options(sec):
config[name + . + string.lower(opt)] = string.strip
(cp.get(sec, opt))
return config
/pre

and the commented/follow up tighter write method looks like the way
to write.

lets you do this:
assming your object is cfg
print cfg.sectionX.parameterY.value
and
cfg.sectionX.parameterY.value=newvalue

type addressing, with this type or recipe.
--~--~-~--~~~---~--~~
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: Business Process Modeling in Trac

2009-08-06 Thread yoheeb

On Aug 5, 10:43 am, Priscilla priscilla.da...@gmail.com wrote:
 Hi,
 I am a new user to Trac. I need a tool where I can draw the business
 process model for a project
 and it will automatically get the timeline from it.
 Does Trac have this facility? I am unable to see the business process
 modeling in Trac.
 May I please get help in this?
 Thanks,
 Priscilla

With the lack of detail, or definition of what you mean by some of the
terms, I am going to guess you are talking about ms project, or
something similiar.

Now, in theory, with spending some time setting up your workflow, and
standards, with creative use of plugins, and things like custom
fields, you could generate this stuff.

 I am a new user to Trac. I need a tool where I can draw the business
 process model for a project
 and it will automatically get the timeline from it.

If you find that magic tool, please let us know. (sorry for the
sarcasm)
--~--~-~--~~~---~--~~
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: WIKI_VIEW privileges are required to perform this operation

2009-08-06 Thread yoheeb

On Aug 5, 10:20 pm, Bin sunbi...@gmail.com wrote:
 Is there any one know this?

 - Bin

 On Aug 5, 7:14 pm, Bin sunbi...@gmail.com wrote:

  I can login to Trac successfully, but it still tells me 'WIKI_VIEW
  privileges are required to perform this operation', and I can't
  reviewed anything, what's wrong with it?

  How can I grant privileges to it?

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

although, odd since I thought WIKI_VIEW was given to everyone out of
the box, included anonymous.
--~--~-~--~~~---~--~~
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: Implementing a new permission (not associated with a specified component)

2009-08-04 Thread yoheeb

On Aug 4, 7:18 am, Olemis Lang ole...@gmail.com wrote:
 On Mon, Aug 3, 2009 at 6:21 PM, Ryan Ollosry...@physiosonics.com wrote:

  Hello,

  I would like to implement a new permission called TRAC_VIEW that will
  be assigned to every authenticated user in my system.

 All users (except `anonymous`) belong to `authenticated` group.

  I did some
  reading about the Tracpermissionsscheme [1], but I don't see how
  this can be done without writing a plug-in.

 Perhaps it is something related to definitions ( jargon ?) :

 Trac permission : Represents an action (abstract, may be a group of )
 that may be performed by users (e.g. TICKET_VIEW - view tickets and
 comments, WIKI_VIEW - view wiki pages, ...)

 User Group : A group of users having that may perform the same group
 of actions .

  Is there a location I can
  simply define a new permission?

  The problem I have is that I want all users to see the tab, but I have
  multiple groups with non-overlappingpermissions, and currently no
  single permission that I can assign to all users without granting some
  of those users access to resources I'd prefer them to not see,

 AFAICS what you need is to define groups of users having similarpermissions. 
 That could be done using LDAP (for example, AFAICR there
 are other group providers)

 --
 Regards,

 Olemis.

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

 Featured article:

you need to implement a custom permission handler:

I know the archive seems lost, but I found this on the gmane copy.  I
can't find the original poster though, credit is not mine, I just hit
CTRL-C CTRL-V:
pre
from trac.core import Component, implements
from trac.perm import IPermissionRequestor

class MyPermissions(Component):
   implements(IPermissionRequestor)

   def get_permission_actions(self):
   return (#39;MY_FIRST_PERM#39;, #39;MY_SECOND_PERM#39;)
/pre

with MY_FIRST_PERM, MY_SECOND_PERM as some new permissions added in
this case
you then added the MyPermissions handler to your permission handler
list in config.

So, you put this file in plugins directory, then add (in this case)
MyPermissions to your permission handler configuration list.

Now, this assumes all you want is a new permission name.  If you want
to do something special, you have to actually code it.

Although, just having the permissions is sufficient.  Such as
IS_QA_PERSON  then requiring IS_QA_PERSON with the worflow to move a
ticket from inQA-Verfied or some other special states.


--~--~-~--~~~---~--~~
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: Trac WorkFlow?

2009-07-29 Thread yoheeb

On Jul 29, 1:35 am, Raina ajeetra...@gmail.com wrote:
 I have been inspired by One Laptop Per Child Trac Workflow. I have
 setup Trac and want to know if anyone who can suggest me How can I
 bring it into implementation? . the Workflow which inspired me
 is :http://wiki.laptop.org/go/Trac_ticket_workflow

 Please Suggest.

Wow, there are a lot of ways one could go on that.  I think I have
some idea's, which I won't have time to get to for a while.  However,
I would suggest that maybe, assuming you get some dialog here, you add
it to one of the recipies or cookbook pages, or just a sub-page
under TracWorkFlow etc.

BTW, it's pretty good inspiration.
--~--~-~--~~~---~--~~
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: Link to ticket custom field value?

2009-07-29 Thread yoheeb

 On Jul 27, 3:02 pm, yoheeb yoh...@gmail.com wrote:

  would this be possible?  I guess I could actually do it the other way
  by using a text area field, and using include macro to link to wiki
  text, however what I would like to do:

  include in the wiki something like:

  ticket X has an estimated hours value of [[GetTicketField
  (X ,estimatedhours)]]  where X is a ticket number

  What would be the best place to start for a macro like this?
  IncludeMacro?

  Thanks
[moved to bottom post]
On Jul 28, 4:46 pm, RJOllos ry...@physiosonics.com wrote:
 Would one of the SQL macros [1], [2] help you?  Perhaps you can just
 pull from the ticket_custom table.

 [1]http://trac-hacks.org/wiki/SqlQueryMacro
 [2]http://trac-hacks.org/wiki/WikiTableMacro


Yes, thanks, the WikiTableMacro plugin added support for scalars. (1x1
result sets)  I will probably wrap that so that i can use my sample
format in the OP, as right now I to include the sql directly, but,
that's no biggie.

It's a nice piece of the puzzle for what I am trying to do with the
wiki at the moment.  man I love this tool.
--~--~-~--~~~---~--~~
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] have we lost some archive info?

2009-07-29 Thread yoheeb

I have noticed my searches aren't returning nearly as many results on
topics I am sure have had many, many threads on them.  For example, a
search for 'date' results in 5.  and specifically, the threads that
have sql in them to list dates closed between 2 dates, or before
certain dates, etc. are missing, as an example.  There are others, but
my search for xmlrpc only came up with 6.

Any ideas?
--~--~-~--~~~---~--~~
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: Planning a Trac Installation on Windows

2009-07-28 Thread yoheeb

On Jul 22, 8:55 am, ray ray.jos...@cdicorp.com wrote:
 Olemis,

 Thank you for your considerations.  I will march forward.

 Why Python 2.6?  Because I only want to be far enough forward on the
 bleeding edge that if I fall, death is quick and I won't be walking
 around thinking I'm alive.

 Ray

 On Jul 22, 7:33 am, Olemis Lang ole...@gmail.com wrote:

  On Tue, Jul 21, 2009 at 7:21 AM, rayray.jos...@cdicorp.com wrote:

  Hi !

   I would like help in reviewing of what I think is the sequence and
   content of the installation process:

   From reviewing documentation, it looks like -
  [...]

   Track 11.5   [ 1)  There is a windows zip and installer, what is the
   difference?]

  No diff at all .

  {{{
  $ unzip Trac-xxx.zip
  $ cd Tracxxx
  $ setup.py bdist_wininst bdist_msi     ; Windows installer
  $ easy_install -z Trac-xxx.zip            ; or alternately install
  using easy_install

  }}}

  And you'll get back a Windows installer . Py is magic !

  I prefer Wininsts in Windows

   Subversion 1.6.3
    Python bindings    svn-python-1.6.2.win32-py2.6.exe   [ 3) I only
   see binding for 1.6.2, do they work with 1.6.3?]

  AFAIK No . You should install svn-python-1.6.2.win32-py2.6.exe , which
  available at the same URL where you can find the Subversion win
  installer.

  Formerly (in some Win hosts ;o) the use of Subversion bindings
  triggered a segfault. The good news is that I tried this version
  (1.6.3) in such a problematic system and it doesnt suffer with that
  bug (so I could finally test my glorious LOCs using SVN backend :P ).

   Appache
    mod_python    [ 4) No version for Python 2.6?]

  I use this one with Py 2.5

  What's the benefit in using Py 2.6 ?

  --
  Regards,

  Olemis.

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

  Featured article:

Make sure you get the correct bindings for the version of Apache you
go with (2.0 vs. 2.2, etc)  This one has cause a lot of hair loss on
this list...
You might want to consider going with python 2.5 unless you have the
patience and time to work through some of the bleeding edge issues
as you mentioned.

Finally, you may wish to start with the default SQLite backend,
although I suspect this to be less of an issue.

I personally use mod_python, but that does come with some limitations
in terms of performance.  If you plan to have a very large number of
trac instances/tickets, consider trying to get mod_wsgi going out of
the gate.

One last thing:  It's Trac, not Track.  Not Nitpicking here, there is
a different system called Track out there somewhere.
--~--~-~--~~~---~--~~
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: change order of built-in ticket fields?

2009-07-27 Thread yoheeb

On Jul 27, 1:43 pm, John Andrunas j...@andrunas.net wrote:
 Is there a way to change the order of the fields for the built-in trac
 fields (with out using any track-hacks).  I can reorder the custom
 fields, but can't seem to find a way to do things such as component,
 etc.

 --
 John

Not  without a plugin, no.  There are a few plugins.  GridFlow,
GridModify, BlackMagicTicketTweaksetc.  I am assuming 0.11.X  I
can't speak for 0.12
--~--~-~--~~~---~--~~
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] Link to ticket custom field value?

2009-07-27 Thread yoheeb

would this be possible?  I guess I could actually do it the other way
by using a text area field, and using include macro to link to wiki
text, however what I would like to do:

include in the wiki something like:

ticket X has an estimated hours value of [[GetTicketField
(X ,estimatedhours)]]  where X is a ticket number

What would be the best place to start for a macro like this?
IncludeMacro?


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



[Trac] Re: call external script on new ticket

2009-07-23 Thread yoheeb

On Jul 23, 7:57 am, oximoron oximo...@alinto.com wrote:
 Sorry to bother you again.

 I come back a last time with this problem. If no solution is found this
 time, I'll try another path..

 The solution to implement the interface 'ITicketActionController' and
 overriding the function 'ticket_created' from the class
 'ITicketChangeListener'
 (http://trac.edgewall.org/browser/trunk/trac/ticket/api.py) seems to be the
 best  easier way to achieve what I want.

 After having read docs on trac and its architecture
 (http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture), I'm sad to
 say that I won't be able to implement this interface by myself. I need help
 with that.

 And as this new feature should only be available for one project, I guess I
 have to put this new function in the project dir of trac.
 But where? (I don't understand the deployment of trac on the server)

 Thanks for your help and sorry to have brought that up.

 Kenny

I think you just need to wrap it as a plugin, and stick it in the
plugins directory for the project.

Your call to subprocess might need the shell argument, sometimes
that's needed, depends on the environment.  If you don't actually need
to wait for the process to complete, or care if it fails, you probably
should run it as a NO_WAIT Popen type call, subprocess waits for the
child to complete. something like:

Popen([/bin/mycmd, myarg])
or even Popen([/bin/mycmd, myarg], env={PATH: /usr/bin}) if
you need a specific user environment for the command
--~--~-~--~~~---~--~~
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] code asset management tools

2009-07-23 Thread yoheeb

Hi all,

we are slowly getting out tools and processes in place here.  One of
the longer term goals (next year or so) is to eventually make use of a
code asset management tool (code database), and I am wondering if
there is anything out there that interfaces to Trac, Could easily be
extended to interface to Trac, or general pointers to know, reliable
tools (commercial or opensource) and works with subverison, or can be
made to work with subversion.

I have only found 2 options so far.  Rational Asset Manager, with the
RAM2SVN glue tool, and sytelbase for eclipse.  while I personally
don't care for eclipse, it is an option.  We we eventually most likely
end up with DOORS for requirements management, although I am strongly
considering whipping up some kind of really lightweight system in trac
that just consists of wiki pages and wiki enabled links, and feature/
task/test tickets with master tickets.  maybe using one of the agile/
scrum mods to trac just to make it an easier transition.  The Itteco
mod looks really good as a base.

I am convinced that requirements features are somehting that should be
managed outside trac however, with links or such via http links or
judicious use the xmlrpc feature.

anyway, I am looking for pointers to code asset database tools that
can be glued to trac either by add-ons, exports, or allow
customization of the source.  any and all ideas welcome.  We however,
code in c(mostly) and some almost entirely, so any kind of modeling
capability needs to  be optional  bonus points for pre-loaded
embedded system libraries. :D

I am pretty sure this is not really the right group for all of these
questions, but ultimately I want Trac to be a big part of the total
picture, so ideas are welcome.
--~--~-~--~~~---~--~~
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: Writing tests for Trac plugins : How ?

2009-07-20 Thread yoheeb

On Jul 20, 10:05 am, Olemis Lang ole...@gmail.com wrote:
 On 7/20/09, Jeff Hammel jham...@openplans.org wrote:



   On Mon, Jul 20, 2009 at 09:29:22AM -0500, Olemis Lang wrote:
    On 7/20/09, Jeff Hammel jham...@openplans.org wrote:
      On Mon, Jul 20, 2009 at 08:47:21AM -0500, Olemis Lang wrote:

    Well concerning test frameworks (e.g. `unittest`, `doctest` ...) I
    imagine (I'm sure ?) it's possible. but in the case of Trac plugins
    there is a peculiar characteristic:

    - How do I get an env populated with the test data ?
    - How do I mock things ?
    - How can I setup (in the test code) the test env so that it can load
    my plugin ?

       - How ? I mean what are the best practices, procedures, steps (or
         whatever ;o) to do it.

     Shoot, I wish I knew.  I'd love to know myself.

    The former are just a few questions (doubts ?) I have. I could start
    writing all that from scratch using any testing framework, but I
    imagine that you already have shortcuts for this (isnt it ? oh !
    please tell me so :( ... ).

  No, sadly, my shortcut is not to write tests because its difficult

 Wow ! What a tiny shortcut ! :P

 Well in that case I could take some time to make it simpler, but I'd
 not want to start from scratch specially knowing that maybe there's
 something out there being useful ;o)

 The fact is that some plugins I maintain are getting bigger and I
 really need to find a way to perform regression tests automatically on
 them. I prefer to spend some time writing something for that purpose
 instead of wasting the same time (or more :-/ ) testing every single
 feature and their interactions

  and because I don't know if there is a testing framework

 When I said «I could start writing all that from scratch using any
 testing framework, » I was thinking about general-purpose testing
 framews (e.g. unittest, doctest, nose, py.test, dutest ; or maybe
 others like Mock or twill )

  and I haven't had time to write one myself :(  Hence me revoicing your 
  concerns

 Well probably it's time to code together and start doing it ;o) In the
 end that should be better for everybody : Better plugins for Trac :)

 --
 Regards,

 Olemis.

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

 Featured article:

trac itself has unit tests, would this not be a good place to start?
http://trac.edgewall.org/browser/branches/0.11-stable/TESTING-README

Just a thought.
--~--~-~--~~~---~--~~
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: call external script on new ticket

2009-07-20 Thread yoheeb

On Jul 17, 6:15 am, oximoron oximo...@alinto.com wrote:
 Hello everyone,

 I searched the archives but didn't find any info about my problem.

 I would like to be able to call an external script (shell or perl or php)
 when a new ticket is created.

 I need that because we interact trac with several other softwares and I need
 to update informations elsewhere when a new ticket is created.

 Can anyone tell me how to do that?

 Thank you

 Kenny

I can think of a few ways:
-write a listener plugin
-Using mail notification, run a mailer daemon that fires off the
scripts. (maybe with the AnnouncerPlugin, or
TicketTeamDispatcherPlugin, might be a bit easier)
-use a bot that subscribes to the time-line rss and reacts that way.
(this is what I would do, personally)
-depending on your database back end, use a db trigger
-There's probably a way to use xmlrpc as well.
-There might be a way to modify the genshi template to run a script on
submit, or modify the submit code directly (this would be ugly, and
hard to maintain, IMHO, but sometimes quick and dirty is the way to
go)

I bet someone has even more brilliant ideas.
--~--~-~--~~~---~--~~
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: Graph generator question

2009-07-20 Thread yoheeb

On Jul 20, 8:38 am, Emmanuel Blot manu.b...@gmail.com wrote:
 On 20 juil. 2009, at 15:06, Steve stephe...@gmail.com wrote:

  The problem that I have is in trying to understand how to configure
  TRAC to return an XML file containing data dynamically generated from
  it's database. I'm not even entirely sure if this is possible.

 Trac is dynamically generating XHTML (that is, XML).

 However the document type needs to be tweaked if you want Trac to  
 generate non-XHTML files.

 Have a look at the RevtreePlugin for rexample: it is generating XML
 +SVG files dynamically.

might be easier to use the xmlRPC plugin? I think you can apply an
XSLT to that as well if needed, although I am not sure why I think
that.
 That said, the mentioned GViz plugin plus google charts may actually
be easier, from what I have seen of it.  I haven't actually used
either, of course, so I am just commenting from the peanut gallery.
--~--~-~--~~~---~--~~
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: Possible to use [[Image()]] and [wiki:OtherPage] at the same time?

2009-07-10 Thread yoheeb

  Thanks Jeff,

  That plug-in looks interesting, but it's not exactly light-weight  :-)

  The equivalent of drawing 6 boxes in OpenOffice draw would require about 40
  lines of markup in the GraphvizPlugin ..

  now, if they had a GUI interface, or a plugin converter tool from
  OpenOfficeDraw, or Viso, That would be cool .

Well, there is Dia, and some other gui tools around, but they aren't
as sophisticated as Visio/SmartDraw, et. al.  But have you actually
used it.  I am not sure what the context of your 6 boxes is, but a 6
box graph for me is
only about 10 lines of markup.

Now, I happen to have a graph with 6 subgraphs, with 6 boxes in each
them, each with a their own hyperlink, and cross node lines, each
subgraph also has a hyperlink as well.  That's about 50 lines of
markup.  Most of which was cut and paste.  It took me about the same
time it would of taken to actually draw the graphs in visio, which
of course doesn't have the links etc.  Then I can just right click-
save image as, and paste into my document that also uses this image.

As a bonus, I can actually source control the graph markup, and use
the IncludeMacro to put it on a page.  Then I can actually inspect the
diff between 2 versions, rather than rely on a  pure visual
inspection.  Anyway, my point is that you may want to consider going
the other direction.  Rather than draw the graph and port to wiki,
write the graph, and export to image.  It takes a little bit of time
to learn to visualize the markup however, and it will never be as
pretty as the drawing programs, but it can be close, and look good.
For example, the output of programs like DoxyGen use DiaGraphs.  Would
be nice if one of these tools like OpenOffice draw could export to dia
format.  or if there was a conversion path of some sort.
--~--~-~--~~~---~--~~
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: Trac VS Bugzilla

2009-07-09 Thread yoheeb

I forgot a feature a big feature that I use all the time.  I use it so
much, I forgot about it.

unfortunately for us, most of out outside contractors, don't have
access to our Trac, and more importantly, our Subversion repo, due to
IT restrictions lets say.

So, we end up doing manual source control for these individuals.
They send us their changes, we merge them into the trunk, and send out
a zip file of the latest/greatest trunk to everyone.  Well, that was
without trac.  Now, we still have to merge their changes to the
trunk.  but we then go to the revision log for the trunk between
revision LAST_TIME_WE_SENT_IT_OUT and the head revision we just merged
in.  we click the zip archive download in other formats option, and
send the resulting zip file to everyone, which contains the complete
contents, and directory structure of ONLY the changed files.  SOO much
better than doing a full checkout/local copy update, manually zipping
the whole dang solution, and emailing the whole thing (or ftp server,
whatever)  Yes, Ideally they would have access to the repo, however my
expectation is that our IT will let that happen in about a billion
years from now

It's another one of the little things that make Trac, as a whole, a
much superior tool.  It's not just one or two key features, but its
more than a sum of its parts, significantly more.
--~--~-~--~~~---~--~~
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 rename Roadmap tab and change Milestone text

2009-07-08 Thread yoheeb

On Jul 2, 11:18 am, Chris Nelson chris.nel...@sixnet.com wrote:
 George Ganjei wrote:
  It looks like I need to sign in with a Gmail address to post a
  question, however I think I will receive emails at my Faulkner
  address. Or did you email me directly at my Faulkner address?  

 I cut and pasted your Faulkner address into my To line.

 Once you are a member (and it knows your non-Gmail address), you can
 mail directly to trac-users@googlegroups.com rather than go to Google
 Groups to post.

Having the account helps a bit with spam.  I turned off e-mail
notification and jsut use the web interface.

As for your questions.

I am not entirely sure what you mean my change milestone text, but if
it is what I think, when you access a milestone via the admin
interface, there is a description textarea.  This supports full wiki
markup, so it is very flexible.  (I, for example, include a workload
chart macro,and a burndown macro, with each one, as well as some text
that describes the milestone, etc.) Amin|milestones|click on the
milestone in question to get to the manage milestone interface...

To change the name of the main, or meta-nav text see:
http://trac.edgewall.org/wiki/TracNavigation about how to edit your
trac.ini file apporpriately.

I am ccing your request email on this one, but please respond to the
group.  I also recommend you follow the threads in the group, as it is
possible (although not in this case so far) others may not email you
directly, but have better answers.

Hopefully this answers your questions.
--~--~-~--~~~---~--~~
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: Batch Modify plugin

2009-07-06 Thread yoheeb


 I tried re-starting the browser. No joy.

 I am guessing there is something in 0.12multirepos that is not in the
 0.11 everyone happily using this plug-in are using.

Again, I had to forcibly go in and clear out everything in the cache
and private sessions, after navigating away from the trac sites, then
close and start back up.  closing the browser was insufficient.
Despite having the browser set to clear automatically on exit.  I have
no idea why.  This is in Firefox.  Has always been an issue for some
reason.  I still have to do it sometimes.  I also see sometimes if I
select too many tickets, the changes don't seem to apply.  If I reduce
the ticket count until I can apply, all the original request changes
show up in the browser, and I don't get the error message with it.
Weird, but it works  But yes, I am on 0.11, so could be.
--~--~-~--~~~---~--~~
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: Query options of a custom field

2009-07-01 Thread yoheeb

On Jul 1, 1:21 pm, RJOllos ry...@physiosonics.com wrote:
 It sounds to me like the values for custom fields of a ticket are
 stored in the ticket_custom table, but not the available options for a
 custom field.  Where are the possible values for the custom field
 stored?

 On Jun 30, 5:00 am, Dan Winslow dwins...@aiminstitute.org wrote:

  The custom values are stored in the ticket_custom table. The columns are
  ticket, name, and value. Ticket holds the ticket id, name holds the
  field name, and value holds the field value. It's quite a cumbersome way
  to do things but it works.

  -Original Message-
  From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]

  On Behalf Of RJOllos
  Sent: Monday, June 29, 2009 7:51 PM
  To: Trac Users
  Subject: [Trac] Query options of a custom field

  Hi,

  I would like to list the options of a custom field in a wiki page.
  Using the WikiTable macro [1] I've been able to do this for fields of
  a ticket that have their own table or exist in a table of the
  database, such as component and resolution.

  SELECT name, description FROM component ORDER BY name

  SELECT name FROM enum WHERE type = 'resolution'

  However, I don't understand from looking at the database schema [2] if/
  where the options of a custom field or stored, though I think that I
  understand that the actual value of a custom field is stored in the
  database rather than a key.

  [1]http://trac-hacks.org/wiki/WikiTableMacro
  [2]http://trac.edgewall.org/wiki/TracDev/DatabaseSchema

  Thanks!

the possible options of custom fields (I am assuming a select type
here) are stored in the .ini file.  my guess is the only off the
shelf option you'll find, and I have never used this, so I can't
verify is the http://trac-hacks.org/wiki/IniGetMacro

in theory, something like this [[IniGet(CustomFieldA.options)]]

probably in a table or something:
||'''Custom Field Name'''||'''Possible Values'''||
||CustomFieldA|| [[IniGet(CustomFieldA.options)]] ||
||CustomFieldX|| [[IniGet(CustomFieldX.options)]] ||

I also expect it will be ugly with a response like 100|200|300|400|
500  so you might want to augment this macro to split on the | and
format the result string.  Again, assuming it works.
--~--~-~--~~~---~--~~
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: Batch Modify plugin

2009-07-01 Thread yoheeb

On Jul 1, 9:11 am, Roger Oberholtzer roger.oberholt...@gmail.com
wrote:
 On Wed, 2009-07-01 at 06:53 -0700, jevans wrote:

  On Jul 1, 12:55 am, Roger Oberholtzer roger.oberholt...@gmail.com
  wrote:
   On Tue, 2009-06-30 at 12:21 -0700, jevans wrote:
Hi Roger,
Does it show check boxes next to each field and are you able to check
them?  If so, that should enable the fields you check.

   The check boxes work. But I cannot do anything in the fields themselves.
   Like enter text in a field, or select a milestone. The only exception is
   the Comment field, which acts as expected.

ok, I hate to ask this, because I had this same issue, and took a
thread just like this before I finally realized what everyone meant.

have you checked a check box NEXT TO A TICKET in the query results to
batch modify ?

in other words, you have to check at least 2 boxes, one to the left of
a ticket #(really More than one  why would you batch modify a single
ticket?), and then the field you want to modify (say, milestone).
Again, it seems obvious, but I was a knucklehead until it finally
clicked.

Also, I have found that for some reason I need to occasionally need to
navigate away from trac, force firefox to clear it's cache, then
restart it and the check boxes next to the tickets (which I alluded to
above) magically appear.  since by default, NONE of the query results
are select to apply the changes to, and the darn check boxes next to
the individual tickets just weren't present.  I am guessing this might
be your case.  you never have seen those checkboxes next to each
ticket ID everyone is talking about.

Of course, it could just be not working for you.
--~--~-~--~~~---~--~~
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: (XML)RPC plugin news

2009-07-01 Thread yoheeb

cool, and thanks.  I have high hopes for the XMLRPC feature.  I really
think it is the right way to integrate a lot of things I wish trac
did into trac, that really don't belong as part of the web interface,
IMHO.


--~--~-~--~~~---~--~~
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: Trac VS Bugzilla

2009-07-01 Thread yoheeb

On Jun 30, 8:11 am, normalAnomaly nir...@thenationtraffic.com wrote:
 Hello.

 I am considering using Trac as an issue and bug tracking system. I've never
 used it before, however I do have some experience with Bugzilla.

 Can anyone give me a general overview of pros / cons of using Trac for bug
 tracking over Bugzilla?

 Thanks!
 --
 View this message in 
 context:http://www.nabble.com/Trac-VS-Bugzilla-tp24271628p24271628.html
 Sent from the Trac Users mailing list archive at Nabble.com.

for lack of a better summary, comparatively, bugzilla sucks.  But that
is truly an opinion.  I have found trac significantly more capable,
more flexible, and easier to tweak.  However, I never have liked
bugzilla, so I am biased.  The customizable work flow, combined with
the typedTicketWorkflow plugin, just allow me to do things I counld
never make happen in bugzilla.  combined with other little things,
like ticketValidator plugin, etc.  Not to mention the powerful wiki.

The flip side, bugzilla has been around a long time, and has a few
things out there Trac might not.  I have no idea what bugzilla is
actually built upon, but Trac was built upon a very well planned and
executed architecture, which sits upon the best language out there for
ease and flexibility of these sorts of things.   Again, pure opinion.
I also have found the community superior, not quite sure why that one
is, I could be an anomaly on that one, I just didn't get much help
from the bugzilla community in my limited attempts.  Not enough data
to state that as a definitive.
--~--~-~--~~~---~--~~
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] Itteco Trac Plugin

2009-06-29 Thread yoheeb

I have to say, impressive.

I hope to see this internal project of yours continue to have success
and be published.  I haven't even tested it yet, but I have been
reading up on the features, and it seems to have everything I need, in
a very flexible format.  Great design guys, and excellent execution.

We are not a scrum based set-up, yet I plan to try to use this plugin,
based on it's flexibility, it should work nicely!  Just wanted to give
props.  I know you have it in closed beta, but if there is anything
you want tested, let me know.  I'll be trying this on a windows
platform.  Hopefully this stuff will port to 0.12 well!
--~--~-~--~~~---~--~~
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: Show Closed Tickets from a certain date

2009-06-25 Thread yoheeb



 If you get the sql working for you please add it here with {{{ code
 }}}

 http://trac.edgewall.org/ticket/8354

 Thanks,
 Lucas

not sure what you are asking here.  First, a trac ticket to add more
custom reports to the supplied sample reports probably will be
closed as invalid.  It's not the trac dev's responsibilty, the
supplied sample reports are just that, samples.  If you need custom
reports, you need to create your own, or hire it out.

I suspect you are using a ticket to collect a recipes list.  In that
case, the wiki is more appropriate, and someone actually started a
Cookbook idea

http://trac.edgewall.org/wiki/CookBook/About

finally, the sql IN the thread I linked does work.  There are actually
3 or 4 reports in the thread (closed in the last month, closed in
current month..etc.)  If you find any of them useful, go ahead and
paste them into your ticket.  be sure to reference the poster of those
sql and/or the thread.
--~--~-~--~~~---~--~~
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: Show Closed Tickets from a certain date

2009-06-24 Thread yoheeb

you can use a custom sql report, as mentioned above.  but you don't
need to install the datefield plugin.  The datefield plugin is
valuable.  however, what you are trying to do has been done with sql
and date functions:

see this thread:
http://groups.google.com/group/trac-users/browse_thread/thread/c3452e8656af5988/62c9ebdee6ec91ea?hl=enlnk=gstq=datetime#62c9ebdee6ec91ea

It has a few different types of date based reports for you.  closed
the last month, closed THIS month..etc.  I believe they are SQLlite
examples, no guarantees on postgres or mysql.

one of these is looking for tickets that transitioned to closed
between 2 dates.  The dates in this thread are hardcoded, but could be
supplied as part of the url to the report to dynamic variables.  in
your case, you would only need half the equations the greater than
date X part.  Rather then between.

you would send the date to the report by appending it to the report
url like so: YourProjectPath/report/18?DATEONE=2009-03-24  or
something, might have to escape for urls  assuming you used DATEONE as
your variable.  then in place of the hardcoded date you just put
DATEONE.

The downside of this is if you click on the actual report link in
view tickets it bonks, since you need to provide the dynamic
variable.  It's easy to provide the variable as part of a wiki link
however.  if you wanted to auto-fill in the date form a selection,
you'd need a custom form, or template, or maybe something that uses
the datepicker javascript plugin thingy with some custom page/template-
fu somehow.  I'm sure it's easy for people that understand css and
templates etc.  I just embed it as a link on a wiki page :D

hope this helps.
--~--~-~--~~~---~--~~
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: Show all states the ticket has gone through

2009-06-24 Thread yoheeb

On Jun 23, 1:58 am, Sneha sneha.shet...@gmail.com wrote:
 Hi All,

 I want to create a report to display all states a ticket has gone
 through.

 Ex:
 Ticket 1 | new - assigned - closed - reopened - assigned

 I tried using following query to generate the result:

 select ticket,group_concat(newvalue) from ticket_change where
 field='status'

 It is working fine if directly executed on db, but when I added this
 in Trac reports, its showing no such function: group_concat error.

 Is there any other way to get the all states of a ticket?
 Thanks in advance.

 -Sneha

hmm, I would think you could do this with a custom sql report, on the
ticket_change table.  newvalue where ticket=N and field=status  that's
not the actual sql, but those are the tables and field names. where N
is the ticket # you are inquiring about.

now, you'd need some kind of concatenation or something if you wanted
something like a list like.  since I am an sql nit-wit...I have no
idea how you would get something like:
ticket|states
2   assigned,closed
3   assigned,accepted,new,closed
.
--~--~-~--~~~---~--~~
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: Show all states the ticket has gone through

2009-06-24 Thread yoheeb

On Jun 24, 5:11 pm, yoheeb yoh...@gmail.com wrote:
 On Jun 23, 1:58 am, Sneha sneha.shet...@gmail.com wrote:



  Hi All,

  I want to create a report to display all states a ticket has gone
  through.

  Ex:
  Ticket 1 | new - assigned - closed - reopened - assigned

  I tried using following query to generate the result:

  select ticket,group_concat(newvalue) from ticket_change where
  field='status'

  It is working fine if directly executed on db, but when I added this
  in Trac reports, its showing no such function: group_concat error.

  Is there any other way to get the all states of a ticket?
  Thanks in advance.

  -Sneha

 hmm, I would think you could do this with a custom sql report, on the
 ticket_change table.  newvalue where ticket=N and field=status  that's
 not the actual sql, but those are the tables and field names. where N
 is the ticket # you are inquiring about.

 now, you'd need some kind of concatenation or something if you wanted
 something like a list like.  since I am an sql nit-wit...I have no
 idea how you would get something like:
 ticket|states
 2       assigned,closed
 3       assigned,accepted,new,closed
 .

wow, looking at it, I somehow missed your comment about already trying
that...sorry, must have more coffee.

There was a comment in this group about the concat method recently,
might be worth a search.
--~--~-~--~~~---~--~~
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: Does Trac really work on Windows

2009-06-18 Thread yoheeb



On Jun 18, 10:54 am, Dan Winslow dwins...@aiminstitute.org wrote:
 True enough...lets call it 'unfriendly mail' :)

 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]

 On Behalf Of Jennifer A. Drummond
 Sent: Thursday, June 18, 2009 10:23 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: Does Trac really work on Windows

 But also not exactly hate mail.

your right, and I apologize.  It was out of line.

I just have see a LOT of posts to this group in the last year along
the lines of:
I have this other tool I used for years, and I can't make yours work
just like it.  it's a piece of ...
or  I don't know any python, and I am not willing to try to learn,
but I want to make this plugin, and it doesn't work, this thing is a
piece of...
or I didn't really read the docs and setup install instructions for
my specific set-up, it does work, your tool is a piece of...  oh
sorry, missed that note about NOT pySvn but SWIG bindings
etc. etc.

And I vented, since this is a really good group, for some reason I
felt obligated to defend it, given the perceived tone of the
original post.

Again,

I was wrong.


--~--~-~--~~~---~--~~
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: Locking Ticket # while working on it?

2009-06-18 Thread yoheeb



On Jun 18, 10:38 am, Lukasz Szybalski szybal...@gmail.com wrote:
 On Jun 18, 7:26 am, Dan Winslow dwins...@aiminstitute.org wrote:



  ... that should be enough.

  Should be enough for whom? Depending on people to behave correctly when
  using information systems often causes problems.

  I don't know of any simple database-based way given the
  architecture...db level locking is problematic in a web environment, and
  SQLITE anyways uses file-level update locking.

  My approach is to block anyone who is not the owner (or TRAC_ADMIN) from
  doing most operations on a ticket. You can use the
  VirtualTicketsPermissions plugin to restrict your choice of workflow
  operations to owner only. That does not block folks from changing ticket
  properties, however, and so I looking at some other plugins for that. I
  am hoping that blackmagictweaks can do that, although I know I will have
  to modify it as it does not pay attention to owner and current user
  relationship.

  The concept of permissions, workflow, and command dependence on Owner ==
  Current User is a basic ticket system concept and is missing from TRAC
  core, as far as I can tell. I'm hoping it gets included in the next
  versions.

 So my options right now are
 1. Provide user with batch change options so they can assign 20
 tickets to them selfs then get my tickets and work on these.
 2. Tell the user to communicate with each other on who will do what?
 3. Or tell them to assigned tickets to them self and force edit only
 if you are an owner? Is there a permission for that? What happens when
 somebody else has a solution for the ticket, how would they reassigned
 to themself if they are not the owner?

 Seems like option #1 is least restrictive and might give me the
 results I'm looking for. Any other options?

 Thanks,
 Lucas

  -Original Message-
  From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]

  On Behalf Of Tomek Grzechowski [k3o]
  Sent: Wednesday, June 17, 2009 4:34 PM
  To: trac-users@googlegroups.com
  Subject: [Trac] Re: [task] Locking Ticket # while working on it?

  yeah,

  a person can accept a ticket and the ticket will have its status
  changed to assigned.

  another person should not work on a ticket that has status eq assigned.

  that should be enough.

  2009/6/17 Lukasz Szybalski szybal...@gmail.com:

   Hello,
   We have setup our trac to monitor our high volume of tasks(500 a day).
   We've put in out task in milestone categories. Now we have 2 or 3
   people that are working on particular milestone and tasks in it. While
   one opened the ticket, and is working on it (average 3 minutes)
   another person pulls the same report and starts working on the same
   ticket.

   Is there a solutions that would lock the ticket or notify another user
   that somebody is working on this ticket(preferred)?

   Thanks,
   Lucas

  --
  Tomek Grzechowski
  -
  mini...@k3o; developer/programmer;http://k3o.eu
  miniman@gmail.com; +48 662 279 869 (cell)
  skype: miniman.k3o

this is a tough one.
for probably 99.9% of the trac users, a simple workflow step of
accept which moves the ticket to inProgress or similar suffices
for this need.
then in your open tickets query, you just exclude that state.
So a user A goes to the list:
opens a ticket that is new, clicks accept, it moves to inProgress
User B goes to the list:
They never see the ticket that user A just accepted. (it's not new
so it's not in the new tickets query)

However, it sounds like, in your case, the high volume and speed at
which tickets are triaged, it is entirely possible for user B to open
a ticket between the time user A opens the ticket and clicks Accept.
Is this a correct assessment?

If that is the case, how about a plugin, that responds to ticket
create, and automatically assigns it to a user in a round robin format
or something(mod N, whatever).
Then implement the only the owner or TICKET_ADMIN privileges can
modify a ticket in the Assigned- * action permission(s).


--~--~-~--~~~---~--~~
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: Last Modified By

2009-06-17 Thread yoheeb

On Jun 17, 2:59 am, Chris Carr ranting...@gmail.com wrote:
 Originally sent to the trac-hacks users ML, which seems to have no
 traffic, so re-sending here. Grateful for any thoughts on how to do this
 and whether it's already been done:

 On Sat, 2009-06-13 at 11:11 +0100, Chris Carr wrote:
  Hi all,

  I'm looking to add a custom Last Modified By field to Trac tickets,
  which is automatically populated with the $USER of the last person to
  comment on or modify the ticket. Before I started, I thought I would see
  if anything similar was out there. I've looked on trac-hacks, and I
  can't see anything related except the CustomFieldAdmin and
  CustomFieldProvider plugins. Does anyone know whether what I want has
  already been done, either by using these plugins or some other way?

  (I've also looked at trac.edgewall.org but I can't see any tickets about
  this there. When I asked in #8371 I got pointed towards custom fields,
  hence my assumption that it could be done that way.)

  Grateful for any thoughts - is it worth putting this on Request-a-hack?

  Regards,

  CC

This information is already available in the ticket history.  Really
it's just a matter of extracting this information for reporting
purposes (I assume) since it is displayed in the ticket history.  Some
SQL-fu should probably take care of what you are after.  I,
unfortunately, and an SQL nit-wit.  But I am sure someone can answer
it.  if it hasn't already been shown somewhere in this user group.

also, if it's just a viewing issue, and you really don't want to
scroll to the bottom of hte ticket change history, you can click on
the link in Last Change xMonths ago
which will take you to the timeline, and highlight the particular
change in question, which also shows the whom in this equation.

Just some thoughts.
--~--~-~--~~~---~--~~
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: Does Trac really work on Windows

2009-06-17 Thread yoheeb


 Question 1. Does Trac really work on Windows? I am beginning to doubt
 it.
yes, it does.

You have already decided in your mind, that since it's not on Linux,
it must be crap.  You also decided to substituted a bunch of non-
supported components, that probably should work, and decided since
it doesn't, it's crap.

in other words, you did this:
So, I put this brand new Ford engine in my old Chevy, and would you
believe, the parts didn't just FIT out of the box, and it had this
requirement for some-sort of on-board computer my old Chevy didn't
have.  boy, Ford makes crappy engines.  Cuz, I'm a  great mechanic,
and if I can't make it work with the stuff I have in my garage, it
just isn't worth nuttin.

I would push back on your boss, and tell him, hey, VisualSVN isn't the
way to go here, it might not ever work, or, take a great deal of time/
effort/and stress to get it up and running.

Even if you went Linux, and used untested/unsupported parts,  you
might have the same issues.


--~--~-~--~~~---~--~~
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: concurrent editing of wiki pages

2009-06-16 Thread yoheeb

On Jun 16, 9:29 am, Roger Oberholtzer roger.oberholt...@gmail.com
wrote:
 Don't panic. I am not asking for this (but would be happy if it
 existed!).

 My question is: what is the best thing to do when that happens in trac?
 I have a few users to whom this has happened. They just let their
 changes go away. I am guessing there is perhaps a better way to deal
 with this. Any ideas? Like:

 - open a new browser tab, get the edit that someone else saved while you
 were still editing, and cut and paste your changes between the tabs.

 - (better suggestion goes here)

 Roger Oberholtzer

DataSaverPlugin
--~--~-~--~~~---~--~~
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: Performance

2009-06-16 Thread yoheeb

On Jun 16, 12:07 pm, Shane Caraveo mixedpu...@gmail.com wrote:
   I have also been doing some load testing in relation to issue #7490. My
   results, assumptions, testing environment, and test scripts can be
   found athttp://trac.edgewall.org/wiki/Performance. I would be
   interested in seeing the results of other people duplicating these test
   as it may help in reproducing problems like the one you have been
   working on.

 Hi Lance,
 What are the numbers in the results on that page?  ms?  req/s?

 Regards,
 Shane

I am going with Donuts per Cups of coffee
--~--~-~--~~~---~--~~
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: ticket workflows

2009-06-16 Thread yoheeb

On Jun 16, 11:41 am, Kathi Pitts pitts...@gmail.com wrote:
 i'm using version 0.10.4.  i want to use the enterprise workflow.  do
 i have to upgrade to get the workflow.ini? or can i simply edit the
 trac.ini by adding a ticket-workflow section?

 is there a plugin that would be better?

 tks much

 k

it was added in 0.11.  Copying part of the milestone release notes the
biggest in your case, being the Caveats section about downgrading.
food for thought:
Milestone: 0.11

Feature Summary

snipped
* support for fine-grained permission, allowing very flexible
control over what an user can see or do in the whole system
* support for configurable workflow in the ticket subsystem
snipped

Caveats

* Coming from 0.10.x, an environment upgrade is needed (trac-admin
$TRAC_ENV upgrade) and you can't downgrade to 0.10-stable without some
manual intervention (see TracUpgrade), so keep a backup at hand ;-)
--~--~-~--~~~---~--~~
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: Trac wiki markup vs ReST

2009-06-08 Thread yoheeb

FYI, you link to your copyright on your web site points to a non-
existent file in your source control browser.

I'd like to read it.  I was very interesting in your GraphViz plugin,
but based on your comments i am not scared off a bit, depending on
what you copyright actually says.
--~--~-~--~~~---~--~~
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: Count Incoming tickets by milestone, and count closed tickets by milestone and user.

2009-06-08 Thread yoheeb

On Jun 4, 4:21 pm, Lukasz Szybalski szybal...@gmail.com wrote:
 On Jun 3, 4:55 pm, Lukasz Szybalski szybal...@gmail.com wrote:



  On Jun 3, 3:34 pm, yoheeb yoh...@gmail.com wrote:

   On Jun 3, 2:10 pm, Lukasz Szybalski szybal...@gmail.com wrote:

On Jun 2, 3:54 pm, Lukasz Szybalski szybal...@gmail.com wrote:

 Hello,
 I'm trying to get management reports for the following:

 1. Count Incoming tickets by milestone sort by date,  (30 new tickets
 for milestone on 06-02-09)
 2. Count closed tickets by milestone and user.  (25 tickets closed by
 xyz on 6-2-09)(list a count by user in each milestone)
 3. lookup by custom field? (custom field = account_number) (With query
 I can do that, but how do I put it on a wiki so that they can type in
 account# and press query or something along these lines.)

 Where can I find examples on how to do this?
snip
 how can I convert t.time to a date, so that I can group by t,time as a
 date and not as a datetime??

 Right now this query groups by datetime object and I need it to order
 by date only.

 SELECT time as created,time,milestone, count(*) AS 'Count of Tickets'
   FROM ticket
   WHERE status IN ('closed') AND time  strftime('%s',datetime
 (now,-14 days))+0
 GROUP BY (milestone IS NULL), milestone, created

 How to convert time into date like 20090604???

 Thanks,
 Lucas



  and the second query
  select user, milestone, count(*) , from ??  where status = fixed group
  by user, milestone, closeddate

An example of some queries that select things by date/time can be
found in this thread:
http://groups.google.com/group/trac-users/browse_thread/thread/83c426562091c253/d1da6fdc7e5eac84?hl=enlnk=gstq=between+dates#d1da6fdc7e5eac84

what you are after is the 'unixepoch', 'localtime') as closedate
partI think
assuming sqllite.  If you are on postGres, I can't help you, my SQL is
weak!, and I have never used postGres, so I don't know the variance.

The key in that thread that might be useful in your case, they
actually test for a transition to a specific state.  In your case, you
probably only need the creation date if date today, or today -14.
The html form for submission, on the other hand, would be cool to
know.  I am still of the mind that the best web browser to use in
lynx, and that if I bury my head long enough, the whole idea of web
forms etc will just pass me by :D

Now to go figure out this new fandangled mouse thingy

:wq
--~--~-~--~~~---~--~~
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: Is it possible to use different versions of a plugin in multi-project environment?

2009-06-08 Thread yoheeb

Wow, so cool.  I am repeatedly amazed at how thorough the Trac dev/
features/implementation has been up to now.  There is practically no
use case that hasn't been thought of and a supporting implementation
put in place in core for it, much of which has already been
implemented by way of plugin, macro, patch, or other

This is one thing I wouldn't of even thought of, but I see how useful
it would be.

Kudo's
--~--~-~--~~~---~--~~
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: Trac Recipies

2009-06-04 Thread yoheeb

On Jun 4, 10:38 am, Eirik Schwenke eirik.schwe...@nsd.uib.no wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Christian Boos skrev 03. juni 2009 23:37:

  yoheeb wrote:
  One of the things I've found very useful in MoinMoin wikis (and
  certainly many other wikis have this feature but Trac), is the ability
...for the record, I didn't write that, so no, I can't elaborate on
what I meant, but it does sound rather insightful... :D  I have been
misquoted!  oh no, it's on the internet, it must be true!

As an observation, here's is what I think seems to of washed out of
this hijacked thread so far in terms of intent

maybe we should have an adopt-a-wiki-page type thing, similar to
adopt-a-hack on track hacks.  someone can adopt a page, and either
be notified of changes by one of the notify type plugins, and have the
chance to moderate the changes. Or be given exclusive (by that, I
mean, in addition to all the people that actually maintain trac) to
edit that page specifically, and the edgewall site could create
components for each of the top level wiki pages (or a suggest a new
top level topic as well) for the purpose of people to suggest updates
to topic X, with topic x automatically getting a CC and choosing to
close the ticket.  If a topic doesn't have an owner, the top guys
can make the stub, update the ticket so the post has the option to
adopt it, or someone else can adopt it.

Also, we could, for example, standardize on a convention for recipe
naming:
SomeWikiTopic/Recipes/HowtoDoSomethingCool
SomeWikiTopic/Recipes/HowtoDoSomethingMoreCool
SomeOtherTopic/Recipes/HowtoDoSomethingLame

so each topic could have a topic specific Recipies TitleIndex
section in it somewhere.
Some top level page could collate all */Recipies/* pages

etc.

What'cha think?

[note: long winded example follows:]
The Recipe pages could also link to their parent, or EVEN have sub
recipes:
ApacheSetup/ModPython/Recipies/Windows
ApacheSetup/ModPython/Recipies/Windows/Recipes/LDAP
ApacheSetup/Recipies/ModPython/Windows
ApacheSetup/ModPython/Recipies/Ubuntu
ApacheSetup/WSGI/Recipies/VirtualServers
ApacheSetup/SubversionAuth/Recipes/httauth  etc.

Now, for the sake of argument.  Lets say we used the ticket idea
mentioned above.  I need some information:
I find ApacheSetup
I find there is a recipe for modpython on windows
I find there is a sub-topic page on WSGI
I see there Isn't a sub-topic page on WSGI on windows, or recipe page.
I use everything I get from the main apace topic, the wsgi topic, and
the modpython recipe to get close.
I go to the usergroup, get some help to find out how to get the
details working out.

I go the the ApacheSetup/WSGI page, click the link for request a
change or correction to this page (I am assuming we put them on all
the pages in this model)
I get a ticket, with ApacheSetup-WSGI as the component.  somewhere I
can fill in something that says RECIPE (keyword, new type, custom
field, whatever)
I suggest a new recipe: I wiki format an Apache/WSGI/Recipes/Windows
page, with all that I learned.  The owner of the page, (if already
adopted) can moderate this info, maybe contact me, and very possibly
choose to add it to the the WSGI/Recipies/Windows page.  They could
even offer to have ME become the owner, or abandon that particular
sub page, letting myself, or someone else adopt just that recipe.
I am on windows

Or in short form, Lets have topics be parents of recipes.  If there
isn't an appropriate topic, there probably should one.  ?
--~--~-~--~~~---~--~~
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: Trac Recipies

2009-06-03 Thread yoheeb

seems to me some sort of hierarchy should be considered, or
standardized a bit for sub-wiki pages and sub-sub-wiki pages.

I.e. SeaOfChange:

blah blah

although, sure seems to me like a LOT of this information is ACTUALLY
on the trac site, or trac hacks, people just don't like to look.  The
originator of this thread list many VERY specific things they want to
know how to do, some of which are not possible the way they want to do
it.  These types of things are perfect for asking the newsgroup.  Not
picking on him, but for the sake of example: Wishlist item 1.  The
ticket validator plugin works fine.  yes it is limited in that it only
validates against empty.  There are 2 other plugins on track hacks
that might meet the needs  BlackMagicTicketTweaks, or the still in
infancy TicketSubmitPolicy (which, pretty much doesn't work quite
right).  The point, after searching the haks a bit, might not quite of
had enough info, and the right place would of been the usergroup for
what amounts to special behavior.  A more organized set of docs would
of only led you to the conclusion, base track doesn't support it,
these plugins might.   You probably have to actually code something
custom, for a custom behavior.

The second wishlist item:  Not possible currently.  A quick search on
the user group would of (or the request a hacks, or the track haks
ticket list) would of found a few tickets have been requested to
consider how to implement this behavior in the future.

And the final one, in this case.  TypedTicketWorkflow.  not hard to
find, does what you want.  In any of these cases, A.) searching the
usergroup, then B.) asking the question if not found in A. would of
been likely, the best way to get to these tools, and some tips/answers
because they are really special cases.

I am a big fan of wiki linking etc., but people still have to actually
search the wiki, then dig a little, for specialized stuff.

The current wiki setup does have a LOT of information on typical use
cases.  For example, I was able to find out how to set up trac, to use
apache and windows domain authentication, on windows, with subversion
from the TracOnWindowsand a few other links that you end up
getting to.  Being an Apache nit-wit, I then had to use the usergroup
to ask some specific questions, which someone that knew anything about
Apache wouldn't of needed to have specified.  In that case MAYBE, I
should of gone to those wiki pages and added some notes.

Although, I must ask: Why is the Trac Documentation in .rst format,
instead of trac wiki markup, OR, why doesn't trac drop it's wiki
format for straight .rst format, instead of having to use a markup
block?  yes, maybe some of the docs existed before the tool...etc.
Just a thought.
--~--~-~--~~~---~--~~
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: Count Incoming tickets by milestone, and count closed tickets by milestone and user.

2009-06-03 Thread yoheeb

On Jun 3, 2:10 pm, Lukasz Szybalski szybal...@gmail.com wrote:
 On Jun 2, 3:54 pm, Lukasz Szybalski szybal...@gmail.com wrote:



  Hello,
  I'm trying to get management reports for the following:

  1. Count Incoming tickets by milestone sort by date,  (30 new tickets
  for milestone on 06-02-09)
  2. Count closed tickets by milestone and user.  (25 tickets closed by
  xyz on 6-2-09)(list a count by user in each milestone)
  3. lookup by custom field? (custom field = account_number) (With query
  I can do that, but how do I put it on a wiki so that they can type in
  account# and press query or something along these lines.)

  Where can I find examples on how to do this?

  I've noticed on the website trac seem to want to replace the reports
  with query. Would anybody have a query syntax for all the default
  reports that I can paste into wiki page?

  This for example allows me to modify the new tickets by milestone:
  [query:status=new|assigned|reopenedversion=1.0 Active tickets against 1.0]

  But with the other reports most of them ask for action, and/or count
  on particular category or action. How many tickets we had, how many
  closed, who closed most of them,  how many are outstanding, who is
  doing most of the work,etc?

 Anybody knows how can I display:

 user , ticket count in a table?

 The only thing I was able to do is on a wiki page do:

 Users Assigned Tickets:
  1. admin : [[TicketQuery(status=assignedowner=admin, count)]]

 But this way I need to list every user manually. Is there a way to
 display all users?
 user1, 5
 user2, 55
 user3, 10
 ..

 I can also link to custom query if that is easier...

 2. How can I query by date? All new tickets today by milestone? (this
 would include new, accepted, fixed,..etc)?

 Ideas?

 Thanks,
 Lucas

Couple options actually.  The Opteros folks have some plugins for
their OForge project that does some of this.
a sql report can be created to do this. (there is a created date or
similiar field you could compare to the current date/time)
there is a plugin to display an sql query in a table

and probably others.
--~--~-~--~~~---~--~~
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: Trac field workflow validation

2009-06-02 Thread yoheeb

On Jun 1, 3:49 pm, Dan Winslow dwins...@aiminstitute.org wrote:
 I want to be able to control validation of fields on certain actions.
 For instance, I want to block changing the status to Closed if a certain
 field has not been filled out.  So, two questions :

 1. Is this possible within the current Trac 0.11, and if so, how.

 2. Can it be done with custom fields?

 3. Has anyone considered a general purpose mechanism to apply
 constraints to workflow, in the following manner :
   a. Add the ability to specify a SQL query to an action, such that when
 the action is fired, the query is run.
   b. If the query returns a single column of boolean false, the action
 is blocked with a validation error. If it returns anything else, it
 proceeds.

 This would allow a very easy way to specify a workflow section setting
 that could be customized for any condition. Example :
 resolve = in_QA - closed
 resolve.operations = set_resolution
 resolve.permissions = TICKET_MODIFY
 resolve.validate = select 1=0 from tickets where somefield  0;

 Obviously thats not a real example but you get the idea.

 Dan Winslow
 Director of Information Technology, AIM INSTITUTE
 1905 Harney Street, Suite 700
 Omaha, NE 68102
 402-345-5025 x156
 dwins...@aiminstitute.orgwww.aiminstitute.org

or you could try the TicketValidatorPlugin 
http://trac-hacks.org/wiki/TicketValidatorPlugin
This requires field X to not be left blank on transition Y  Take a
little layout though, but you have to allow for blank as the default
for these types of fields.  It works on custom fields.

The TicketSubmitPolicyPlugin is more flexible, but it's not quite
working right in 0.11 last time I tried it.
--~--~-~--~~~---~--~~
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: Updating all instances of a ticket variable

2009-06-02 Thread yoheeb

On May 29, 8:25 am, Roger Oberholtzer roger.oberholt...@gmail.com
wrote:
 I have a ticket variable that is a text field. I do wiki formatting of
 that field. The field should contain the name of a wiki page. The thing
 is, the fields that are entered may not always be CamelCase. They are
 usually something like TestProcedureTicket104. The 104 is the problem.
 This was recently discovered when I did an update to get the wiki
 rendering of variables (which is really a great feature!).

 So, I have a few options:

 1. Insist that there be no numbers in the names. I do not think that is
 great as these wiki pages are related to tickets, and sharing the ticket
 number is a 'good thing'. Also, there are already many of these in
 existence.

 2. Convert all the text to [wiki:TestProcedureTicket104] This is
 probably the most straight forward. But, as the subject suggests, I
 wonder if there is a way to do this to all tickets with this variable in
 a single script. It would make my life much easier. Otherwise I have a
 marathon editing session.

 3. Find a way to force this variable text to be a wiki page, CamelCase
 aside. That is even nicer, But I think it requires fiddling with Trac
 itself.

 Suggestions?

not exactly what you are after here, but there is the
BatchModifyPlugin as well.
--~--~-~--~~~---~--~~
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: trac and tests management

2009-06-01 Thread yoheeb

On May 29, 3:47 pm, david bonnin davidbon...@free.fr wrote:
 none want to share his experience in documentation?

 davidbon...@free.fr a écrit :

  For my project, we have to descride tests, so i look for tests management 
  intergrated with trac.
  Can you share your experience on tests docs management with trac?
  My project is for industry that want tests-documents

  1-How do you manage tests associated to tickets?
  today: i manual attach a file ticket_xx.doc
  It isn't a specific field, and without any control on the 
  name(ticket_34.doc must be attach with ticket#34).
  In a perfect world, the test description must be a web form.

  2-How manage plan of validation in trac?
  or do you know plugin that do it?
  A ticket can be link to a test in the test plan
  After find a bug, a test in the test plan can be modify, so link it to 
  ticket.

  test-plan:
  project01: GUI             --  test01_start_form.doc
                                             test02_identification form.doc
                                             test03_control panel.doc
                                             test04_action form
                                             test05_parameters form
                     NETWORK --  test06_openning.doc
                                             test07_closing.doc
                     PROCESS --  test10_process01.doc
                                             test11_process02.doc

  Do you understand what i try to say by tests plan or plan of validation?

Not sure what you are after, but have you checked the
TestCaseManagmentPlugin or the QATracker plugin?

Sounds a lot like you are after.  Of course they don't map to msword
documents like your example.

Personally, I have a custom wiki filed (howtoverify) that is expected
to be populated with [wiki:Tests/Verification/NNN] where NNN is the
ticket number
I have a template which includes a link back to the ticket by #NNN and
has, in this case, how to verify section, as well as a section for
verification results to be filled in later.  My workflow has a
verification step to close a ticket.  to verify, you click through
the link, and fill in the results section.
my field is also required to be filled in when resolving a ticket by
the TicketValidatorPlugin so an author can't close a ticket withough
putting somethign in how to verify.

The down side here is, NNN has to be manually edited after creating
the ticket since the ticket # isn't know yet.  Same thing on the wiki
page for the Verification tests page.  I am starting to look into how
to make a macro that will populate that information with the resource
ID value, which for this will be the ticket # in the ticket, and the
matching page id on this wiki page, which is laid out specifically
to be the ticket number only(I suspect I'll have to split of Tests/
Verifications/ in this case.  The same can be extended for Validation
tests.  I have the same setup for author tests.

I then have a top level link to wiki:Tests with titleIndexes for
Verification and AuthorTests.  Verification, and Authortests have a
titleIndex as well for 1, 2500

What I get for this?  When the project is done, I can dump everthing
from wiki/Tests/Verificaiton/* with the WikiPrint plugin, and dump the
pages to a PDF book, for later printing/archiving.  whew.

Another option would of been to create a ticket type called
validation, with a wiki fomatted text area with how to verify, and
require blocking to have a value with TicketValidator.  And a custom
resolution of Passed.  This would give you a Blocking validation
ticket, which you would have to validate before closing the original
ticket.  In my case, I also have a FeatureTicket type, which is
blocked by all the sub tickets.  All my subTickets have a verification
workflow step, so the FeatureBranch itself is blocked until all the
tickets in the feature have been intergrated and verified.  The
feature is then closed with merged status.  The featureBranch is
also given a milestone for tracking purposes.  Finally I have a ticket
type called Test, which is blocked by the FeatureTicket mentioned
above.  This ticket references a Validation Suite for the feature,
that our test group builds, based on requirements docs, and often the
how to verify sections of the little tickets.  It is the last ticket
in a feature branch to actually close, closing the feature.

It's in it's infancy, and needs tweaking, but that's the general
approach we use.
--~--~-~--~~~---~--~~
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: Q: Installing Trac GraphViz plugin in MS Windows ...

2009-05-27 Thread yoheeb

snip
 H ... the one I tried is 2.22.2-[...].msi ... Ñum, ñum ... could u
 provide the URL to download it ?

 Thnx in advance !

 --
 Regards,

 Olemis.

Umm, I don't have any special information, but a quick search yielded
this location:
http://www.graphviz.org/pub/graphviz/stable/windows/

also, I found this note on a perl module for graphviz interfacing:
Older versions of GraphViz used a slightly different syntax for node
and edge adding:it was referencing GraphViz 2.04 at the time.  I
suspect this could be something possibly requiring an update to the
plugin.  Although it works fine for my setup :D

Also some other source distribution are around in that
http://www.graphviz.org/pub/graphviz/ ftp server, when I poked around
a bit.

FYI, I used yahoo instead of a google search, google came back with
way too much data on the search- graphviz download 2.18

Now, if that doesn't work, I am really no help, as like I said, it
just worked out of the box for me.  I did try graphviz stand alone
first however.

Also on windows, rsvg is not supported, according to the plugin
--~--~-~--~~~---~--~~
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] What does virtualenv get me for macro development

2009-05-27 Thread yoheeb

Hi,

This might be the wrong group, however, is there any other benefit to
using virtualenv to try to make a macro, other than isolating the
python environment on the machine i am working with?

I plan to work on an isolated machine anyway (my windows desktop)  Or
do I get some additional usefulness?  Otherwise i could just install
trac, and dev/test my macro with tracd.  Actually, this machine
already has trac installed I believe, just needs an update.

I have never written a trac macro or component, so I want it to be as
painless as possible.  If the only thing I get from using virtualenv
is making it easier to following example, well, that's a benefit in
and of itself that makes it worthwhile.

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



[Trac] Re: Q: Installing Trac GraphViz plugin in MS Windows ...

2009-05-26 Thread yoheeb

On May 21, 3:41 pm, Olemis Lang ole...@gmail.com wrote:
 I'm in the process of installing TracGraphViz plugin. Indeed I'm in
 the process of installing GraphViz in a Windows 2003 Server host. My
 Qs are :

 - Do I need to install GraphViz Py bindings (SWIG) in order to use the plugin 
 ?

for some reason I want to say no.  I have it running on my windows
server, and I am pretty sure it runs it via the command line.

There was a little configuration messing around that needed to be
done, such as the path to graphvis bin, dot, and the cached dir in my
Apache htdocs, but as it turns out, I am pretty much an Apache nit
wit, and I managed to get it working, so you should be fine.  Just
read the configuration of the .ini settings a few times, there are
some little gotchas that I can't recall.  It's pretty cool too, I
use it somewhat show product roadmaps in rough timeliness across my
team, then link to the individual projects, or calendar entries, etc.
--~--~-~--~~~---~--~~
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: Q: Installing Trac GraphViz plugin in MS Windows ...

2009-05-26 Thread yoheeb



On May 26, 1:48 pm, Olemis Lang ole...@gmail.com wrote:
 First of all ... thnx for the reply

 On Tue, May 26, 2009 at 12:56 PM, yoheeb yoh...@gmail.com wrote:

  On May 21, 3:41 pm, Olemis Lang ole...@gmail.com wrote:
  I'm in the process of installing TracGraphViz plugin. Indeed I'm in
  the process of installing GraphViz in a Windows 2003 Server host. My
  Qs are :

  - Do I need to install GraphViz Py bindings (SWIG) in order to use the 
  plugin ?

  for some reason I want to say no.  I have it running on my windows
  server, and I am pretty sure it runs it via the command line.

 Good to know ... But anyway, could u pls tell me how did you install
 GraphViz itself. The fact is that I've not been able to install it in
 a Windows 2003 Server host. Here you have the  «roadmap»:
well snap, the binary installers worked out of the box for me, so I'm
not that much help.  win2k3 service pack 2, installer I used was
gviz-2.18.exe

I don't recall installing anything else.  I DO have the MasterTicket/
Depgrah plugins installed and working.  But DepGraph doesn't require
the python bindings either.
Sorry, I can't help much, it just worked for me, aside from the
configuration.  I did install Graphviz well before the plugin, since I
used it to generate a workflow map with the script out there that does
it.


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



  1   2   3   4   >