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

Gpl to mit #76

Merged
merged 26 commits into from
Jul 1, 2019
Merged

Gpl to mit #76

merged 26 commits into from
Jul 1, 2019

Conversation

VincentRouvreau
Copy link
Contributor

@VincentRouvreau VincentRouvreau commented Jun 27, 2019

.travis.yml Outdated Show resolved Hide resolved
@mglisse
Copy link
Member

mglisse commented Jun 27, 2019

Some parts are on the website, so not in this repos, so I'll comment as discussion:
typos "Some of the GUDHI modules depend-s- on third part/ies/y/ libraries"

VincentRouvreau: cf. GUDHI/GUDHI.github.io#3

@mglisse
Copy link
Member

mglisse commented Jun 27, 2019

Maybe mention in the licensing page that we write "Copyright: MIT (GPL v3)" in the package list for exactly the situation described: our code is MIT, but there is a dependency on GPL code, so for practical purposes for a user it is as if this package was GPL.

VincentRouvreau: cf. GUDHI/GUDHI.github.io#3

@mglisse
Copy link
Member

mglisse commented Jun 27, 2019

homsimpl: removing the binary is sensible, not just for the license.
GudhUI still tries to call this program. It would be nice to mention homsimpl/CHOMP somewhere. At least make sure that the error message is clear, when it isn't installed, about what one can install to get this functionality.

VincentRouvreau@f637d35

@VincentRouvreau
Copy link
Contributor Author

@mglisse : thanks for the review. I fixed all the points, tell me if you are ok with it.

@VincentRouvreau
Copy link
Contributor Author

Fixes #35

@@ -307,9 +307,15 @@ class Model {
private:
void run_chomp() {
save_complex_in_file_for_chomp();
std::cout << "POUET" << std::endl;
Copy link
Member

Choose a reason for hiding this comment

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

COIN!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, sorry : VincentRouvreau@0a4ece4

return;
}
returnValue = system("homsimpl chomp.sim");
std::cout << "CHOMP returns " << returnValue << std::endl;
Copy link
Member

Choose a reason for hiding this comment

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

I think it might be enough to test the returnValue of system("homsimpl chomp.sim"), and if it is non-zero, explain that homsimpl (from CHOMP) failed, which could happen in particular if it isn't installed or in the PATH. I am a bit wary of using which, but maybe it has advantages?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@VincentRouvreau VincentRouvreau merged commit 00b9f30 into GUDHI:master Jul 1, 2019
@VincentRouvreau VincentRouvreau deleted the gpl_to_mit branch July 1, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 GUDHI version 3.0.0
Projects
None yet
2 participants