Aaron Gable 4be31878a8 Let git_footers split final paragraphs in specific cases
Suppose the final paragraph of a commit message looks like this:
    """
    And here's the final paragraph.
    Bug: 1234
    TBR=soandso
    Change-Id: deadbeef
    """
In this case, we don't want to lose the Bug and Change-Id footers,
so we process the whole final paragraph. *But* we'd also like to
help the user get things formatted correctly. This change lets
git_footers notice this situation, and insert a newline before the
first well-formed footer (Bug: in this case), so that the set of
well- and mal-formed footers are separated from the rest of the
malformed body text.

In the rare case where the last line of the last non-trailer paragraph
is a url, this will also visibly push the url into the block of
trailers (where it doesn't belong), prompting the user to fix it.
A more comprehensive fix for that particular case is coming later.

Bug: 766234
Change-Id: I6ae0072fff68ddf06e6f43b70f9a82a7f247f4ab
Reviewed-on: https://chromium-review.googlesource.com/849481
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
2018-01-04 00:37:38 +00:00
2017-12-20 22:36:43 +00:00
2013-05-04 00:45:09 +00:00
2017-11-22 06:33:06 +00:00
2017-10-31 21:10:19 +00:00
2017-04-11 16:02:16 +00:00
2012-03-23 19:33:18 +00:00
2012-03-23 19:33:18 +00:00
2015-07-17 22:05:19 +00:00
2012-12-17 18:20:02 +00:00
2012-03-23 19:33:18 +00:00
2017-11-29 19:28:08 +00:00
2017-12-16 00:00:56 +00:00
2017-07-15 00:53:19 +00:00
2017-04-10 20:26:08 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-11-13 11:47:19 +00:00
2013-11-01 22:58:54 +00:00
2016-09-04 17:16:19 -07:00
2016-10-10 19:08:17 -07:00
2012-09-12 21:02:02 +00:00

depot_tools

Tools for working with Chromium development. It requires python 2.7.

Tools

The most important tools are:

  • fetch: A gclient wrapper to checkout a project. Use fetch --help for more details.
  • gclient: A meta-checkout tool. Think repo or git submodules, except that it support OS-specific rules, e.g. do not checkout Windows only dependencies when checking out for Android. Use gclient help for more details and README.gclient.md.
  • git cl: A code review tool to interact with Rietveld or Gerrit. Use git cl help for more details and README.git-cl.md.
  • roll-dep: A gclient dependency management tool to submit a dep roll, updating a dependency to a newer revision.

There are a lot of git utilities included.

Updating

depot_tools updates itself automatically when running gclient tool. To disable auto update, set the environment variable DEPOT_TOOLS_UPDATE=0.

To update package manually, run update_depot_tools.bat on Windows, or ./update_depot_tools on Linux or Mac.

On Windows only, running gclient will install git and python.

Contributing

To contribute change for review:

git new-branch <somename>
# Hack
git add .
git commit -a -m "Fixes goat teleporting"
# find reviewers
git cl owners
git log -- <yourfiles>

# Request a review.
git cl upload -r reviewer1@chromium.org,reviewer2@chromium.org --send-mail

# Edit change description if needed.
git cl desc

# If change is approved, flag it to be committed.
git cl set-commit

# If change needs more work.
git rebase-update
...
git cl upload -t "Fixes goat teleporter destination to be Australia"

See also open bugs, open reviews, forum or report problems.

cpplint.py

To update cpplint.py, please submit the change upstream first at https://github.com/google/styleguide/tree/gh-pages/cpplint then copy it down.

Description
No description provided
Readme BSD-3-Clause 210 MiB
Languages
Python 97.1%
Shell 1.1%
Roff 1.1%
Batchfile 0.7%