Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

1042932- Move common publish steps to the platform and update publish st... #964

Merged
merged 2 commits into from
May 16, 2014

Conversation

barnabycourt
Copy link
Contributor

...eps to support nesting steps

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1042932


PUBLISH_STEP_DIRECTORY = u'publish_directory'
PUBLISH_STEP_TAR = u'save_tar'
PUBLISH_STEP_COPY_DIRECTORY = u'copy_directory'
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we using unicode identifiers in these constants?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because the constants are used for comparing against items that have been put in the database where they are converted to unicode even if they start as a regular string. It is easier to start with unicode and then comparisons work fine in either direction.

@skarmark
Copy link
Contributor

Except for minor corrections / typos, LGTM.

barnabycourt added a commit that referenced this pull request May 16, 2014
1042932- Move common publish steps to the platform and update publish st...
@barnabycourt barnabycourt merged commit c8b53f7 into master May 16, 2014
@barnabycourt barnabycourt deleted the barnabycourt-1042932 branch May 16, 2014 13:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants