On Sunday, April 26, 2015 08:56:16 PM Alan Evangelista
wrote:
> AV> The usual meaning of a patch set is a set of patches.
> Gerrit uses this alternative meaning of change revision
> (aka change version) ? Why? This is a little confusing...
>
> Reading the code, I now think this confusing terminology
> comes from there, as "Patch" class represents a change in
> a file, "PatchSet" represents a change in several files
> (a group of Patches) and "Change" represents a group of
> PatchSets and some metadata. This patch definition also
> is different from usual patch meaning (software update)
> and it is a little confusing imho.
I don't think the term patch to represent a diff (something
that can be fed to the "patch" command) is unusual in the
source code world.
> imho FilePatch would
> make more sense than Patch and Patch would make more
> sense than PatchSet as classes names. In the UI, I still
> think that "revision" or "version" are the more adequate
> terms to replace the current "PatchSet".
I don't think "revision' would "version" correlate to a
patchset, but rather to a "patchset number" or a "patchset
revision", maybe I don't understand what you are suggesting
here?
> Are the
> developers reading this group and they think this makes
> sense? I'd like to have some feedback before start
> implementing and submitting a patch. Should I open an
> issue in Gerrit issue tracker to have that?
I agree that the wording could be improved potentially, but
I would find it too intrusive to desire such changes to the
code base at this point. I also suspect that it would be
very difficult to come up with better terms that make sense to
most people. This is not a bike-shedding discussion that I
personally think would add a lot of value at this point to
Gerrit,
-Martin
--
The Qualcomm Innovation Center, Inc. is a member of Code
Aurora Forum, hosted by The Linux Foundation