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

fix url target resolution with zip and tar #462

Merged
merged 7 commits into from
Feb 18, 2016
Merged

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Feb 17, 2016

supersedes the bug that #458 is targeting
does not yet split out the plugin system for Targets and DirsHelper

cheers @chris-rock for finding this one!

@arlimus
Copy link
Contributor Author

arlimus commented Feb 17, 2016

This does:

  1. Fix url tests to actually run
  2. Fix url-resolver to use the new DirsResolver call structure
  3. Restructure url resolver code (DRY handling of archive and file removal)
  4. Throw a RuntimeError if we encounter metadata we can't resolve

.gsub('%owner_name%', owner)
.gsub('%profile_name%', profile)
url
"#{config['server']}/owners/#{owner}/compliance/#{profile}/tar"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@chris-rock chris-rock mentioned this pull request Feb 17, 2016
@chris-rock chris-rock force-pushed the dr/fix-targets branch 2 times, most recently from c7d9379 to 98035fa Compare February 18, 2016 10:57
@arlimus arlimus added the Type: Bug Feature not working as expected label Feb 18, 2016
@arlimus arlimus self-assigned this Feb 18, 2016
@chris-rock
Copy link
Contributor

Thanks for this fix @arlimus

chris-rock added a commit that referenced this pull request Feb 18, 2016
fix url target resolution with zip and tar
@chris-rock chris-rock merged commit 7db81fa into master Feb 18, 2016
@chris-rock chris-rock deleted the dr/fix-targets branch February 18, 2016 14:20
@chris-rock chris-rock modified the milestone: 0.13.0 Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants