Ask HN: How to publish code that has snippets of different sources?

1 points by Waldman ↗ HN
Hi all, first submission here. I have a small question...

I wrote a puppet module to manage PostgreSQL servers. After I wrote it, I expanded this module merging snippets of code from two different sources.

Now I want to opensource it but I really don't know how I could do this leaving the credits to both modules that I used. Would a mention on the README file be enough? Mentions on the headers of the files that have this snippets (This is done actually)? And the license? I think the original modules are not using the same license.

Is possible to publish it? If so, how?

My module has more or less 90% original code, and most parts where it uses others code was heavily expanded/modified.

This are the original modules: https://github.com/puppetlabs/puppetlabs-postgres https://github.com/uggedal/puppet-module-postgresql

Should I publish it and after contact both module maintainers?

Thanks in advance.

Leon Waldman.

1 comment

[ 5.5 ms ] story [ 10.6 ms ] thread