Week 2 Class 4 Thu Jan 25 Posted: Jan 25
After Class
Project 1 I will show in class on Tuesday how to tag your commit for v1a
of Project 1. You can continue to commit, as a tag can be set on any commit, even a previous commit.
If you do want to go ahead and tag for v1a, the commands to tag, view the tags, and push the tag to GitHub are:
On the GitHub page for your repository, where it says main, allows you to view the code at any of your tags. Verify at GitHub that the tag is there.
Announcements
Agenda
Build and run the Project 1 srcfacts program. This must include the following:
cmake
make
make run
To demonstrate this, you will record a terminal session using asciinema. It records the commands you enter and the output the command produces. asciinema
is already installed in the GitHub Codespaces image. You can also install asciinema on Linux/WSL/macOS.
asciinema
is relatively straightforward to use.
You can play, pause, skip, etc. You can also copy the commands as text. Note that the replay even includes your pauses and any delay as the command is run.
At the end of the terminal session, asciinema
will show a URL. Anybody can use this URL to view the session. This is what you will submit for the exercise to the link in the exercise title. The URL should not contain "connect" or be a local file. Test your URL in a browser; an incorrect URL will receive a 0.
Exercise 13: Rainfall III
Continuing on using the workflow from Rainfall I
As before, you can follow along and see the commits that I make in class:
If you have any questions or issues, make sure to contact me.
Unless otherwise noted, exercises are due by 4:30 pm on Fri Jan 26