-
Notifications
You must be signed in to change notification settings - Fork 2
Doc: terminology: More precise terms #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
d4f2ad6
71c8b56
b9ad522
028e3ac
b8ddadf
51e1d5c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,9 +1,8 @@ | ||||||
# Terminology overview | ||||||
|
||||||
This describes the terms involved in using the `git-toprepo` tool | ||||||
to create a _toprepo_ for a _superrepo_ and its _submodules_. | ||||||
this _combines_ the history of all _repositories_ | ||||||
into one _emulated monorepo_. | ||||||
to create an _emulated monorepo_ for a _toprepo_ and its _submodules_. | ||||||
this _combines_ the history of all _repositories_. | ||||||
|
||||||
## Terms | ||||||
|
||||||
|
@@ -23,9 +22,21 @@ a _submodule_ that has been assimilated into the _combined_ history in the _topr | |||||
the parent _repository_ to a _submodule_. | ||||||
It may be a _submodule_ to another _superrepo_. | ||||||
|
||||||
**toprepo**: A regular _repository_ with special configuration and purpose. | ||||||
It is meant to be used together with `git-toprepo` to _combine_ its _submodules_ | ||||||
to an _emulated monorepo_. | ||||||
This is generally configured by the organization | ||||||
but the user may have her own configuration for personal preferences. | ||||||
There is generally only one such repo | ||||||
so it is often described in definite form: "the _toprepo_". | ||||||
|
||||||
It can also be checked out with _regular submodules_: | ||||||
|
It can also be checked out with _regular submodules_: | |
A _toprepo_ can also be checked out with _regular submodules_: |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**monocommit**: A `git-toprepo` concept, | |
**git-toprepo emulated monocommit**: A `git-toprepo` concept, |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a commit in the _emulated monorepo_. | |
a commit in the _git-toprepo emulated monorepo_. Often referred to as just _m̀onocommit_ within the git-toprepo context. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gerrit is not a CI system, Zuul is. Gerrit has though the topic feature for submitting atomically over multiple repositories and Zuul can make use of that feature to implement atomic submission in a shared gating process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment about adding a better introduction. I'm unsure what the section about Verbs are for. Are they for explaining concepts used in the code or so other documentation / concepts can refer back to this document?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is useful to limit the list of verbs used in documentation and code.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**assimilate**: `git-toprepo` has _assimilated_ a _submodule_ into the _combined_ _emulated monorepo_ history. | |
**integrate**: `git-toprepo` has _integrated_ a _submodule_ into the _combined_ _emulated monorepo_ history. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a line about monocommit = git-toprepo emulated monocommit
.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When do we use Assemble vs Expand?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this process even more complicated with nested submodules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. sure is. I forgot about that. Everything is a mess with those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.