[Trac] Searching the Repository from Trac

2010-01-03 Thread Ryan J Ollos

Hello,

1. Is there a way to search source code in the repository from Trac?  For
example, suppose I know a file's name, but not where in the repository tree
it is located.  Obviously there are ways to do this from a working copy, but
for convenience I was wondering if this could be done from Trac.

If such a feature does not exist, is there an open ticket requesting this
feature? (searched for, but couldn't find one).

2. I was looking at WebSVN and TortoiseSVN, and neither of them appear to
have a repository search feature either. Another case when I would find
this feature useful is for a project with many branches, and I can't
remember which branch I added a particular class method or file.  Can anyone
point me to an SVN client or WebViewer that implements a feature like this?

3. When using Trac's Search module, it appears that including a changeset in
the search criteria will search the changeset log message only, as opposed
to returning results for files changed in that changeset.  For example,
suppose I made a change to `macros.py` in a particular changeset.  If I
don't mention `macros.py` in the changeset log message, then a Trac search
for `macros.py` won't return that changeset in the list of results.

If I'm not mistaken about that behavior, it would seem to me that the
checkbox should be named RevisionLogs rather than Changesets.

- Ryan


-- 
View this message in context: 
http://old.nabble.com/Searching-the-Repository-from-Trac-tp27000157p27000157.html
Sent from the Trac Users mailing list archive at Nabble.com.

--

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] Searching the Repository from Trac

2010-01-03 Thread W. Martin Borgert
Quoting Ryan J Ollos ry...@physiosonics.com:
 1. Is there a way to search source code in the repository from Trac?

Try this plugin: http://trac-hacks.org/wiki/RepoSearchPlugin

--

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] Pretty Trac URLs - how are the page and cookie URLs properly set?

2010-01-03 Thread Carsten Fuchs

Dear Trac group,

I have a Trac instance running at

http://web278.server07.lcube-server.de/trac-cafu/htdocs/

and a .htaccess file according to http://trac.edgewall.org/wiki/TracPrettyUrls at the root 
directory http://web278.server07.lcube-server.de/ :


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ trac-cafu/htdocs/trac.fcgi/$1 [L,QSA]
RewriteRule ^$ trac-cafu/htdocs/trac.fcgi [L]


This works as expected, for example
http://web278.server07.lcube-server.de/about
is internally rewritten to
http://web278.server07.lcube-server.de/trac-cafu/htdocs/trac.fcgi/about

However - and here is the problem - the cookie and the URLs in the website all contain the 
unwanted trac-cafu/htdocs/trac.fcgi/ part. The above Wiki page doesn't mention anything on how 
this could be fixed.


Despite a search of the Wiki and mailing-list, I've not been able to find the proper place where 
this part of the cookie and page URLs can be set - any help would much be welcome!


Thank you very much,
and best regards,
Carsten




--
   Cafu - the open-source Game and Graphics Engine
for multiplayer, cross-platform, real-time 3D Action
  Learn more at www.cafu.de



smime.p7s
Description: S/MIME Cryptographic Signature


[Trac] Re: trac error..

2010-01-03 Thread Obsidian
It sounds like whatever user you're logged in as doesn't have
TICKET_CREATE permissions have a read of the permissions manual for
trac here http://trac.edgewall.org/wiki/TracPermissions

~Rowan

On Jan 1, 10:48 pm, devroy dev17@gmail.com wrote:
 I am facing a strangege error..Today is my first day with trac and just
 installed it..but when i am hosting it on localhost the page is getting
 displayed. but there I am not finding the create ticket tab..why it is
 so??..it surely must be a dumb issue but not getting where i have gone
 wrong.
 kindly help.
 --
 View this message in 
 context:http://old.nabble.com/trac-error..-tp26984421p26984421.html
 Sent from the Trac Users mailing list archive at Nabble.com.

--

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] Custom Fields disabled

2010-01-03 Thread Alexander Wendland
Hello,

I've Problems with [trac-custom] fields.
All of the custom-fields are not editable in the New Ticket form, even 
as admin.
Is there a Solution?

Regards

Alex

--

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] Mulitrepos Hg

2010-01-03 Thread Kevin
Trac-0.12multirepos_r8996
TracMercurial-0.12.0.20dev_r8964

I'm playing with with the latest multirepos and mercurial plugin.
Works great, but I can't seem to get the CommitTicketUpdater plugin to
work.

CommitTicketUpdater is enabled.
In my test hg repo I added to .hg/hgrc
[hooks]
commit = trac-admin /home/kevin/Projects/TracTest/ changeset added
(default) $HG_NODE

Tickets are not being closed after a commit. Anyone have any hints?

--

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 Fields disabled

2010-01-03 Thread Rowan
They should be editable, can you post the contents of your [ticket-
custom] settings in the trac.ini file (it should be ticket-custom not
trac-custom)

For example to add a text box with the word default as the default
value and the label test field you would use something like the
following

[ticket-custom]
test_one = text
test_one.value = default
test_one.label = test field
test_one.field = plain

Also what plugins do you have installed?

~Rowan

On Jan 4, 8:53 am, Alexander Wendland mli...@phixom.de wrote:
 Hello,

 I've Problems with [trac-custom] fields.
 All of the custom-fields are not editable in the New Ticket form, even
 as admin.
 Is there a Solution?

 Regards

 Alex

--

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.