Managing a Mini-Project
Overview
Teaching: 0 min
Exercises: 20 minQuestions
How do we put everything we’ve learnt together?
Objectives
Go through the steps of managing a small software project.
Now we’ve seen all the steps involved in developing sustainable code, let’s put that knowledge into practise.
Identifying issues
Earlier, we made a fork of the
rf4
repository. The code there is pretty bad- it’s written in a very unsustainable way that makes future development harder (and passing the project on to another researcher even harder!). However, as a published project owned by somebody else, we don’t have the permissions required to edit it and fix the problems.Fortunately, we have already forked it, and now we’re going to set up a small project to improve it. Take a look at your fork of the
rf4
repository, identify three problems with the code, and raise them as issues. Forks don’t have Issues by default, but you can enable them using Settings -> Options -> Features.Don’t try to run the code- there’s more than enough things wrong with it that you can spot just from a quick read-through.
Once you’ve got your issues, create a kanban board on the repo and place them on it.
Solution
Solving problems
Now we’ve got a project board with all our problems in the To Do column, we can set about fixing one of the issues.
We want to use the feature-branch workflow, so it would be easy to collaborate with other people. Pick one of your open issues, and fix it using the feature-branch workflow, then once it’s done issue a release of your updated
master
branch!Solution
Now you should have a good idea of the skills and techniques required to manage a project successfully!
Key Points
Problems with code and documentation can be tracked as issues.
Issues can be managed on a project board.
Issues can be fixed using the feature-branch workflow.
Stable versions of the code can be published as releases.