mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
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>
This commit is contained in:
parent
ab85fe7c53
commit
87fb5a1894
6
main.py
6
main.py
@ -15,6 +15,12 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
"""The repo tool.
|
||||||
|
|
||||||
|
People shouldn't run this directly; instead, they should use the `repo` wrapper
|
||||||
|
which takes care of execing this entry point.
|
||||||
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import getpass
|
import getpass
|
||||||
import imp
|
import imp
|
||||||
|
7
repo
7
repo
@ -1,6 +1,13 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding:utf-8 -*-
|
# -*- coding:utf-8 -*-
|
||||||
|
|
||||||
|
"""Repo launcher.
|
||||||
|
|
||||||
|
This is a standalone tool that people may copy to anywhere in their system.
|
||||||
|
It is used to get an initial repo client checkout, and after that it runs the
|
||||||
|
copy of repo in the checkout.
|
||||||
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
# repo default configuration
|
# repo default configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user