Skip to content

Remove remanents of SFTP support - #8248

Merged
dralley merged 1 commit into
pulp:mainfrom
dralley:remove-sftp
Oct 20, 2026
Merged

dralley merged 1 commit into
pulp:mainfrom
dralley:remove-sftp

Conversation

@dralley

@dralley dralley commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

It has been buggy and effectively disabled for a long time. Get rid of it completely.

https://redhat.atlassian.net/browse/PULP-2555

@gerrod3

gerrod3 commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Thought we were just removing the docs saying we support it, no functional changes?

Comment thread pulpcore/app/serializers/domain.py
@dralley

dralley commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Thought we were just removing the docs saying we support it, no functional changes?

Well it was already effectively disabled so removing it entirely doesn't really have a functional change? My understanding is that we were ripping it out entirely. The docs already called it broken

Comment on lines -258 to -261
# class TestDomainGoogleSettingsSerializer(DomainSettingsBaseMixin, TestCase):
# storage_class = "storages.backends.gcloud.GoogleCloudStorage"
# serializer_class = GoogleSettingsSerializer
# required_settings = {"bucket_name": "test", "project_id": "testtest"}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove the google test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@mdellweg

Copy link
Copy Markdown
Member

I thought removing it too. How else will we hear from the people that didn't read in the docs for 3 years how broken their installation is?


BACKEND_CHOICES = (
("pulpcore.app.models.storage.FileSystem", "Use local filesystem as storage"),
# ("pulpcore.app.models.storage.PulpSFTPStorage", "Use SFTP server as storage"),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line means it was fundamentally impossible to have used previously?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ehh, only for non-default domains it was impossible to use. You could still configure it for the default/non-domain systems.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh, yeah, you're probably correct about that.

In that case we should at least have a changelog

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gerrod3 is this sufficient

It has been buggy and effectively disabled for a long time. Get rid of
it completely.
@dralley
dralley merged commit 96969b5 into pulp:main Oct 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants