https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8056

--- Comment #4 from Sidney Markowitz <sid...@sidney.com> ---
I'm making progress on GitHub actions in a personal fork of our git-svn mirror
on GitHub. Giovanni, the error you hit is the result of bad permissions on a
directory in the Ubuntu runner, fixed by adding a suitable sudo chmod in the
script setting up the build environment. There was a similar problem on macOS
runners with privileges of the default user, and on Windows with a required
change in .gitattributes. I'll make it all available at once after it is fully
working.

To document it in the public record, here is a copy/paste of a conversation I
had a few minutes ago on the asf-infra slack channel, confirming that it should
be ok to use our git mirror this way:

----------------

Sidney
SpamAssassin project uses svn. Would it be possible and make sense to add a
.gitattributes file and .github directory with some GitHub actions set for
manual trigger only to allow someone to fork the git mirror and run tests in
Actions? This would not use Apache resources on GitHub since this is not for
automated CI actions on the mirror, just a convenient way for individual
committers to test in their personal GitHub accounts. If we did that, would it
work to add the files to the svn repo, or does the git-svn mirror process
ignore git-repo-specific files, so Infra would have to add them to the git repo
somehow?

Humbedooh
the mirror process should pick up any files you add

Sidney
Do you see any problems with doing this?

Humbedooh
we can't add anything to the git repo itself manually, as that would break
mirroring
I don't see any issues with it, as long as nothing writes or tries to write to
the git repo itself
there is already a .gitignore file in the repo for instance

Sidney
The actions would not even be set up to run on the mirror. As long as adding
.github/workflow/*.yml files doesn't automatically enable Actions in the repo
and then we can't change those automatic settings on a mirror. Is that a
possible problem?

Humbedooh
I don't think anyone truly knows the answer to that question, no one has tried
that before :slightly_smiling_face:

Sidney
OK, then I guess it is worth a try. Thanks!

Humbedooh
the settings can always be changed by infra manually if anything goes wonky

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to