grafting-monorepos icon indicating copy to clipboard operation
grafting-monorepos copied to clipboard

Activity 1: History

Open selkins13 opened this issue 4 years ago • 8 comments

Duration: 10 minutes

History of your repository

Let's look at the history of your repository. Using a command line tool, run the following command on it:

git log --oneline

Be sure you are in the location of that file inside your command line tool.

Explore a commit

Choose a commit in your repositories history and let's explore that single commit. Run the following command to see the details of the commit.

git log --pretty=fuller [commit hash]

Be sure you are in the location of that file inside your command line tool.

How many changeset are in your repository

Let's find out how many changes your repository has. Run the following command to see how may commits have been made in your repository:

git log --oneline | wc -l

Be sure you are in the location of that file inside your command line tool.

Report out

Report your findings in comments section below:

  • Include answers to the following questions in your comments:
    • How many commits have been made on your repository?
    • Do you find any patterns?
    • Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

:warning: Make sure during all this exercise you don't post any private information that should not be shared publicly.

For examples and more information, please see README.md -> Activity 1.

selkins13 avatar Nov 20 '20 20:11 selkins13

How many commits have been made on your repository?

6810

Do you find any patterns?

All merges tied to issues since we squash and merge. Each commit represents a pull request.

Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

😬 Not really but we tie them back to issues that have more details.

onetrickwolf avatar Dec 11 '20 18:12 onetrickwolf

How many commits have been made on your repository? 85 Do you find any patterns? majority of commits are PR merges Are the commit messages relevant enough Most of them (except for merges)

FLMRobert avatar Dec 11 '20 18:12 FLMRobert

How many commits have been made on your repository?

12356, but not full history, history has been squash when including it from svn to git

Do you find any patterns?

yes, merges, maven release message

Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

legacy project, multi team with no proceesse ... not really :p

nicolas2mey avatar Dec 11 '20 18:12 nicolas2mey

  1. How many commits have been made on your repository? 6682
  2. Do you find any patterns? Many dependency upgrades and merge commits
  3. Are the commit messages relevant enough to know why the file changed? Do you follow a standard? Mostly yes. There are a few here and there that do not really follow the standards

darshil0193 avatar Dec 11 '20 18:12 darshil0193

How many commits have been made on your repository? 7283 Do you find any patterns? Bug fix Are the commit messages relevant enough to know why the file changed? Do you follow a standard? Yes

elavaud avatar Dec 11 '20 18:12 elavaud

How many commits have been made on your repository? 119003 commits

Do you find any patterns? all our commit messages contains jira id to link code change to the actual issue or story and quite a lot of merge request commit

mic666 avatar Dec 11 '20 18:12 mic666

How many commits have been made on your repository?

8625

Do you find any patterns?

We're following the pattern where each commit that gets merged into main branch encompasses the number of ticket in Jira and its title.

Are the commit messages relevant enough to know why the file changed? Do you follow a standard?

We have some checkups in place which verify the commit message pattern and it will disallow commits from being merged if they break that pattern.

alubchuk avatar Dec 11 '20 18:12 alubchuk

How many commits have been made on your repository? 397 Do you find any patterns? Merge, bug fix Are the commit messages relevant enough to know why the file changed? Do you follow a standard? Yes

saihtaungkham avatar Dec 11 '20 18:12 saihtaungkham