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

Uri Simchoni uri at samba.org
Sat Jun 22 19:33:04 UTC 2019


On 6/22/19 8:04 AM, Andrew Bartlett via samba-technical wrote:

> On Sat, 2019-06-22 at 07:30 +0300, Uri Simchoni wrote:
<snip>

>> 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. 
> 

Yes, that's really good. Much better than Bitbucket/Github.

>> 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
> 

That would seem (to me) as a non-idiomatic use of the git tag system for
something not *that* important. Perhaps a simpler approach to both b.
and c. would be to channel the samba-team-bot emails to a special
mailing list that gets archived and can be browsed via lists.samba.org.

<snip>

> We also need help to automate the backups from GitLab.

I ran a short test of that - create my own small repo, review and merge
an MR, export the thing, setup a local gitlab instance, import. It
doesn't fully restore the state of the repo. MR comments are now on
behalf of the user who did the import (root), with the original
commenter mentioned in an additional line. I didn't get all versions of
the MR, "likes" are gone.

As noted above, maybe it would be more practical to make a mailing list
out of the MR discussion and archive that.

I'd be happy to help with automation but I'm currently not buying into
those particular automation tasks (I can do the backup if I understand
what we try to achieve by that and can demonstrate that we achieve it).

Thanks,
Uri.



More information about the samba-technical mailing list