RE: [Trac] trac svn access

2013-08-01 Thread Cooke, Mark
> -Original Message-
> From: trac-users@googlegroups.com On Behalf Of gigabot
> Sent: 01 August 2013 15:38
> To: trac-users@googlegroups.com
> Subject: [Trac] trac svn access
> 
> Hi all!
> 
Hello.

> I have a trac instance setup that is being served with apache 
> and mod_wsgi.
> 
> I have an svn repo setup on the same machine and trac is able 
> to browse it.
> 
> Now I would like to set it up so my developers can have 
> access to the svn repo from their local machines.
> 
> What is the best way to achieve this without destroying my 
> mod_wsgi config?
> 
> Also, is there some way for users to access the svn repo from 
> the browser and add files to it?
> 
It is always a good idea to give plenty of background information.  For example 
are you on windoze or *nix?

If you are already serving Trac over http(s) then adding mod_dav_svn to serve 
your subversion repos should not be that difficult (I do it from a windoze 
server).  The subversion book is a good place to start: 
http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html

If you let apache handle the authentication then both Trac and svn can pick up 
the user data from that and you have one source of credentials (we use LDAP but 
that depends if you have e.g. Active Directory in your corporate (?) 
environment).

I hope that helps,

~ mark c

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




[Trac] TracQuery not using AND operation?

2013-08-01 Thread ilewismsl
Normally when I set multiple conditions on TicketQuery() the macro uses AND 
to combine the conditions (unless I use the ,or, syntax). 
 
For example, if I enter the following on 
http://trac.edgewall.org/wiki/QueryTest and Preview
  
[[TicketQuery(component~=system,status!=closed,group=component,priority=high, 
format=table)]]
 
As expected, I get all the tickets where the  component contains the word 
"system" AND status not closed AND priority high.
 
Now, if I modify this to add a second condition on the component that it 
starts with "r" I would expect to further restrict the tickets listed and 
only get back "report system" 
  
[[TicketQuery(component~=system,component^=r,status!=closed,group=component,priority=high,
 
format=table)]]
 
However, instead, the query seems to switch to using some kind of OR 
operator and I get back lots of tickets where the component does not 
include the word "system". 
 
 
This looks like a bug to me, but I find no ticket for it.
 
Can someone tell me whether this is a defect? If it is not a defect, then 
why is the query language doing what it is. It makes no sense to me.
 
Ian Lewis
www.mstarlabs.com
Using Trac 1.0.0, Python 2.6, Apache, on Windows 7.
 

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




Re: [Trac] trac svn access

2013-08-01 Thread Dimitri Maziuk
On 08/01/2013 03:12 PM, gigabot wrote:
> 
> 
> On Thursday, August 1, 2013 12:18:14 PM UTC-4, Dimitri Maziuk wrote:

>> mod_dav_svn, svn+ssh://, file:/// -- it depends on what you want. 
>>
> How do i set that up?  Is there a guide you could direct me to?

I don't know if there's a concise guide. Svn supports a bunch of
different access methods (urls), see subversion book.

The easiest is direct disk access: file:///. You need the directory with
svn repos mounted on local machine(s) -- via nfs, samba, or whatever.

Access over ssh: if you can ssh to a machine that has svn repos mounted,
you can use svn+ssh url.

Access over http/https: mod_dav_svn. Google will find plenty of howtos
I'm sure.

> Any way to share the password store with the one trac is currently using? 

Apache can use the same .htpasswd file I'm sure.

With ssh you have to share login passwords with trac and mod_dav_svn.
Ldap will do that.

file:/// doesn't care.

HTH
-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu



signature.asc
Description: OpenPGP digital signature


Re: [Trac] trac svn access

2013-08-01 Thread gigabot


On Thursday, August 1, 2013 12:18:14 PM UTC-4, Dimitri Maziuk wrote:
>
> On 08/01/2013 09:37 AM, gigabot wrote: 
> > Hi all! 
> > 
> > I have a trac instance setup that is being served with apache and 
> mod_wsgi. 
> > 
> > I have an svn repo setup on the same machine and trac is able to browse 
> it. 
> > 
> > Now I would like to set it up so my developers can have access to the 
> svn 
> > repo from their local machines. 
> > 
> > What is the best way to achieve this without destroying my mod_wsgi 
> config? 
>
> mod_dav_svn, svn+ssh://, file:/// -- it depends on what you want. 
>

