Re: [Trac] Subversion bindings python 2.7

2010-11-29 Thread Bogdan Stanciu

Dear Noah,


thank you for your quick answer!


I have to confess that I first encountered python through trac a year 
ago or so. My understanding of its functioning (not the language, but 
things around it) is limited.



so, let's say I got svn from svn.apache.org repository. that would make 
1.6.15 version (from the trunk)



when you say build the bindings, what exactly do you mean?


Please remember, I am on windows xp; from the install file it appears 
that swig.exe is needed...



and i think that make is a unix program, right?


thank you !

b


PS I know that this is more of a SVN issue, but it is for trac's sake :-))



On 11/28/2010 11:56 PM, Noah Kantrowitz wrote:


You do not need SWIG itself as subversion ships the generated files in their releases. 
You just need to build the bindings themselves. I think the make target is 
swig-py.

--Noah

Bogdan Stanciubogdanovidiu.stan...@gmail.com  wrote:


Hi everyone,


I just updated my environment, in order to install Trac 0.12.
Unfortunatelly I was not able to find the subversion SWIG bindings for
python 2.7.


I would give a try to build them, but i have no experience with swig
(I've got swigwin 2.0.1) not even how to install/configure it :-)


anyone knows whether or not these bindings could be found somewhere, or

how to build them?


thank you in advance!

bodi


windows xp

apache 2.2.17

svn 1.6.13

mod_wsgi 3.3

python 2.7



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



[Trac] 'Spoiler' tag

2010-11-29 Thread Сикорский Сергей

Hi.

Is there any way to 'fold' some text on a page to one clickable line, like it 
'spoiler' tag does on some sites?

It would be useful to hide lots of pictures, for example.

--
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: Help required

2010-11-29 Thread kavitha
Thanks..

I find myself what the issue is.

There is a typo error in the path of the password file. Corrected the
path and its working fine. Anyway thanks.

On Nov 17, 5:34 pm, kavitha kaviswaminat...@gmail.com wrote:
 Hi,

 * In Linux FC11 with the package Python 2.6, SVN 1.6.1, Sqlite3,
 installed SVN trac version 0.11.7.
 * Installed, setuptools, Genshi
 * Installed Accountmanagerplugin_0.11-r9412 to access the already
 existing authz file through tracd
 * Throws an error, and upgraded the SVN version to 1.6.6
 * Previous error was solved but unable to login to the web, error
 appears as Invalid username or password

 * trac environment path is /home/kavitha/trac-env/ and repositories
 created as samplerepo and samplerepo2
 * svn repository path is /home/kavitha/testsvn/ and repositories
 created as samplerepo and samplerepo2

 * Started svn as svnserve -d -r /home/kavitha/testsvn/
 * trac.ini under /home/kavitha/trac-env/samplerepo/conf/ is as below

 [trac]
 authz_file =
 authz_module_name =
 auto_reload = False
 backup_dir = db
 base_url =
 check_auth_ip = false
 database = sqlite:db/trac.db
 debug_sql = False
 default_charset = iso-8859-15
 default_handler = WikiModule
 default_timezone =
 htdocs_location =
 ignore_auth_case = false
 mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
 metanav = login,logout,prefs,help,about
 mysqldump_path = mysqldump
 never_obfuscate_mailto = false
 permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
 permission_store = DefaultPermissionStore
 pg_dump_path = pg_dump
 repository_dir = /home/kavitha/testsvn/samplerepo
 repository_type = svn
 secure_cookies = False
 show_email_addresses = false
 show_ip_addresses = false
 timeout = 20
 use_base_url_for_redirect = False

 [components]
 acct_mgr.api.* = enabled
 acct_mgr.admin.AccountManagerAdminPage = enabled
 trac.web.auth.LoginModule = disabled
 acct_mgr.web_ui.LoginModule = enabled
 acct_mgr.svnserve.* = enabled

 [account-manager]
 password_store = SvnServePasswordStore
 password_file = /home/kavitha/testenv/samplerepo/conf/passwd

 * Given permission as trac-admin /home/kavitha/trac-env/samplerepo
 permission add kavitha TRAC_ADMIN

 * Started tracd as tracd --port 8014 -e /home/kavitha/trac-env

 * In IE, entered the URL as http://IPaddress:8014/, page appears
 with
 Available projects
   samplerepo
   samplerepo2
 * Clicked on samplerepo
 * Wiki page appears
 * Clicked on login link
 * Entered the username/password as in /home/kavitha/testenv/
 samplerepo/conf/passwd, but error appears as Invalid username or
 password

 Content in the password file is:
 [users]
 kavitha = kavitha123

 Please help on this to solve the issue.

-- 
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] 'Spoiler' tag

