Picon

[WebSVN] Dirs in /tmp do not get deleted

Hello WebSVN developers!

I use WebSVN, thank you for great work you are doing! Users seem to
like it, as I get more queries to my repository through web interface
over time. It's great, but I experience the following problem quite
frequently lately. When client use "Download zip" function, I get
/tmp/websvnXXXXXX dirs which are never deleted.

I'm not sure if it's bug in WebSVN and who is expected to delete these
dirs after download is complete, so I decided to ask you first. If
it's WebSVn who shall delete the dirs, I can try to debug the problem.

Best wishes,
Andrey Paramonov

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2716252

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].

webpost | 3 Apr 17:25 2011
Picon

RE: Re: [WebSVN] XML error: no element found ... error

Hey Dirk,
I registered an account with tigris instead of posting as a guest all the time. Did you see my replies above?

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2716536

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].

Romer Ventura | 4 Apr 18:53 2011

[WebSVN] SVN + WebSVN + LDAP setup question

Hello,

I am trying to find out what the best approach would be.

We have different departments that need to use SVN for their projects. For example: Quality Assurance would need its own SVN repository where they can host all their projects, Engineering would need a separate repo for their projects, IT its own repo as well and a public repo that everyone can access where they can create projects for testing purposes (like new users learning how to use SVN).

Now, each repo: QA, Eng, IT and Public would only be visible and accessible to those who have access to it.

EX: If i am member of QA and i go to »svn.domain.com i would only see the QA repo and the Public repo, if on the other hand i am IT i would see all the repos in the company.

I would like to base all this using LDAP and so far i can grant access to ldap users and ldap groups, but i am not sure how to accomplish the example above using WebSVN.

I was thinking of using <Direcoty> or <Location> in my vhost config, but I was wondering about any other ways…


Any ideas..?

Thanks

Dirk Thomas | 6 Apr 22:10 2011
Picon

Re: [WebSVN] Dirs in /tmp do not get deleted

Dear Andrey Paramonov,

> I use WebSVN, thank you for great work you are doing! Users seem to
> like it, as I get more queries to my repository through web interface
> over time. It's great, but I experience the following problem quite
> frequently lately. When client use "Download zip" function, I get
> /tmp/websvnXXXXXX dirs which are never deleted.
>
> I'm not sure if it's bug in WebSVN and who is expected to delete these
> dirs after download is complete, so I decided to ask you first. If
> it's WebSVn who shall delete the dirs, I can try to debug the problem.

if you are not using an aged version, WebSVN should remove the temporary folders after the download has finished.

The only exception is when the PHP script is terminated when reaching the configured execution time limit.
Then the folders can not more be removed by the PHP script itself.
Currently there is no workaround for this specific case.

Dirk

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2717457

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].

Dirk Thomas | 6 Apr 22:28 2011
Picon

Re: [WebSVN] SVN + WebSVN + LDAP setup question

Hello,

 > I am trying to find out what the best approach would be.
 >
 > We have different departments that need to use SVN for their projects. For example: Quality Assurance
would need its own SVN repository where they can host all their projects, Engineering would need a
 > separate repo for their projects, IT its own repo as well and a public repo that everyone can access where
they can create projects for testing purposes (like new users learning how to use SVN).
 >
 > Now, each repo: QA, Eng, IT and Public would only be visible and accessible to those who have access to it.
 >
 > EX: If i am member of QA and i go to »svn.domain.com <http://svn.domain.com/>i would only see the QA repo
and the Public repo, if on the other hand i am IT i would see all the repos in the company.
 >
 > I would like to base all this using LDAP and so far i can grant access to ldap users and ldap groups, but i am not
sure how to accomplish the example above using WebSVN.

I suppose you have the SVN and LDAP acccess control already setup and running (if not you should ask further
question on the subversion mailing list instead).

 > I was thinking of using <Direcoty> or <Location> in my vhost config, but I was wondering about any other ways…

Installing WebSVN should be straight forward.
If you are using a specific location or just drop the WebSVN sources in a regular folder in your htdocs makes
no difference.

Then you need a .htaccess file, which authenticates your valid users against your LDAP.
The WebSVN configuration should then just point to the same auth-file from SVN, where you grant the
different users/groups access to specific repositories/subfolders (which is already used by 
mod_authz_svn).
Perhaps an older thread in this mailing list with the topic "Auth against Ldap howto?" might give you
additional information.

Dirk

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2717461

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].

Picon

Re: [WebSVN] Dirs in /tmp do not get deleted

2011/4/7 Dirk Thomas <websvn <at> dirk-thomas.net>:
> if you are not using an aged version, WebSVN should remove the temporary
> folders after the download has finished.
>
> The only exception is when the PHP script is terminated when reaching the
> configured execution time limit.

This seems probable. The problem is indeed not reproducible for me on
small downloads.

> Then the folders can not more be removed by the PHP script itself.
> Currently there is no workaround for this specific case.

That's bad... Still, thanks for your reply!

Best wishes,
Andrey Paramonov

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2717473

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].

atomic rabbit | 16 Apr 16:40 2011
Picon

RE: Re: [WebSVN] XML error: no element found ... error

hey Dirk,
Have you seen my reply?

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2720543

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].

Dirk Thomas | 18 Apr 11:12 2011
Picon

Re: [WebSVN] XML error: no element found ... error

Hi,

> Have you seen my reply?

yes, i have read them.
Sorry, for not responding at all - i was quite busy in the last weeks.

I was not yet able to reproduce your issue.
I will get back to you as soon as i have more info on this.

Dirk

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2720994

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].

Rolf Eike Beer | 22 Apr 14:24 2011
Picon

[WebSVN] [PATCH] Match entire filename when highlighting with enscript

Hi,

this is a patch I am carrying around since a while and for at least 3 
versions. Time to get it upstream to save some work ;)

The basic idea is to check for the whole filename first when using enscript 
highlighting. Otherwise you don't get CMake highlighting for "CMakeLists.txt" 
as plain text files don't have highlighting.

Btw: the 2 places I patched look very similar. Time to merge them into a 
common function?

Greetings,

Eike

P.S.: Please keep me CC'ed on reply, I'm not on the list.

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2722755

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].
webpost | 25 Apr 05:59 2011
Picon

[WebSVN] [Websvn] Failed to show source code in repository

The websvn version is 2.3.2. OS: red hat enterprise 5.4

When I tried to view the java source code in repository, the error message as following was displayed.

Unable to cat file: sh: -c: line 0: syntax error near unexpected token `newline'
sh: -c: line 0: `svn --non-interactive --config-dir /tmp cat -r 2 'file:////...........java <at> ' > '

any help?

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2723958

To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].


Gmane