A potential solution to that is naming types GRepositorySomething. Where the "G" indicates that it belongs to Gerrit, not JGit.
Hi,we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.We looked into this a bit more and wanted to discuss a proposal before heading into the implementation.MotivationUsers know Git. In Git you have repositories. Gerrit calls these projects and it is not immediately clear that repo == project. Renaming will lower the entry barrier to Gerrit.Option 1: Rename "project" to "repository" in the UI and docs only.This is the bare minimum, it includes renaming /projects/ to /repositories/ in the API (of course keeping the old schema around to not break callers). The UI is already moving to the term "repo". It leaves the code with "project".Option 2: Rename "project" to "repository" in UI, docs and code.In this option, we would rename all things that carry "project" in their name to "repository". That poses two questions:a) How do we distinguish an object called "RepositoryState" (the successor of ProjectState) from JGit's RepositoryState.A potential solution to that is naming types GRepositorySomething. Where the "G" indicates that it belongs to Gerrit, not JGit.
This would only cover types, not methods, since with methods it is sufficiently clear that they are provided by Gerrit.Example for a method: permissionBackend.user(user).repository(repo);b) Should we stick to the long (Repository / Repositories) or short name (repo / repos)?The long name is cumbersome to type but lowers the entry barrier for new developers since going with abbreviations that are specific to the code base increases the time a new developer needs to ramp up.Option 2 seems favorable because it leaves behind a consistent state, even though it is more work.
Happy to hear your thoughts!Thanks,Patrick
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.
We looked into this a bit more and wanted to discuss a proposal before heading into the implementation.MotivationUsers know Git. In Git you have repositories. Gerrit calls these projects and it is not immediately clear that repo == project. Renaming will lower the entry barrier to Gerrit.Option 1: Rename "project" to "repository" in the UI and docs only.This is the bare minimum, it includes renaming /projects/ to /repositories/ in the API (of course keeping the old schema around to not break callers). The UI is already moving to the term "repo". It leaves the code with "project".Option 2: Rename "project" to "repository" in UI, docs and code.In this option, we would rename all things that carry "project" in their name to "repository". That poses two questions:
a) How do we distinguish an object called "RepositoryState" (the successor of ProjectState) from JGit's RepositoryState.A potential solution to that is naming types GRepositorySomething. Where the "G" indicates that it belongs to Gerrit, not JGit. This would only cover types, not methods, since with methods it is sufficiently clear that they are provided by Gerrit.Example for a method: permissionBackend.user(user).repository(repo);b) Should we stick to the long (Repository / Repositories) or short name (repo / repos)?The long name is cumbersome to type but lowers the entry barrier for new developers since going with abbreviations that are specific to the code base increases the time a new developer needs to ramp up.
Option 2 seems favorable because it leaves behind a consistent state, even though it is more work.Happy to hear your thoughts!Thanks,Patrick
--
On Wednesday, January 24, 2018 09:04:12 AM 'Dave Borowitz'
via Repo and Gerrit Discussion wrote:
> On Wed, Jan 24, 2018 at 5:24 AM, 'Patrick Hiesel' via Repo
> I'm not sure I understand your objection. Are you saying
> that a new developer who sees the term "repo" in
> code/docs/whatever will not understand that "repo" is
> short for "repository"? If so, sorry, I don't buy it,
> that just doesn't seem realistic.
Perhaps not, however "repo" does have the downside of
clashing with the infamous "repo" tool which many Gerrit
devs do have to live with, and likely will for another
decade,
On Wednesday, January 24, 2018 11:24:17 AM 'Patrick Hiesel'
via Repo and Gerrit Discussion wrote:
>
> *Option 2: *Rename "project" to "repository" in UI, docs
> and code. In this option, we would rename all things that
> carry "project" in their name to "repository". That poses
> two questions:
I favor this option, but would not be upset with option 1.
> a) How do we distinguish an object called
> "RepositoryState" (the successor of ProjectState) from
> JGit's RepositoryState.
I use the jgit Repository and the Gerrit Project and
ProjectState objects all the time. I have never used the
jgit RepositoryState object. Is this something used more
often in a modern Gerrit?
In the code, I would be more
worried about the conflict with both Jgit and Gerrit's
Repository (if we rename the Project object to Repository),
but I don't know how much Project is used in the current
code base. The Project object was removed a long time ago
from the DB, does it serve much of a purposed any more?
It is embedded in the Branch.NameKey which perhaps should be
renamed to Ref.NameKey? Although I typically think of a
Branch.NameKey as something that I can upload changes to, I
would not put a tag (which is a ref) in there, and if it
were called Ref.NameKey, I might put a tag in there.
I think "Repo" with a capital is likely the best name for
the old Project object in the code.
But we could call it a
GRepo if we wanted, not to show that it comes from Gerrit,
but because it has different attributes than a jgit
Repository.
We could call it a MetaRepo, or MRepo since if
is a git repository with a refs/meta/config branch (the
current primary distinguishing difference between a plain git
repository and a Gerrit one.
But I would think of
permission only projects, All-Projects, and All-Users as
meta repos.
And a GRepo would also capture the
refs/meta/config difference and any other Gerrit differences.
So I think GRepo is good. As for clashing with "Git", I
don't think we have Git in our codebase, we have jgit, so
I'm not too worried about that.
What do we do about All-Projects though?
-Martin
--
The Qualcomm Innovation Center, Inc. is a member of Code
Aurora Forum, hosted by The Linux Foundation
On Wednesday, January 24, 2018 10:07:54 AM Dave Borowitz
wrote:
> Thanks for the suggestions, Martin.
>
> On Wed, Jan 24, 2018 at 9:50 AM, Martin Fick
<mf...@codeaurora.org> wrote:
> > In the code, I would be more
> > worried about the conflict with both Jgit and Gerrit's
> > Repository (if we rename the Project object to
> > Repository), but I don't know how much Project is used
> > in the current code base. The Project object was
> > removed a long time ago from the DB, does it serve much
> > of a purposed any more?
> Good point. ISTM all the fields could be moved to either
> ProjectConfig or ProjectState (using current names, of
> course). Edwin is also thinking of something similar for
> Account/AccountGroup.
Sounds good
First of all let me say: Thank you. This is exactly the discussion I was hoping for so that we can sort this out cleanly before jumping into the implementation :)Personally I don't see a problem in abbreviating Repository with Repo in code, also not for new developers, but I did want to bring it up. Also because it was part of some prior internal discussions.I do agree that we shouldn't call it "Repository" in code for the potential clash with JGit that would leave us with calling one of the two with it's fully-qualified package name. That does of course not say that we can't do this in the docs/UI.I have never used JGit's RepositoryState but wanted to bring up potential name clashes by calling out an example.Let me see if I can summarize the current state of the discussion (this is not to draw any conclusion yet):- Rename "Project" to "Repo" in all types, methods and interfaces- Renaming "Project" to "Repository" in docs, UI and API
- Mid-term remove the "Project" entity and move it's logic into RepoState and other places. Short-term leave this as-is to not clash with JGit- (?) Rename project.config to repository.config
- Long-term rename Branch to Ref in code (and reference in UI, docs, API)- Rename the default of All-Project to All-Repositories. Since it is configurable, people can stick with the old name if desired.
On Wed, Jan 24, 2018 at 4:25 PM, Martin Fick <mf...@codeaurora.org> wrote:On Wednesday, January 24, 2018 10:07:54 AM Dave Borowitz
wrote:
> Thanks for the suggestions, Martin.
>
> On Wed, Jan 24, 2018 at 9:50 AM, Martin Fick
<mf...@codeaurora.org> wrote:
> > In the code, I would be more
> > worried about the conflict with both Jgit and Gerrit's
> > Repository (if we rename the Project object to
> > Repository), but I don't know how much Project is used
> > in the current code base. The Project object was
> > removed a long time ago from the DB, does it serve much
> > of a purposed any more?
> Good point. ISTM all the fields could be moved to either
> ProjectConfig or ProjectState (using current names, of
> course). Edwin is also thinking of something similar for
> Account/AccountGroup.
Sounds goodAs a first step I was only thinking about making Account immutable.Merging Account into AccountState would be nice, but in the short term it's unlikely that I have time to look into this.
we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.
I have never used JGit's RepositoryState but wanted to bring up potential name clashes by calling out an example.
Patrick Hiesel wrote:I have never used JGit's RepositoryState but wanted to bring up potential name clashes by calling out an example.By the way, with my jgit contributor hat on: the RepositoryState enum name is not self explanatory, so I wouldn't be broken hearted if it were deprecated and replaced with something more specific.
That doesn't technically affect this since RepositoryState and RepoState are different identifiers, but it might be nice since then RepoState and RepositoryState would clash less in people's heads too.Thanks,Jonathan
--
Jonathan Nieder wrote:Patrick Hiesel wrote:
I have never used JGit's RepositoryState but wanted to bring up potential name clashes by calling out an example.By the way, with my jgit contributor hat on: the RepositoryState enum name is not self explanatory, so I wouldn't be broken hearted if it were deprecated and replaced with something more specific.any proposal for a better name ? This class is used a lot in EGit.
Martin wrote:Dave wrote:
> Patrick wrote:
> I'm not sure I understand your objection. Are you saying
> that a new developer who sees the term "repo" in
> code/docs/whatever will not understand that "repo" is
> short for "repository"? If so, sorry, I don't buy it,
> that just doesn't seem realistic.
Perhaps not, however "repo" does have the downside of
clashing with the infamous "repo" tool which many Gerrit
devs do have to live with, and likely will for another
decade,
Sure, and for that reason I think the Gerrit documentation should stick with "repository", but within the Gerrit source code I don't see the problem with "repo".
Martin wrote:Dave wrote:
> Thanks for the suggestions, Martin.
>
> Martin wrote:
> > In the code, I would be more
> > worried about the conflict with both Jgit and Gerrit's
> > Repository (if we rename the Project object to
> > Repository), but I don't know how much Project is used
> > in the current code base. The Project object was
> > removed a long time ago from the DB, does it serve much
> > of a purposed any more?
> Good point. ISTM all the fields could be moved to either
> ProjectConfig or ProjectState (using current names, of
> course). Edwin is also thinking of something similar for
> Account/AccountGroup.
Sounds good
As a first step I was only thinking about making Account immutable.Merging Account into AccountState would be nice, but in the short term it's unlikely that I have time to look into this.
Hi,we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.
We looked into this a bit more and wanted to discuss a proposal before heading into the implementation.MotivationUsers know Git. In Git you have repositories. Gerrit calls these projects and it is not immediately clear that repo == project. Renaming will lower the entry barrier to Gerrit.
> On 15 Feb 2018, at 14:19, David Ostrovsky <david.o...@gmail.com> wrote:
>
>
> Am Mittwoch, 24. Januar 2018 11:24:23 UTC+1 schrieb Patrick Hiesel:
> Hi,
>
> we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.
>
>
> Sorry, I wasn't able to attend the hackathon and participate in this discussion.
I believe that the feedback was: "why did we even called it project the first time? repository seems a more logical name"
>
> We looked into this a bit more and wanted to discuss a proposal before heading into the implementation.
>
> Motivation
> Users know Git. In Git you have repositories. Gerrit calls these projects and it is not immediately clear that repo == project. Renaming will lower the entry barrier to Gerrit.
Yes, that is the first feedback I get from people that start using Gerrit for the first time.
The second problem they have is to understand what is a "Change" and a "Patch-Set". They typically want to talk about pull-request.
>
>
> I'm late to the party but I would like to keep the current name project in Gerrit.
>
> I have never heard any complaints that this name is confusing. I'm working with Gerrit for 5 years now.
> Can you point me to any discussions on the mailing list or any high ranked issues in the issue tracker?
The point is: once you start using Gerrit for at least 1-2 days, you don't have the confusion anymore. That is why it is so difficult to find the evidence you are talking about.
>
> I think that project is the right name, for number of reasons:
>
> * Project in Gerrit conceptually is much more then just Git repository. Permisions are fundamental Gerrit feature
> and the Gerrit poject is where the persmissions are configured, by defining the project ACLs with project inheritance scheme.
> That way, the project in Gerrit is Git repository + meta data. We should do a better job in gerrit documentation and explain
> to the users, what the project is and why it is not just called repository: it's more than that.
Agreed.
>
> * Consistency with abstract terms in Gerrit: Why you havn't suggested to rename the term "change" to "commit"? With the
> same argumentation here: Users know Git, change is commit in Git, let us just rename change to commit in Gerrit. Similar
> reason to project: while it's technically correct, change in Gerrit is much more then just Git commit: it is commit + meta data
> (votes, human comments, bot comments, verification logs, etc).
That was exactly the point I've mentioned before: change and patch-sets are as well "unknown terms" for the Gerrit novice user.
>
> * Open Gerrit Code Review for other (D)VCS backends. Today gerrit only supports Git, but
> conceptually, Gerrit can be opened for other backend systems in the future. What if the name for other backends is different
> as it's in Git? Would we rename to more abstract name Project back again?
Wow, yes, but we are miles away from it, correct?
With NoteDb, I struggle to see Gerrit being able to store its data into a Subversion-based NoteDb :-D
>
> * Existing tools/integrations/libraries: In the last 10 years many tools, intergrations, libraries
> UI extensions were written (open and closed source). They would need to be adjusted to reflect
> this change in gerrit core. That would require a *lot* of efforts.
And documentation, blog posts, videos, papers, books (including mine), etc ...
>
> * Gerrit way/thinking/legacy: it should stay the way gerrit users used to. Why should we replace
> the major Gerrit term, just because it is called differently in the tools foo/bar?
>
> * Wrong time frame/Migration of ReviewDB->NoteDb/PG -> GWT UI is underway:
Is there a "good time" at all? Such a major name change has never a "right time" :-)
>
> That why I would like to keep the current name. Moreover, I would *really* like to avoid changing it now:
> 2.15 wasn't released, stable-2.16/stable-3.0 wasn't cut of, ReviewDb wasn't removed yet and GWT UI
> is still there. Those migrations, replacements of backend and the UI, tool chain adaptations from
> SQL scripts to NoteDb programms, plugins transitions to new backend and new UI, all this is a huge
> change for Gerrit users and administrators.
This is very true: can we just wait to start stabilizing 3.0?
>
> Should we really throw on them yet another substantial migration pain at *the same* time:
>
> * Change the PG-UI
> * Change (to be removed) GWT-UI?
> * Change URL scheme (again)
> * Change all refs/meta/config files from project.config to repository.config for core and plugins
> * Change plugin API (with requirements to adapt all plugins, that need to be adapted to PG UI first)
> * Rename All-Projects to All-Repositories,
> * Rename plugins from delete-projects to delete-repository
> * Rename project secondary index to repository secondary index
> ...
>
> If you still want to change that, can't we wait until NoteDb and PG transition is completed,
> ReviewDb and GWT-UI are removed and stable-3.1 was cut of?
That's a good point, +1 to it.
Overall I like change, especially if it is driven in extending the audience and the community around Gerrit. However, one thing at a time :-)
Luca.
On Thu, Feb 15, 2018 at 3:36 PM Luca Milanesio <luca.mi...@gmail.com> wrote:
> On 15 Feb 2018, at 14:19, David Ostrovsky <david.o...@gmail.com> wrote:
>
>
> Am Mittwoch, 24. Januar 2018 11:24:23 UTC+1 schrieb Patrick Hiesel:
> Hi,
>
> we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.
>
>
> Sorry, I wasn't able to attend the hackathon and participate in this discussion.
I believe that the feedback was: "why did we even called it project the first time? repository seems a more logical name"
>
> We looked into this a bit more and wanted to discuss a proposal before heading into the implementation.
>
> Motivation
> Users know Git. In Git you have repositories. Gerrit calls these projects and it is not immediately clear that repo == project. Renaming will lower the entry barrier to Gerrit.
Yes, that is the first feedback I get from people that start using Gerrit for the first time.
The second problem they have is to understand what is a "Change" and a "Patch-Set". They typically want to talk about pull-request.
>
>
> I'm late to the party but I would like to keep the current name project in Gerrit.
>
> I have never heard any complaints that this name is confusing. I'm working with Gerrit for 5 years now.
> Can you point me to any discussions on the mailing list or any high ranked issues in the issue tracker?
The point is: once you start using Gerrit for at least 1-2 days, you don't have the confusion anymore. That is why it is so difficult to find the evidence you are talking about.
>
> I think that project is the right name, for number of reasons:
>
> * Project in Gerrit conceptually is much more then just Git repository. Permisions are fundamental Gerrit feature
> and the Gerrit poject is where the persmissions are configured, by defining the project ACLs with project inheritance scheme.
> That way, the project in Gerrit is Git repository + meta data. We should do a better job in gerrit documentation and explain
> to the users, what the project is and why it is not just called repository: it's more than that.
Agreed.I agree that we should have really good documentation, but users don't like reading docs and one of the problems first-time users have when the come to Gerrit is that they do have to read docs. I think this renaming is one step towards lowering that entry barrier.
Am Donnerstag, 15. Februar 2018 15:58:08 UTC+1 schrieb Patrick Hiesel:On Thu, Feb 15, 2018 at 3:36 PM Luca Milanesio <luca.mi...@gmail.com> wrote:
> On 15 Feb 2018, at 14:19, David Ostrovsky <david.o...@gmail.com> wrote:
>
>
> Am Mittwoch, 24. Januar 2018 11:24:23 UTC+1 schrieb Patrick Hiesel:
> Hi,
>
> we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.
>
>
> Sorry, I wasn't able to attend the hackathon and participate in this discussion.
I believe that the feedback was: "why did we even called it project the first time? repository seems a more logical name"
>
> We looked into this a bit more and wanted to discuss a proposal before heading into the implementation.
>
> Motivation
> Users know Git. In Git you have repositories. Gerrit calls these projects and it is not immediately clear that repo == project. Renaming will lower the entry barrier to Gerrit.
Yes, that is the first feedback I get from people that start using Gerrit for the first time.
The second problem they have is to understand what is a "Change" and a "Patch-Set". They typically want to talk about pull-request.
Exactly, thanks for pointing this out. Without redaing the documentation, or asking for explanation,
nobody would understand what Change and Patch Set terms mean. Renaming project to repository
*only* but letting the Change and Patch Set terms "as is" doesn't solve and change anything.
>
>
> I'm late to the party but I would like to keep the current name project in Gerrit.
>
> I have never heard any complaints that this name is confusing. I'm working with Gerrit for 5 years now.
> Can you point me to any discussions on the mailing list or any high ranked issues in the issue tracker?
The point is: once you start using Gerrit for at least 1-2 days, you don't have the confusion anymore. That is why it is so difficult to find the evidence you are talking about.
>
> I think that project is the right name, for number of reasons:
>
> * Project in Gerrit conceptually is much more then just Git repository. Permisions are fundamental Gerrit feature
> and the Gerrit poject is where the persmissions are configured, by defining the project ACLs with project inheritance scheme.
> That way, the project in Gerrit is Git repository + meta data. We should do a better job in gerrit documentation and explain
> to the users, what the project is and why it is not just called repository: it's more than that.
Agreed.I agree that we should have really good documentation, but users don't like reading docs and one of the problems first-time users have when the come to Gerrit is that they do have to read docs. I think this renaming is one step towards lowering that entry barrier.
Nope. It doesn't bring you any step towards. See Change and Patch Set terms discussion above,
mentioned by Luca.
If you are trying to make Gerrit a GitHub clone, fine, but then, be consistent and propose the complete
gerrit GitHubation renaming procedure:
* Project => Repository
* Change => Pull Request
* Patch Set => Commit
Before you do this, I already say now that I would disagree ;-)
Am Donnerstag, 15. Februar 2018 15:58:08 UTC+1 schrieb Patrick Hiesel:On Thu, Feb 15, 2018 at 3:36 PM Luca Milanesio <luca.mi...@gmail.com> wrote:
> On 15 Feb 2018, at 14:19, David Ostrovsky <david.o...@gmail.com> wrote:
>
>
> Am Mittwoch, 24. Januar 2018 11:24:23 UTC+1 schrieb Patrick Hiesel:
> Hi,
>
> we discussed on a recent hackathon, that we want to rename "project" to "repository" in Gerrit and from what I recall there was consensus about that.
>
>
> Sorry, I wasn't able to attend the hackathon and participate in this discussion.
I believe that the feedback was: "why did we even called it project the first time? repository seems a more logical name"
>
> We looked into this a bit more and wanted to discuss a proposal before heading into the implementation.
>
> Motivation
> Users know Git. In Git you have repositories. Gerrit calls these projects and it is not immediately clear that repo == project. Renaming will lower the entry barrier to Gerrit.
Yes, that is the first feedback I get from people that start using Gerrit for the first time.
The second problem they have is to understand what is a "Change" and a "Patch-Set". They typically want to talk about pull-request.
Exactly, thanks for pointing this out. Without redaing the documentation, or asking for explanation,
nobody would understand what Change and Patch Set terms mean. Renaming project to repository
*only* but letting the Change and Patch Set terms "as is" doesn't solve and change anything.
On Thu, Feb 15, 2018 at 04:58:06PM +0000, 'Logan Hanks' via Repo and Gerrit Discussion wrote:
> David, does it change how you feel if you divide your concerns into two
> independent parts? One is "in an ideal world, what would we call
> projects?" The other is, "given an ideal name for projects, when would we
> make the transition?" The term "repository" seems like a strong candidate
> for the first concern. I know you favor "project", but if you divorce that
> concern from the timing concern, do you still favor the name as much? You
> still have the option of favoring the timing of "3.0" or "never" or
> whatever you prefer for the second concern, but it would be a significant
> step forward if we can agree on a name.
may i suggest that all the time already spent on deliberating the
rename, let alone later implementing it and dealing with the fallout
"downstream", exceeds the *cumulative* time saved on future users' side?
seriously, among all the other things one has to learn to start using
gerrit, the mild misnomer "project" is really a rather irrelevant
concern.
i suppose it might be different if
https://bugs.chromium.org/p/gerrit/issues/detail?id=1008 was
implemented, but even then it can be worked around by calling the bigger
scope "organization" or something like that.
regarding "change" vs. "pull request" ... the latter is a plain misnomer
(did you ever think about what this term actually means and where it
comes from?). gitorous used "merge request" which is somewhat more
applicable (hey, shouldn't that be "submission request" then? or
"integration request"? shall the concept's name be configurable? :D).
renaming "change" would also imply renaming the Change-Id footer, which
leaves a visible mess in a project's (err, repo's) git history.
renaming "patch set" to "revision" would seem to be the least disruptive
and actually most helpful in my estimation. don't call it "commit", as
that would *increase* the confusion potential with what "change"
currently means (though technically, commit and revision are the same
thing in git, so this is actually a rather weak distinction).
in the end, i'd say that all that renaming is a profoundly misguided
idea - the gain is minimal (even if the current names are suboptimal,
you can't map the concepts directly to git or github, so new users will
face some unfamiliar terms anyway), and causes significant migration
pain at all levels.
On Thursday, February 15, 2018 06:19:13 AM David Ostrovsky
wrote:
> Am Mittwoch, 24. Januar 2018 11:24:23 UTC+1 schrieb
Patrick Hiesel:
> > Hi,
> >
> > we discussed on a recent hackathon, that we want to
> > rename "project" to "repository" in Gerrit and from
> > what I recall there was consensus about that.
>
> Sorry, I wasn't able to attend the hackathon and
> participate in this discussion.
I may have been the one to come up with the proposal. I
suggested the shift when I realized that the term "Project"
was so generic that in our conversations we had to say
"Project, i.e. the git repository" to distinguish it from
other high level project concepts such as Android, Chrome...
When I realized that I had to specify what type of project I
meant, that perhaps the term was too vague, and that perhaps
little would be lost if we just used the term repository
instead.
I then also realized it likely would be easier for
new comers.
> I have never heard any complaints that this name is
> confusing. I'm working with Gerrit for 5 years now.
Sorry, consider my complaint registered above.
> I think that project is the right name, for number of
> reasons:
>
> * Project in Gerrit conceptually is much more then just
> Git repository. Permisions are fundamental Gerrit feature
> and the Gerrit poject is where the persmissions are
> configured, by defining the project ACLs with project
> inheritance scheme. That way, the project in Gerrit is
> Git repository + meta data. We should do a better job in
> gerrit documentation and explain to the users, what the
> project is and why it is not just called repository: it's
> more than that.
While these are all true statements, I feel that nothing is
fundamentally lost by using the term Repository. People
think of a project as the git information and could care
less that the repository happens to also store additional
Gerrit info in it. When I clone --mirror a gerrit project
to my local disk, do I end up with a project or a
repository?
> * Consistency with abstract terms in Gerrit: Why you
> havn't suggested to rename the term "change" to "commit"?
A change does not equate to a commit, a commit equates to a
change patchset. That being said, a better term for change
should be considered if there is one. But a change does do
a pretty good job explaining what it is. Is there a better
git term?
> * Open Gerrit Code Review for other (D)VCS backends. Today
> gerrit only supports Git, but
> conceptually, Gerrit can be opened for other backend
> systems in the future. What if the name for other
> backends is different as it's in Git? Would we rename to
> more abstract name Project back again?
Imagine that we started out with the term repository and
then we added a DVCS with some other term for its
repository. At that point we might look for another term
like "Project", but along the way I think we would all
think, "ugh this sucks having to come up with a term that
isn't as obvious and clear to new users as what the DVCSes
use"? Maybe we would just stick with the specific terms
for each DVCS to make it clear?
> * Wrong time frame/Migration of ReviewDB->NoteDb/PG -> GWT
> UI is underway:
I am not involved enough upstream to be able to comment on
this, and I respect your points about it possibly not being
a good time,
When I say all repositories,what is that? Today if I say: project config. It's clear that I mean gerrit projectconfiguration file on refs/meta/config branch. If I say repository config what doI mean? Gerrit repository config file on refs/meta/config branch or Git's ownrepository config file?
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
You are trying to solve a problem that doesn't exist. Gerrit users don't have a problemof understanding of Gerrit Project/Git Repository terms.
I believe that Gerrit founder made very wise and conscious decision andpreferred to separate those two concerns to avoid the ambiguity and collisionbetween Gerrit project and Git repository. Term Repository is very muchoverloaded in DVCS domain in general and in Git in particular. Keepinga different name clearly reduces the scope in discussion and avoids confusion.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
Thank you for this discussion. I see that emails get longer and longer which makes it harder to follow the individual points that people are making.I'd like to propose to take a different direction in this discussion by taking it to the next hackathon and have it in-person instead. We can dial people in that don't participate in-person so that nobody is left behind.I definitely agree to the point that David O made: We should make sure we understand all aspects of this change, as well as it's impact and motivation. I would therefore use the time until then to compile all the arguments that came out of this email thread into a document and invest more into presenting impact and motivation.Thanks,Patrick
On Tue, Feb 27, 2018 at 6:31 AM 'Jonathan Nieder' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:
Hi,--David Ostrovsky wrote:I believe that Gerrit founder made very wise and conscious decision andpreferred to separate those two concerns to avoid the ambiguity and collisionbetween Gerrit project and Git repository. Term Repository is very muchoverloaded in DVCS domain in general and in Git in particular. Keepinga different name clearly reduces the scope in discussion and avoids confusion.Not that it's too relevant, but just for completeness:I had the conversation with Shawn about why Gerrit calls repositories projects in person multiple times. The answer was simple: it inherited the name from Rietveld, which was a VCS-agnostic tool. The natural followup question: if he could do it over, would he call it "repository"? IIRC the answer was "maybe".I've also more than once seen a conversation where the term "project" led to confusion, since it's ambiguous. It is not that people mistook projects for repositories, whatever that would mean. It is that when someone said project, another person didn't know whether they meant a project like Android, or a project like improving Android's battery life, or a Gerrit project like platform/frameworks/base on android-review.googlesource.com. Clarifying that they meant "a Gerrit project" cleared up the confusion.Hope that helps,Jonathan
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
Luca.
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Luca.
To unsubscribe, email repo-disc...@googlegroups.com