WANTED: gitlab automation help (was: Re: Document GitLab as the only way to contribute to Samba?)

Andrew Bartlett abartlet at samba.org
Sat Jun 22 05:04:03 UTC 2019


On Sat, 2019-06-22 at 07:30 +0300, Uri Simchoni wrote:
> 
> A bit off-topic, and maybe the following concern has been raised and
> answered. My gitlab experience is a bit dated so maybe things have
> changed, but it seems to me that the mailing-list style of review
> keeps
> a better track of the decision process that led to the way the code
> is
> (and I for one used the samba-technical mail archive more than once
> for
> that purpose):
> a. With online tools, a revised MR may trump the comments made by the
> previous version.

The history of pushes is included in the history of comments on the MR,
if that is what concerns you. 

> b. How to find the MR from a commit hash to see those comments.

Currently this is just as poor as finding the mails on samba-technical, 
but there is hope.  We either need someone to write a script to watch
the merge requests for the closing comments mentioning a git hash and
to tag that commit with a git tag named after the merge request (eg
gitlab-mr-456) and containing in the text:
 - the URL of the merge request
 - the test of the merge request description

> c. All this information (MR comments) is kept outside our control and
> may not be available should we decide to move away from Gitlab as a
> hosting platform.

We also need help to automate the backups from GitLab.  We have access
to the backups (and I take them sporadically) but we should be doing
that nightly.  There is an API behind the web button, I just need
someone to find and write the tooling for it. 

This URL should explain what is needed, and we could store on our own
server or in S3 at rackspace:
https://docs.gitlab.com/ee/api/project_import_export.html

Bonus points if someone has the time to prove such backups successfully
reanimate into GitLab CI. 

Finally, we do have an archive of all comments because the 'samba-team-
bot' listens on all conversations and I have all those in my INBOX. 

I need to work with the root team to send them to a team-readable
folder. 

I trust this clarifies,

Andrew Bartlett
-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba-technical mailing list