Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dynamically-created repo for signed commits test #614

Merged

Conversation

urbanautomaton
Copy link
Contributor

@urbanautomaton urbanautomaton commented Feb 3, 2023

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Ensure all commits include DCO sign-off.
  • Ensure that your contributions pass unit testing.
  • Ensure that your contributions contain documentation if applicable.

Description

This replaces the test repo introduced in #610 with one created on the fly in the test.

I've switched from GPG to SSH signing to minimise the likelihood that we'll need extra dependencies on CI or other contributors' machines – if this fails on github actions then I'll look into whatever we need to get ssh-keygen running there.

I've also removed some of the commit metadata assertions that didn't feel particularly necessary, and this allowed me to reduce the setup steps for clarity.

This replaces the test repo introduced in ruby-git#610 with one created on the
fly in the test.

I've switched from GPG to SSH signing to minimise the likelihood that
we'll need extra dependencies on CI or other contributors' machines.

I've also removed some of the commit metadata assertions that didn't
feel particularly necessary, and this allowed me to reduce the setup
steps for clarity.

Signed-off-by: Simon Coffey <simon.coffey@futurelearn.com>
Copy link
Member

@jcouball jcouball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10 less files AND your test is shorter! Nice!

@jcouball jcouball merged commit 08d04ef into ruby-git:master Feb 5, 2023
@jcouball jcouball mentioned this pull request Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants