summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/projects.py4
-rw-r--r--docs/gl_objects/projects.rst6
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py
index 878e45d..515397f 100644
--- a/docs/gl_objects/projects.py
+++ b/docs/gl_objects/projects.py
@@ -180,6 +180,10 @@ tgz = project.repository_archive(sha='4567abc')
contributors = project.repository_contributors()
# end repository contributors
+# housekeeping
+project.housekeeping()
+# end housekeeping
+
# files get
f = project.files.get(file_path='README.rst', ref='master')
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index eb15a3b..aaf0699 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -114,6 +114,12 @@ Archive/unarchive a project:
Previous versions used ``archive_`` and ``unarchive_`` due to a naming issue,
they have been deprecated but not yet removed.
+Start the housekeeping job:
+
+.. literalinclude:: projects.py
+ :start-after: # housekeeping
+ :end-before: # end housekeeping
+
List the repository tree:
.. literalinclude:: projects.py