[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] Allowing git repos to automatically push t

From: Bob Proulx
Subject: Re: [Savannah-hackers-public] Allowing git repos to automatically push to$PROJECT
Date: Fri, 23 Jul 2021 16:19:43 -0600

Ian Kelling wrote:
> How exactly do you create new git repos? How exactly do you create a
> webpages cvs repo?

Project admins would log into Savannah web site UI.  Under the
administration menu there is a "Select Features" menu.  That page has
a long list of features that may be enabled or disabled for projects.
Each of the version control systems may be enabled/disabled
individually on that page.  Submit to save any changes.

I don't recall if repositories are created immediately or not.  If
they are created immediately then the action is triggered by an ssh
from frontend1 over to vcs1 to run a script there to create the

If not then many things are done through cron on an hourly or every
half hour basis.  In which case there will be a cron action on vcs1
which will query the database and if a repository is desired but does
not yet exist then it will create the repository at that time.

And for web pages with cvs it is the same but on vcs2.  Everything
about cvs is on vcs2.

The place to start if trying to add a git web page backend would be to
modify editgroupfeatures.php to add the feature selection.  This is
really just an interface to the database.  The appropriate table would
need to be modified to add a field to hold the project's web vcs

If that were in place then the process that sets up the hook scripts
could do the right thing and trigger the correct checkout on the
backend of things.


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]