Prerequisites

Make sure you have a version of git and Python installed and have a GitHub account.

Setup

Fork the repository https://github.com/rhaas80/spin2022 into a repository of your own and clone your forked repository to your laptop.

Exercise

  • enable gh-pages  for your repository
  • install the python3-pygit2  package into the workflow container by editing main.yaml 
  • modify hello.py to out the a git log histoy following the recipe that can be found on https://www.pygit2.org/

Sending in results

Once done, please send me the URL of your repository on GitHub using my rhaas@illinois.edu email address. Please make sure that your repository:

  • contains you workflow yaml file
  • shows output of the workflow in the Actions pane
  • contains your hello.py  script

Solution

You can find my worked out solution in the solution  branch of my repository.