Skip to content

Commit Information standard en

juteman edited this page Nov 5, 2020 · 3 revisions

External commits to the Commit format for Pull requests:

Third parties or individuals (including insiders), submitting contributions, need to follow the same internal commit format.

Note: Because the format of gerrit, please submit with one pull request map to one commit, if you have numbers of commits, you should create more pull request

Standard:

title (mandatory, not blank: brief summary title)

Description (mandatory, not blank: detailed description)

Log: (Compulsory, can be empty (not recommended): will be used by the internal crp system, do not know how to fill in, just repeat the title content)
Bug: (Optional, can be empty: connect for bug)
Issue: (Optional, can be empty: fixed issuse link)
Task: (Optional, can be empty: Task link, external parties not available)

Example:

see link

fix: Fix default display right angle

A call to `FETCH_PROPERTY("DTK/WindowRadius", windowRadius)` will return -1 by default, resulting in the right angle parameter. So the cup is fixed here.

Log:

PS: The above is a demonstration of the simplest submission, note that

  1. where a blank line is essential (a blank line between Title' Detailed Description' `Log:')
  2. Log: The initial letter of this line must be capitalized, and an English colon is indispensable, and the rest of the line can be left unwritten.

If you do not follow this specification, you will be given a minus -2 and will not be merged; the following missing parts will be automatically filled by the bot.

Change-Id: I4988af2bdd0a57ae99d9c5562fe8ba6808de8700
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/7769
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: xxx <xxx@uniontech.com>
Tested-by: <mailman@uniontech.com>

update: 2020-10-19