gwvp_SendMessage("info", "blank db re-created");
- gwvp_AddRepo("repo1", "this is a test repo1", $adminid);
- gwvp_AddRepo("repo2", "this is a test repo2", $userid1);
- gwvp_AddRepo("repo3", "this is a test repo3", $userid2);
-
+ //gwvp_createGitRepo($name, $ownerid, $desc, $bundle=null, $defaultperms=0)
gwvp_setConfigVal("repodir", "/tmp/");
+ // TODO change these to create not add.
+ system("rm -rf /tmp/repo1.git /tmp/repo2.git /tmp/repo3.git");
+ gwvp_createGitRepo("repo1", $adminid, "test repo1");
+ gwvp_createGitRepo("repo2", $userid1, "test repo2");
+ gwvp_createGitRepo("repo3", $userid2, "test repo3");
+
+
+
header("Location: $BASE_URL/debug");
break;
case "dropallusersandgroups":