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

conflicting with camptocamp/archive #165

Closed
igalic opened this issue May 18, 2016 · 14 comments
Closed

conflicting with camptocamp/archive #165

igalic opened this issue May 18, 2016 · 14 comments

Comments

@igalic
Copy link
Contributor

igalic commented May 18, 2016

This module is conflicting with @camptocamp's archive
A sample issue from @voxpupuli's kafka: voxpupuli/puppet-kafka#61

I'd like to get this issue resolved my making the two modules' inputs compatible.

paging @mcanevet & @raphink, and @nanliu.

@madAndroid
Copy link

madAndroid commented May 18, 2016

I've experienced this very frequently - would be great if this could be resolved somehow

@nanliu
Copy link
Contributor

nanliu commented May 19, 2016

I wish it was as simple as mapping parameters, but I see several new parameters that need to be supported in archive and looks like some features are very specific to tar.

@raphink
Copy link
Member

raphink commented May 19, 2016

Should we try to merge the modules?

@jyaworski
Copy link
Member

@raphink I would be open to merging them.

@nibalizer
Copy link
Member

I would like to see them merge. How to do this?

@igalic
Copy link
Contributor Author

igalic commented Jun 21, 2016

There are two primary issues to make this module compatible with camptocamp/archive.

  • camptocamp/archive doesn't have a class archive, and it probably cannot have such a thing

parameters

camptocamp/archive voxpupuli/archive name conflict functionality conflict
ensure ensure
name name
src_target filename
extract ❌ camptocamp always extracts
target extract_path
extension
extract_command
extract_flags
creates ❌ hidden, not overridable in camptocamp
cleanup ❌ no such thing in camptocamp
url source
checksum checksum_verify
digest_url checksum_url
digest_type checksum_type
digest_string checksum
cookie
username
password
proxy_server proxy_server
proxy_type
user user
group

@terrimonster
Copy link

@igalic I can't thank you enough for pushing this forward, and organizing that table.

@igalic
Copy link
Contributor Author

igalic commented Jun 21, 2016

first attempt, could be better, but it's a first ugly attempt #176

@igalic
Copy link
Contributor Author

igalic commented Jun 22, 2016

next up we'll need wrappers for archive::download (and archive::extract)
and tests.
but that doesn't quite solve the problem of camptocamp/archive not being able to provide a class archive :D

@bbriggs
Copy link
Sponsor Contributor

bbriggs commented Jun 22, 2016

Is the idea to have full feature pairity across both or to assist people moving from camptocamp/archive into this one? If it's the latter, we should be okay with having a superset of camptocamp/archive's features.

@raphink
Copy link
Member

raphink commented Jun 22, 2016

Whichever way works best. If it's easier to add wrappers to camptocamp's module, I'll merge them. If you prefer to provide the API here so users of camptocamp's module can migrate, that's good too.

@bbriggs
Copy link
Sponsor Contributor

bbriggs commented Jun 23, 2016

I think for now we should aim to have vp/archive be a superset of camptocamp/archive and backport any necessary features.

@joshuaspence
Copy link

+1

@igalic
Copy link
Contributor Author

igalic commented Jul 13, 2016

i think with #174 and #176 merged, we can close this one as _good enough_

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

No branches or pull requests

9 participants