Hello! I'm currently working towards implementing the option for the Git webpage repository.

This patch specifically covers the initial frontend changes. However, please note that there's ongoing work on the backend. We still have to figure out some details, and our initial discussions have emphasized the importance of configuring this option in the project dashboard. The default setting for new projects will be Git, and we are considering implementing an action to facilitate the automatic transition from CVS to Git. It will be choice-based for the old projects.

I appreciate any suggestions you might have, and I'm actively engaged in developing the backend of this feature while exploring the most effective implementation approach.
diff --git a/frontend/php/project/admin/editgroupfeatures.php 
b/frontend/php/project/admin/editgroupfeatures.php
index 0744da1b..572ec640 100644
--- a/frontend/php/project/admin/editgroupfeatures.php
+++ b/frontend/php/project/admin/editgroupfeatures.php
@@ -249,6 +249,13 @@ if ($project->CanUse("homepage"))
                   _("Homepage Source Code Web Browsing"), 0, 0);
   }
 
+if ($project->CanUse("homepage") && $project->CanUse("git")) {
+  specific_line("homepage", _("Homepage"), $project->Uses("homepage"));
+  specific_line(
+    "git_viewgit_homepage",
+    _("Homepage Source Code Web Browsing-Git"),0,0);
+}
+
 if ($project->CanModifyUrl("extralink_documentation"))
   specific_line("extralink_documentation", _("Documentation"),
                 $project->Uses("extralink_documentation"));

Reply via email to