No announcement yet.

Creation of an UberSVN repository from the Linux command line

  • Filter
  • Time
  • Show
Clear All
new posts

  • Creation of an UberSVN repository from the Linux command line


    Is it possible to create an Ubersvn repository from the Linux command line? I have written a shell script which will create a repository and modify the 50-repositories.conf file which contains the information about the virtual server. However, Ubersvn will not recognize the repo. Any hints, tips, or suggestions would be greatly appreciated.

    Thank you in advance!

  • #2
    I'm afraid this is not possible in the beta. Please suggest this feature here:


    • #3
      I am puzzled by this. Is it the case that

      svnadmin verify (path to old repo)
      svnadmin dump (path to old repo) > old.dump
      svnadmin create (path to new repo)
      svnadmin load (path to new repo) < old.dump

      will create and populate a repository which uberSVN cannot handle?


      • #4
        No, just that in order for the uberSVN application to know about it such that you can administrate it from the uberSVN web GUI you have to initially create it using the uberSVN web GUI.

        You can create as many repositories behind its back as you like, you just won't be able to manage them through the uberSVN web GUI.


        • #5
          One way around this is that you could create the repo in whatever external manner you wish and then via uberSVN use one of the options on the Add Repo feature. Options such as Import From Local Dump, Import From Server Dump, Add Existing Repo On Server, etc. That will then bring them under the control of uberSVN (and located within the repositories storage location set in uberSVN Administration).

          You can see all these options by following this path... Repositories > Add Repo > Enter Name And URL > Create Or Import Repository. There are three.

          Hope this helps.



          • #6
            Technically you can create a repo in ubersvn then manually edit the ubersvn/conf/conf.d/50-repositories.conf to point it at a repo somewhere else. However, this file gets overwritten any time a repo is created or deleted in ubersvn, so if you do this you will have to redo your change any time ubersvn overwrites it, and then restart apache.