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

923448 - made the changelog and filelist metadata migration more robust ... #157

Merged
merged 2 commits into from
Mar 21, 2013

Conversation

mhrivnak
Copy link
Contributor

...in terms of handling non-utf8 text encoding

…st in terms of handling non-utf8 text encoding
@mhrivnak
Copy link
Contributor Author

@ghost ghost assigned bowlofeggs Mar 20, 2013
if not os.path.exists(pkg_path):
# if pkg doesnt exist, we cant get the pkg object, continue
return
po = yumbased.CreateRepoPackage(ts, pkg_path)

Choose a reason for hiding this comment

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

It would be nice to have a more descriptive name than "po" here.

Choose a reason for hiding this comment

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

(I noticed that you didn't name that variable, but I also noticed that I hated its name :) )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea what "po" or "ts" stand for.

Copy link
Contributor

Choose a reason for hiding this comment

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

po is the convention yum uses for "package object"
ts is the convention for a rpm transaction object

@bowlofeggs
Copy link

Do what you will with my rambling comments, but it looks fine to me. Merge!

mhrivnak added a commit that referenced this pull request Mar 21, 2013
923448 - made the changelog and filelist metadata migration more robust ...
@mhrivnak mhrivnak merged commit 721f65f into pulp-2.1 Mar 21, 2013
@mhrivnak mhrivnak deleted the mhrivnak-923448 branch March 21, 2013 02:51
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

3 participants