Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: DEPS

Issue 1289473002: Update documentation of how to use roll-dep in DEPS file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file is used to manage the dependencies of the Chromium src repo. It is 1 # This file is used to manage the dependencies of the Chromium src repo. It is
2 # used by gclient to determine what version of each dependency to check out, and 2 # used by gclient to determine what version of each dependency to check out, and
3 # where. 3 # where.
4 # 4 #
5 # For more information, please refer to the official documentation: 5 # For more information, please refer to the official documentation:
6 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code 6 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code
7 # 7 #
8 # When adding a new dependency, please update the top-level .gitignore file 8 # When adding a new dependency, please update the top-level .gitignore file
9 # to list the dependency's destination directory. 9 # to list the dependency's destination directory.
10 # 10 #
11 # ----------------------------------------------------------------------------- 11 # -----------------------------------------------------------------------------
12 # Rolling deps 12 # Rolling deps
13 # ----------------------------------------------------------------------------- 13 # -----------------------------------------------------------------------------
14 # All repositories in this file are git-based, using Chromium git mirrors where 14 # All repositories in this file are git-based, using Chromium git mirrors where
15 # necessary (e.g., a git mirror is used when the source project is SVN-based). 15 # necessary (e.g., a git mirror is used when the source project is SVN-based).
16 # To update the revision that Chromium pulls for a given dependency: 16 # To update the revision that Chromium pulls for a given dependency:
17 # 17 #
18 # # Create and switch to a new branch 18 # # Create and switch to a new branch
19 # git new-branch depsroll 19 # git new-branch depsroll
20 # # Run roll-dep (provided by depot_tools) giving the dep's path and the 20 # # Run roll-dep (provided by depot_tools) giving the dep's path and optionally
21 # # desired SVN revision number (e.g., third_party/foo/bar and a revision such 21 # # a regex that will match the line in this file that contains the current
22 # # number from Subversion) 22 # # revision. The script ALWAYS rolls the dependency to the latest revision
23 # roll-dep third_party/foo/bar REVISION_NUMBER 23 # # in origin/master. The path for the dep should start with src/.
24 # roll-dep src/third_party/foo_package/src foo_package.git
24 # # You should now have a modified DEPS file; commit and upload as normal 25 # # You should now have a modified DEPS file; commit and upload as normal
25 # git commit -a 26 # git commit -a
26 # git cl upload 27 # git cl upload
27 28
28 29
29 vars = { 30 vars = {
30 # Use this googlecode_url variable only if there is an internal mirror for it. 31 # Use this googlecode_url variable only if there is an internal mirror for it.
31 # If you do not know, use the full path while defining your new deps entry. 32 # If you do not know, use the full path while defining your new deps entry.
32 'googlecode_url': 'http://%s.googlecode.com/svn', 33 'googlecode_url': 'http://%s.googlecode.com/svn',
33 'webkit_revision': 'ba9d5f19be57c1bd64320e1001425051446d8d87', # from svn revi sion 200303 34 'webkit_revision': 'ba9d5f19be57c1bd64320e1001425051446d8d87', # from svn revi sion 200303
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 'pattern': '.', 801 'pattern': '.',
801 'action': [ 802 'action': [
802 'python', 803 'python',
803 'src/tools/check_git_config.py', 804 'src/tools/check_git_config.py',
804 '--running-as-hook', 805 '--running-as-hook',
805 ], 806 ],
806 }, 807 },
807 ] 808 ]
808 809
809 810
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698