Skip to content
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

Use relative_path instead of filename #1402

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

lubosmj
Copy link
Member

@lubosmj lubosmj commented Jul 11, 2019

The field filename seems to be redundant. Therefore, it's usages were removed from
the corresponding view set. Now, relative_path is used as filename instead.

In this commit, the field relative_path is no longer nullable. Also, the field
cannot be initialized to an empty string because it is used for a package creation
where the path is stored as location_href.

closes #4987
https://pulp.plan.io/issues/4987

The field filename seems to be redundant. Therefore, it's usages were removed from
the corresponding view set. Now, relative_path is used as filename instead.

In this commit, the field relative_path is no longer nullable. Also, the field
cannot be initialized to an empty string because it is used for a package creation
where the path is stored as location_href.

closes #4987
https://pulp.plan.io/issues/4987
@lubosmj lubosmj requested a review from a team July 11, 2019 13:26
Copy link
Contributor

@daviddavis daviddavis left a comment

Choose a reason for hiding this comment

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

LGTM

@goosemania goosemania merged commit b84b6e8 into pulp:master Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants