Previous Lecture | Lecture 10 | Next Lecture |
Lecture 10, Tue 10/18
(Tue Lecture): First Standup meeting on team01, continue work on team01
Today, we will:
- Go over some details about how to approach team01
- Managing branches
- Managing Pull Requests
- Why you should freeze a branch once you do a PR from it
- Discuss what a “standup meeting is”
- Hold our first “standup meeting”
We’ll then continue work on team01.
Some Details about team01
A student asked this question in their team channel on Slack:
- How are we approaching the team project?
This was my answer:
Great question.
For now: each of you has a “category”: One of:
- PublicHolidays
- University
- Zip Code
- Location
- Tides
Each of you should work first on the service / service tests for your part, in their own branch. e.g.
git checkout -b chris-location
or git checkout -b ab-tides
The branch naming convention is up to you all to work out: I only suggest that you have one.
Could be firstname-topic
or initials-topic
or whatever you decide.
Once you have finished the service, you should do a pull request from that branch.
And this is important: THEN LEAVE THAT BRANCH ALONE. Don’t continue working in that branch if there’s an open pull request for it.
Instead, as you work on the Controller and Controller tests next, make a new branch off of that branch.
For example:
git checkout chris-location
git pull origin chris-location
git checkout -b chris-location-controller
That checks out the chris-location
branch
What happens if you continue making changes to your branch after you do a PR?
Remember that:
- A branch is a pointer to a commit
- A PR is a request to pull from one branch into another
- Every time you make a commit to a branch, you update where that branch points
- Meaning: if you continue to make commits to a branch that is the basis of an open PR, that PR will continue to change
- That’s not good! You want a PR to be a fixed target.
- You change the branch that a PR is pointing to if and only if the code review process suggests you need changes
- Then, branches that branched off of that will need to be rebased
- Rebasing means: clipping off all of the later commits that came after the old base, and reapplying them on top of the new base.
What is a Standup meeting?
In a standup meeting, each team member should briefly share, both by posting in the slack channel, and by saying it out loud for the group assembled and the zoom room, these three things:
- What have you done since the last time the team met?
- What are you doing now?
- What issue are you currently assigned to in the “in Progress” column on the Kanban board (hopefully its only one)?
- How is it going?
- Are you blocked on anything?
A fourth question is sometimes added:
- When do you think you will be finished and ready to take on a new issue?
The main purposes of a standup are to:
- Identify blockers so they can be eliminated
- Ensure that each member of the team can make progress between now and the next standup
Standup DOs and DON’Ts
DO:
- Keep it short (physically standing isn’t required, but it can help)
- Give other team members your full attention
- Offer help with blockers (but summary, and promises to follow up, NOT detailed explanations)
- Keep it positive
DON’T:
- Go into detailed explanations; instead make a note to follow up with those after standup is over
- Be late or skip standup.
- Bring up extraneious issues unless they are blockers (blocking immediate progress)
Standup are not the only meetings!
A standup should not be the only kind of team meeetings that you have.
- Your team may need to have other kinds of discussions!
- If the thing you want to discuss doesn’t fit into the “formula”, suggest to the team that you have a different kind of discussion before or after standup.
- Try to keep standup focused, short, and structured.
Further notes on a standup meetings
Now do your standup, then review your Kanban board as a team
- Each team member, please take a moment to answer the three questions on your Slack channel
- This is not always done; on real world agile teams
- We are doing it here to help you get used to the process
- It also allows the staff to check that everyone is participating (since this is a university course, not a company).
- Then, go around and have each team member make an oral report to the team
- This is the part that’s more authentic to real world practice
- That’s why I want you to really, really do it.
- Ask for a volunteer to go first.
- Then each person gives their report, and then identifies who goes next.
- While sharing, each person should ideally unmute (if they are on zoom, or any team member is on zoom) and turn on their camera while sharing.
- When done, signify who should go next.
Review your Kanban board as a team
Then, review your kanban board as a team.
Team | Kanban board | Staff Member |
---|---|---|
5pm-1 | https://github.com/orgs/ucsb-cs156-f22/projects/1 | Andrew |
5pm-2 | https://github.com/orgs/ucsb-cs156-f22/projects/2 | Avishek |
5pm-3 | https://github.com/orgs/ucsb-cs156-f22/projects/3 | Bryan |
5pm-4 | https://github.com/orgs/ucsb-cs156-f22/projects/4 | Vivian |
6pm-1 | https://github.com/orgs/ucsb-cs156-f22/projects/5 | Andrew |
6pm-2 | https://github.com/orgs/ucsb-cs156-f22/projects/6 | Avishek |
6pm-3 | https://github.com/orgs/ucsb-cs156-f22/projects/7 | Bryan |
6pm-4 | https://github.com/orgs/ucsb-cs156-f22/projects/8 | Vivian |
7pm-1 | https://github.com/orgs/ucsb-cs156-f22/projects/9 | Andrew |
7pm-2 | https://github.com/orgs/ucsb-cs156-f22/projects/10 | Avishek |
7pm-3 | https://github.com/orgs/ucsb-cs156-f22/projects/11 | Bryan |
7pm-4 | https://github.com/orgs/ucsb-cs156-f22/projects/12 | Vivian |
This is not always done during Standup meetings, but it’s a good practice.
- Make sure each team member has something in the in-progress column on the kanban board. (Unless they are done with both of their issues, and there are no team level issues left to take care of–in that case, they should help with code reviews.)
- Take care of any code review requests, and merge code that’s ready to merge.
- Do not merge code that doesn’t pass the CI/ checks; only merge branches that are “green on CI”.
Work on team01
Then, you’ll just work as a team or in pairs, individually or in mobs as needed, while getting help from the staff.
Today’s participation activity
We may or may not assign a grade for today’s participation, but if we do, this will be the basis:
- 50% did the student make a standup post in the slack channel?
- 50% do they have a story in the in-progress column on the Kanban board?
Staff members:
Please check the Kanban boards for the three teams to which you are assigned. Check that:
- Each team member has exactly one issue assigned to them in the In Progress column (not less than one, not more than one)
- If there are issues “In Review”, check that there is a Pull Request
- If there are issues that are “Done”, if applicable, be sure that a PR has been merged
- This doesn’t apply to simple tasks like setting up the Heroku deployment
- It does apply to anything that involves changing Java Code
Team | Kanban board | Staff Member |
---|---|---|
5pm-1 | https://github.com/orgs/ucsb-cs156-f22/projects/1 | Andrew |
5pm-2 | https://github.com/orgs/ucsb-cs156-f22/projects/2 | Avishek |
5pm-3 | https://github.com/orgs/ucsb-cs156-f22/projects/3 | Bryan |
5pm-4 | https://github.com/orgs/ucsb-cs156-f22/projects/4 | Vivian |
6pm-1 | https://github.com/orgs/ucsb-cs156-f22/projects/5 | Andrew |
6pm-2 | https://github.com/orgs/ucsb-cs156-f22/projects/6 | Avishek |
6pm-3 | https://github.com/orgs/ucsb-cs156-f22/projects/7 | Bryan |
6pm-4 | https://github.com/orgs/ucsb-cs156-f22/projects/8 | Vivian |
7pm-1 | https://github.com/orgs/ucsb-cs156-f22/projects/9 | Andrew |
7pm-2 | https://github.com/orgs/ucsb-cs156-f22/projects/10 | Avishek |
7pm-3 | https://github.com/orgs/ucsb-cs156-f22/projects/11 | Bryan |
7pm-4 | https://github.com/orgs/ucsb-cs156-f22/projects/12 | Vivian |