Skip to content

Remove code replaced by El Proxito and stateless servers #6535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
May 6, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common
Submodule common updated 0 files
80 changes: 0 additions & 80 deletions docs/development/symlinks.rst

This file was deleted.

24 changes: 0 additions & 24 deletions readthedocs/builds/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,37 +313,13 @@ def get_absolute_url(self):
external=external,
)

def save(self, *args, **kwargs): # pylint: disable=arguments-differ
"""Add permissions to the Version for all owners on save."""
from readthedocs.projects import tasks
obj = super().save(*args, **kwargs)
broadcast(
type='app',
task=tasks.symlink_project,
args=[self.project.pk],
)
return obj

def delete(self, *args, **kwargs): # pylint: disable=arguments-differ
from readthedocs.projects import tasks
log.info('Removing files for version %s', self.slug)
broadcast(
type='app',
task=tasks.remove_dirs,
args=[self.get_artifact_paths()],
)

# Remove resources if the version is not external
if self.type != EXTERNAL:
tasks.clean_project_resources(self.project, self)

project_pk = self.project.pk
super().delete(*args, **kwargs)
broadcast(
type='app',
task=tasks.symlink_project,
args=[project_pk],
)

@property
def identifier_friendly(self):
Expand Down
178 changes: 0 additions & 178 deletions readthedocs/builds/syncers.py

This file was deleted.

39 changes: 0 additions & 39 deletions readthedocs/core/management/commands/archive.py

This file was deleted.

32 changes: 0 additions & 32 deletions readthedocs/core/management/commands/set_metadata.py

This file was deleted.

Loading