How do i set that up?  Is there a guide you could direct me to?
 

>
> > Also, is there some way for users to access the svn repo from the 
> browser 
> > and add files to it? 
>
> mod_dav_svn (see e.g. http://wiki.centos.org/HowTos/Subversion), but if 
> you want it visible from big bad internet you may have to deal with 
> authentication, encrypting the passwords, and all that. 
>

Any way to share the password store with the one trac is currently using? 

>
> -- 
> Dimitri Maziuk 
> Programmer/sysadmin 
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu 
>
>

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




Re: [Trac] trac svn access

2013-08-01 Thread Dimitri Maziuk
On 08/01/2013 09:37 AM, gigabot wrote:
> Hi all!
> 
> I have a trac instance setup that is being served with apache and mod_wsgi.
> 
> I have an svn repo setup on the same machine and trac is able to browse it.
> 
> Now I would like to set it up so my developers can have access to the svn 
> repo from their local machines.
> 
> What is the best way to achieve this without destroying my mod_wsgi config?

mod_dav_svn, svn+ssh://, file:/// -- it depends on what you want.

> Also, is there some way for users to access the svn repo from the browser 
> and add files to it?

mod_dav_svn (see e.g. http://wiki.centos.org/HowTos/Subversion), but if
you want it visible from big bad internet you may have to deal with
authentication, encrypting the passwords, and all that.

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu



signature.asc
Description: OpenPGP digital signature


[Trac] trac svn access

2013-08-01 Thread gigabot
Hi all!

I have a trac instance setup that is being served with apache and mod_wsgi.

I have an svn repo setup on the same machine and trac is able to browse it.

Now I would like to set it up so my developers can have access to the svn 
repo from their local machines.

What is the best way to achieve this without destroying my mod_wsgi config?

Also, is there some way for users to access the svn repo from the browser 
and add files to it?


Cheers!


Ben

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




Re: [Trac] Re: XML-RPC plugin -Using from java provided link returns NOT FOUND

2013-08-01 Thread Olemis Lang
On 8/1/13, Punnadi  wrote:
> I found it at the below link:
>
> http://trac-hacks.org/attachment/ticket/7663/trac_xml_rpc_example_java.zip
>

Hi !

There's no preview for .zip files at trac-hacks.org . There are
instructions saying 'Try downloading the file instead.' The links
works for me .

[...]

-- 
Regards,

Olemis - @olemislc

Apacheā„¢ Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

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

Featured article:

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




[Trac] add custom buttons to wiki toolbar

2013-08-01 Thread Clemens Feige

Hi.

How can I add custom buttons to the wiki toolbar which appears above the 
text area when editing tickets and wiki pages?


Per default it offers "bold", "italic", "headline" etc. I would like to 
add some own buttons which simply insert some text snippets e.g. 
[[PageOutline]] to insert a  "table of contents".


Would this be Python related (client contacts the TRAC-werserver) or is 
this a Java-Script thing or something else? I looked in the mailing list 
archive, in Google and on Trac-Hacks but could not find anything.


Thanks
Clemens

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




[Trac] Re: XML-RPC plugin -Using from java provided link returns NOT FOUND

2013-08-01 Thread Punnadi
I found it at the below link:

http://trac-hacks.org/attachment/ticket/7663/trac_xml_rpc_example_java.zip

On Wednesday, July 31, 2013 5:14:14 PM UTC+5:30, Punnadi wrote:
>
> Hi All,
>
> I am currently trying Trac with XML-RPC plugin. I wanted to check the 
> sample zip provided for java and
> when i clicked on the provided link it displayed  "The requested URL 
> /attachment/wiki/XmlRpcPlugin/trac_xml_rpc_example_java.zip was not found 
> on this server."
> Can you please share the zip file.
>
> Regards,
> Punnadi
>

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