diff --git a/README.md b/README.md index 3c2c039..940bdf4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # depot_tools +Chromium uses a package of scripts, the depot_tools, to manage interaction with the Chromium source code repository and the Chromium development process. It contains the following utilities: +gclient: Meta-checkout tool managing both subversion and git checkouts. It is similar to repo tool except that it works on linux, mac and windows and supports both svn and git. On the other hand, gclient doesn't integrate any code review functionality. +gcl: Rietveld code review tool for subversion. The gcl tool runs presubmit scripts. +git-cl: Rietveld code review tool for git. The git-cl tool runs presubmit scripts. +hammer: (Obsolete) Wrapper script for building Chromium with the SCons software construction tool. +drover: Quickly revert svn commits. +presubmit_support.py: Runs PRESUBMIT.py presubmit checks. +repo: The repo tool. +trychange.py: Try server tool. It is wrapped by gcl try and git-try. +git-try: Try change tool for git users +wtf: Displays the active git branches in a chromium os checkout. +weekly: Displays the log of checkins for a particular developer since a particular date for git checkouts. +git-gs: Wrapper for git grep with relevant source types. +zsh-goodies: Completion for zsh users. + diff --git a/depot_tools.spec b/depot_tools.spec new file mode 100644 index 0000000..9d68675 --- /dev/null +++ b/depot_tools.spec @@ -0,0 +1,66 @@ +Name: depot_tools +Version: svn20101127 +Release: 1mamba +Summary: A package of scripts called used to manage checkouts and code reviews +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://dev.chromium.org/developers/how-tos/depottools +# svn co http://src.chromium.org/svn/trunk/tools/depot_tools +# mv depot_tools/ depot_tools-svn20101127 +# tar cjvf ../SOURCES/depot_tools-svn20101127.tar.bz2 +Source: http://src.chromium.org/depot_tools-%{version}.tar.bz2 +License: BSD +Requires: python +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Chromium uses a package of scripts, the depot_tools, to manage interaction with the Chromium source code repository and the Chromium development process. It contains the following utilities: +gclient: Meta-checkout tool managing both subversion and git checkouts. It is similar to repo tool except that it works on linux, mac and windows and supports both svn and git. On the other hand, gclient doesn't integrate any code review functionality. +gcl: Rietveld code review tool for subversion. The gcl tool runs presubmit scripts. +git-cl: Rietveld code review tool for git. The git-cl tool runs presubmit scripts. +hammer: (Obsolete) Wrapper script for building Chromium with the SCons software construction tool. +drover: Quickly revert svn commits. +presubmit_support.py: Runs PRESUBMIT.py presubmit checks. +repo: The repo tool. +trychange.py: Try server tool. It is wrapped by gcl try and git-try. +git-try: Try change tool for git users +wtf: Displays the active git branches in a chromium os checkout. +weekly: Displays the log of checkins for a particular developer since a particular date for git checkouts. +git-gs: Wrapper for git grep with relevant source types. +zsh-goodies: Completion for zsh users. + +%prep +%setup -q +find . -type d -name .svn -exec rm -rf {} \; || true +# python 2.4 components +rm -rf third_party/pymox +rm -rf cpplint.py + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}%{_datadir}/%{name} +cp -a * %{buildroot}%{_datadir}/%{name} +install -d -m0755 %{buildroot}%{_bindir} +cat > %{buildroot}%{_bindir}/gclient << _EOF +#!/bin/sh +%{_datadir}/%{name}/gclient \$@ +_EOF +chmod +x %{buildroot}%{_bindir}/gclient + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/gclient +%dir %{_datadir}/depot_tools +%{_datadir}/depot_tools/* +%doc LICENSE README README.gclient + +%changelog +* Sat Nov 27 2010 Silvan Calarco svn20101127-1mamba +- package created by autospec