Skip to content

Commit 9355473

Browse files
authored
Merge pull request #8830 from readthedocs/humitos/cleanup/commands
2 parents 63b3024 + 098c36d commit 9355473

File tree

4 files changed

+0
-128
lines changed

4 files changed

+0
-128
lines changed

readthedocs/builds/models.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -412,21 +412,6 @@ def get_storage_environment_cache_path(self):
412412
"""Return the path of the cached environment tar file."""
413413
return build_environment_storage.join(self.project.slug, f'{self.slug}.tar')
414414

415-
def clean_build_path(self):
416-
"""
417-
Clean build path for project version.
418-
419-
Ensure build path is clean for project version. Used to ensure stale
420-
build checkouts for each project version are removed.
421-
"""
422-
try:
423-
path = self.get_build_path()
424-
if path is not None:
425-
log.debug('Removing build path for project.', path=path, project_slug=self.slug)
426-
rmtree(path)
427-
except OSError:
428-
log.exception('Build path cleanup failed')
429-
430415
def get_github_url(
431416
self,
432417
docroot,

readthedocs/core/management/commands/clean_builds.py

Lines changed: 0 additions & 70 deletions
This file was deleted.

readthedocs/core/management/commands/pull.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

readthedocs/core/management/commands/update_versions.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)