2010-11-29 Thread David Chase

On 2010-11-29, at 7:35 AM, Сикорский Сергей wrote:

 Hi.
 
 Is there any way to 'fold' some text on a page to one clickable line, like it 
 'spoiler' tag does on some sites?
 
 It would be useful to hide lots of pictures, for example.

We have a plugin on our site, that uses a dab of Javascript for something like 
this.
I don't know the exact details.  It's generated by the plugin and inserted 
inline.

Look here, try clicking on the Show ASCII Show Rendered buttons.
The source for the page shows the Javascript.
This has been tweaked to work properly with browsers that don't have Javascript 
turned on,
again unsure of the details.

http://projectfortress.sun.com/Projects/Community/wiki/Fibonacci

If you like what you see, the plugin source is here, and you can tinker with 
it.  It's supposed to be BSD copyrighted, though I see it lacks a notice, which 
means there may be a new version up sometime soon.

http://projectfortress.sun.com/Projects/AboutThisInstallation/browser/trunk/macros/fss.py

The HTML/rendered section of the plugin is pretty obvious; you might want to 
avoid the bit about maintaining an image cache, and running emacs, pdflatex, 
and ghostscript in subprocesses.

hope this helps,

David

-- 
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] Trac 0.12.1 attachements after upload broken

2010-11-29 Thread Matthew Caron

On 11/25/2010 07:34 AM, goo...@ifo.net wrote:

Dear Matthew,

Sorry for my late response, but I have a lot to fix in my company...


And I was on holiday, so I apologize for my even later response.


What about your suggestion with binary diff, how could I do on the
linux-system? May you have an example.


apt-cache search binary diff returns the kitchen sink. A quick looking 
about in that lists suggests:


vbindiff
xdelta
hexdiff
bsdiff


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.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] Subversion bindings python 2.7

2010-11-29 Thread Noah Kantrowitz


On Nov 29, 2010, at 3:37 AM, Bogdan Stanciu wrote:


Dear Noah,


thank you for your quick answer!


I have to confess that I first encountered python through trac a  
year ago or so. My understanding of its functioning (not the  
language, but things around it) is limited.



so, let's say I got svn from svn.apache.org repository. that would  
make 1.6.15 version (from the trunk)



when you say build the bindings, what exactly do you mean?


Please remember, I am on windows xp; from the install file it  
appears that swig.exe is needed...



and i think that make is a unix program, right?


If you use output directly from SVN, you would need to run SWIG  
yourself. If you use a real release tarball then you do not since it  
was done for you. As for make, yes it is a Unix command, but I've  
never tried compiling SVN on Windows so I don't know what they offer  
for that.


--Noah

--
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] Add comment/edit message in the changeset page

2010-11-29 Thread RicardoPHP
Hi there, is there a way to edit the changeset message or add some
comments over it?

here we use one todo software over the enterprise and the trac to
document and develop the systems, for that one thing required to the
developer is to add the task code of the todo software in the
changeset of the svn to link one another together, and sometimes the
developer forget to do so, therefore it would be nice if we could edit
the svn message or even add comments in the message of the changeset
in the trac.

Cheers.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-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.