Who changed the price rule?
In March, a developer changed the rule that sets delivery prices. In June, customers began to complain. Prices were wrong.
The manager asks: who changed it? Why? Who approved it? Can we go back?
Nobody wrote anything down. The change took one hour to make and three weeks to understand.
Key words
| Word | What it means | Example |
|---|---|---|
| Documentation | Written records about what was done and why. | A change record |
| Requirement | Something a system or change must do. | Customers must be able to pay by card |
| Traceability | Following a change back to its reason and its owner. | This change came from request 14 |
| Accountability | Having to answer for a decision. | The manager who approved it |
| Refresher training | A short course that reminds people of a skill. | A yearly reminder on security |
| Review | A look back to see how well something went. | A meeting after a change |
| Version control | Software that records every change to files, who made it and why. | A tool that keeps every version of a file |
| Branch | A separate line of work for trying a change safely. | A branch for trying a new price rule |
| Commit | A saved step in the history, with a message. | Add change note |
The cells students fill in are left blank in this preview.
Quick check: the price rule
Have a go
Quick check: the price rule
3 questionsWrite the change down as it happens
Write the change down as it happens. A good record has five parts.
Traceability: which request the change answers, who is responsible (does the work) and who is accountable (answers for it). Up-to-date information as plans change. A log of every decision. The change documents, kept for as long as they are needed. And training manuals for users.
Keep all of it, so you can find it years later.
What to record
| Record | What it holds | Why it matters |
|---|---|---|
| Requirement traceability | Which request each change answers. Who is responsible and who is accountable | You can show why it was done and who owns it |
| Up-to-date information | The plan, the test results and the dates, kept current | Everyone works from the latest facts |
| A log of decisions | Every yes and no, with the date and the reason | Nobody has to guess what was agreed |
| Kept change documents | The forms and reports, kept for as long as the organisation needs them | Proof when somebody checks the work |
| User training manuals | Step-by-step guides for people who use the new system | Users learn the right way |
The cells students fill in are left blank in this preview.
Which record is it?
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Plan the training, then review progress
Users need to learn the new system. Work out what training they need. There are new training needs for new skills. There are also refresher courses for skills people already have but may forget.
Then watch how the change is going. A post-progress review is a look back after the change: what worked, what did not, what to do next.
Training and review
| What | When | Example |
|---|---|---|
| New training | Before or at the start of the change | A class on the new ordering screen |
| Refresher training | After some months, or after updates | A short video each year on data safety |
| Post-progress review | When a stage or the whole change ends | A meeting: Did we meet the SMARTER goals? What next? |
The cells students fill in are left blank in this preview.
Scenario: the new till
Have a go
Scenario: the new till
3 questionsVersion control keeps every change
Version control software keeps the history of a project. Every change is a commit, with who made it, when and why.
A branch lets a developer try a change without touching the main line. If it works, the developer adds it to the main line. If not, they throw it away.
It is also a way back: you can get any older version again.
What version control gives you
| It gives you | What that means | Example |
|---|---|---|
| A history | Every change is saved with who made it, when and why | Who changed the delivery price rule in March? |
| A way back | You can get an older version again | Go back to the rule as it was in February |
| A safe place to try | A branch keeps a new idea apart until it works | Try a new price rule without touching the live one |
The cells students fill in are left blank in this preview.
Scenario: version control
Have a go
Scenario: version control
3 questionsExtra: Try it: version control in a lab
Note
Press Start the lab on the bar at the top of this lesson. Wait until it says it is running. Then press Run on each command below, in order.
You make a copy of a small project, try a change on a branch, and then go back. The project has a history of two commits at the start.
Extra: Tell Git who you are
git config --global user.name "Student" && git config --global user.email "[email protected]"A command for the lesson’s lab terminal. It is shown here and not run.
Extra: Copy (clone) the practice project
git clone http://student:student@gitea:3000/student/hello-git.git ~/hello-gitA command for the lesson’s lab terminal. It is shown here and not run.
Extra: Move into the project
cd ~/hello-gitA command for the lesson’s lab terminal. It is shown here and not run.
Extra: See the history: two commits
git log --onelineA command for the lesson’s lab terminal. It is shown here and not run.
Extra: Start a branch for the change
git checkout -b change-titleA command for the lesson’s lab terminal. It is shown here and not run.
Extra: Make a note file and add it
echo "Change request 1: new welcome title" > change-note.txt && git add change-note.txtA command for the lesson’s lab terminal. It is shown here and not run.
Extra: Commit it with a clear message
git commit -m "Add change note for request 1"A command for the lesson’s lab terminal. It is shown here and not run.
Extra: The test fails: go back
git revert --no-edit HEADA command for the lesson’s lab terminal. It is shown here and not run.
Extra: See the history: four commits now
git log --onelineA command for the lesson’s lab terminal. It is shown here and not run.
Extra: Share the branch for review
git push -u origin change-titleA command for the lesson’s lab terminal. It is shown here and not run.
Key words crossword
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Watch: recording a change
Press Play on the short film below. It starts with the price rule that nobody wrote down. Then it goes through the five parts of a good record, training and review, and what version control gives you. Listen for the myth.
Film: recording a change, training and version control
Recording a change, training and version control
Every scene, as text
- Who changed the price rule? In March, a developer changed the rule that sets delivery prices. In June, customers began to complain (bad: prices were wrong). Nobody wrote anything down (bad: three weeks to understand).
- Myth (false): it is enough to remember a change in your head. That is not true. Write the change down as it happens (a tick beside it: true). Keep all of it (a good reason: you can find it years later).
- Documentation: written records about what was done and why. A good record has five parts: requirement traceability, up-to-date information, a log of decisions, kept change documents and user training manuals.
- Plan the training, then review progress. A class on the new ordering screen (what it is: new training). A short video each year on data safety (what it is: refresher training). A meeting: Did we meet the SMARTER goals? What next? (what it is: a post-progress review).
- Version control keeps every change. Who changed the delivery price rule in March? (it gives you: a history). Go back to the rule as it was in February (it gives you: a way back). Try a new price rule without touching the live one (it gives you: a safe place to try).
- The manager asks. Who changed it? Why? (traceability: back to its reason and owner). Who approved it? (accountable: answers for it). Can we go back? (version control: gives a way back).
Your turn: a change record
A college changes its attendance app. Fill in a change record in your own words. Write one line for each of these eight items. One: the request number and what is asked. Two: who is responsible. Three: who approved it, and when. Four: how it was tested. Five: the rollback plan. Six: the training needed. Seven: the date of the post-progress review. Eight: how version control helps. Then write two sentences about why a record like this matters.
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Final check
Have a go