summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-06-13 01:54:46 -0400
committerMike Frysinger <vapier@google.com>2019-07-12 17:23:53 +0000
commit87fb5a1894354ec0e34ccec427a9803e24157847 (patch)
tree39f3fe502643fa4f1c041d867bb8b9c40f0582ff
parentab85fe7c535bfa97c067354d8a23e39b849f6728 (diff)
downloadgit-repo-87fb5a1894354ec0e34ccec427a9803e24157847.tar.gz
repo/main: add module docstrings
This should help people get some bearings in the codebase. Change-Id: I951238fe617a3ecb04a47ead3809ec72c8fbf5a1 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/231232 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com>
-rwxr-xr-xmain.py6
-rwxr-xr-xrepo7
2 files changed, 13 insertions, 0 deletions
diff --git a/main.py b/main.py
index 54817776..5c546e82 100755
--- a/main.py
+++ b/main.py
@@ -15,6 +15,12 @@
15# See the License for the specific language governing permissions and 15# See the License for the specific language governing permissions and
16# limitations under the License. 16# limitations under the License.
17 17
18"""The repo tool.
19
20People shouldn't run this directly; instead, they should use the `repo` wrapper
21which takes care of execing this entry point.
22"""
23
18from __future__ import print_function 24from __future__ import print_function
19import getpass 25import getpass
20import imp 26import imp
diff --git a/repo b/repo
index 75d27692..8ed147df 100755
--- a/repo
+++ b/repo
@@ -1,6 +1,13 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2# -*- coding:utf-8 -*- 2# -*- coding:utf-8 -*-
3 3
4"""Repo launcher.
5
6This is a standalone tool that people may copy to anywhere in their system.
7It is used to get an initial repo client checkout, and after that it runs the
8copy of repo in the checkout.
9"""
10
4from __future__ import print_function 11from __future__ import print_function
5 12
6# repo default configuration 13# repo default configuration