Saturday, January 29, 2011

how i can show SVN Repositories list

pleas if any one know how i can show SVN Repositories list on my sever ... note : i don't konw anything about server ... i wait your answer as soosn as possible

please the same question but in Sun solaris operating system ?

  • There is no real correct answer to this question.

    You might be able to locate all SVN repositories on disk- by searching for the files typically found on SVN repos (i.e. svnserve.conf).

    But you probably want to find how are they exposed too (i.e. http or svnserve [svn+ssh or as a network daemon]). You can audit Apache's configuration to find aout the former, for instance.

    Osama Ahmad : thank you for help me i use the following command :- $sudo find / -name 'svnserve.conf' and it is get a desired result
    gbjbaanb : that won't help if you're serving the repos via apache.
    Osama Ahmad : please i want to ask you ... if i use sun solaris operating system the same command will give me the same result ?
    alex : IIRC, Solaris' find is different from Linux's GNU find. I think it won't work, but it does not hurt to try.
    From alex
  • If you don't know anything about the server, the first thing to do might be to find all your repository. You could try this:

    sudo find / -type f -name fs-type -print

    This will give you a list of files named fs-type, which is one of the files included in the svn repository directory structure. So if you get something like: /export/svn/repos/db/fs-type /export/svn/tests/db/fs-type

    Then you will know that you have two SVN repositories locagted in directories export/svn/repos and /export/svn/tests. Note that false positives are possible, so use caution.

    The next step is to determine how they are accessed - talking to svn users might help as multiple access methods are possible: svnserve, apache or directly through the filesystem.

    Osama Ahmad : thank you Mr.urgoll ... this method shows all repository but how i can show the content of each repository ... manually method very complex so it is impossible .. so what i will do ?
    From Urgoll

0 comments:

Post a Comment