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

not a hack #25

Merged
merged 1 commit into from
May 14, 2014
Merged

not a hack #25

merged 1 commit into from
May 14, 2014

Conversation

gregcaporaso
Copy link
Contributor

No description provided.


"""
This module provides pass-through access to PyCogent's denoiser code. It's a
bit of a hack, but it allows us to remove the direct dependency on PyCogent by
Copy link
Member

Choose a reason for hiding this comment

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

a bit of a hack?

jairideout added a commit that referenced this pull request May 14, 2014
@jairideout jairideout merged commit 562cec6 into biocore:master May 14, 2014
@gregcaporaso gregcaporaso deleted the denoiser-hack branch May 14, 2014 20:11

"""

from cogent.parse.flowgram import (
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't this force this module to be GPL?

Copy link
Member

Choose a reason for hiding this comment

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

That's a really good point, damn licenses.

On (May-14-14|13:43), Daniel McDonald wrote:

+#!/usr/bin/env python
+
+"""
+This module provides pass-through access to PyCogent's denoiser code. It's a
+bit of a hack, but it allows us to remove the direct dependency on PyCogent by
+centralizing the denoiser code with all of the other PyCogent code that is
+targeted either for complete re-write or removal pending benchmarks. The basic
+idea is that it's not worth porting this code anywhere now because it's days are
+numbered, but we still need to be able to access it for the time being.
+
+May The Biological Research (application controller) Obsolescence Kit (brokit)
+be as short-lived as its name is awesome.
+
+"""
+
+from cogent.parse.flowgram import (

Doesn't this force this module to be GPL?


Reply to this email directly or view it on GitHub:
https://github.com/biocore/brokit/pull/25/files#r12660158

Copy link
Member

Choose a reason for hiding this comment

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

sorry...

we need more WTFPL

On Wed, May 14, 2014 at 2:45 PM, Yoshiki Vázquez Baeza <
[email protected]> wrote:

In brokit/denoiser.py:

+#!/usr/bin/env python
+
+"""
+This module provides pass-through access to PyCogent's denoiser code. It's a
+bit of a hack, but it allows us to remove the direct dependency on PyCogent by
+centralizing the denoiser code with all of the other PyCogent code that is
+targeted either for complete re-write or removal pending benchmarks. The basic
+idea is that it's not worth porting this code anywhere now because it's days are
+numbered, but we still need to be able to access it for the time being.
+
+May The Biological Research (application controller) Obsolescence Kit (brokit)
+be as short-lived as its name is awesome.
+
+"""
+
+from cogent.parse.flowgram import (

That's a really good point, damn licenses.
… <#145fc7b88fc7157d_>
On (May-14-14|13:43), Daniel McDonald wrote: > +#!/usr/bin/env python > +

+""" > +This module provides pass-through access to PyCogent's denoiser
code. It's a > +bit of a hack, but it allows us to remove the direct
dependency on PyCogent by > +centralizing the denoiser code with all of the
other PyCogent code that is > +targeted either for complete re-write or
removal pending benchmarks. The basic > +idea is that it's not worth
porting this code anywhere now because it's days are > +numbered, but we
still need to be able to access it for the time being. > + > +May The
Biological Research (application controller) Obsolescence Kit (brokit) >
+be as short-lived as its name is awesome. > + > +""" > + > +from
cogent.parse.flowgram import ( Doesn't this force this module to be GPL?
--- Reply to this email directly or view it on GitHub:
https://github.com/biocore/brokit/pull/25/files#r12660158


Reply to this email directly or view it on GitHubhttps://github.com//pull/25/files#r12660257
.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We discussed that, but it's not the only cogent import... Not sure how to
handle it, but the whole plan is that everything in here will either go
away all together or be re-written. Open to suggestions on how to handle
the situation.

On Wed, May 14, 2014 at 1:43 PM, Daniel McDonald
[email protected]:

In brokit/denoiser.py:

+#!/usr/bin/env python
+
+"""
+This module provides pass-through access to PyCogent's denoiser code. It's a
+bit of a hack, but it allows us to remove the direct dependency on PyCogent by
+centralizing the denoiser code with all of the other PyCogent code that is
+targeted either for complete re-write or removal pending benchmarks. The basic
+idea is that it's not worth porting this code anywhere now because it's days are
+numbered, but we still need to be able to access it for the time being.
+
+May The Biological Research (application controller) Obsolescence Kit (brokit)
+be as short-lived as its name is awesome.
+
+"""
+
+from cogent.parse.flowgram import (

Doesn't this force this module to be GPL?

Reply to this email directly or view it on GitHubhttps://github.com//pull/25/files#r12660158
.

Copy link
Member

Choose a reason for hiding this comment

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

Not sure, because if QIIME imports from here then QIIME is still GPL.

This one might be a relatively straightforward copy/paste, the only nightmare is Sequence, but it appears to only be used once here. That being said, one relatively straightforward thing has all kinds of demons laying around, and is yet another thing on top of the things to do.

I dont know any other way around this, basically importing from cogent is something that I believe needs to be avoided, otherwise brokit is GPL unless I'm misunderstanding something.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

QIIME is still GPL too though, right? So maybe the answer is that we make brokit GPL for now, and the target for QIIME 2.0 is no brokit dependency, and BSD license?

This one might be a relatively straightforward copy/paste, the only nightmare is Sequence

There are are tons of PyCogent imports in brokit, so there really isn't a simple solution here.

Copy link
Member

Choose a reason for hiding this comment

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

Fun, okay.

I think that makes sense to change brokit to GPL.

On Wed, May 14, 2014 at 2:55 PM, Greg Caporaso [email protected]:

In brokit/denoiser.py:

+#!/usr/bin/env python
+
+"""
+This module provides pass-through access to PyCogent's denoiser code. It's a
+bit of a hack, but it allows us to remove the direct dependency on PyCogent by
+centralizing the denoiser code with all of the other PyCogent code that is
+targeted either for complete re-write or removal pending benchmarks. The basic
+idea is that it's not worth porting this code anywhere now because it's days are
+numbered, but we still need to be able to access it for the time being.
+
+May The Biological Research (application controller) Obsolescence Kit (brokit)
+be as short-lived as its name is awesome.
+
+"""
+
+from cogent.parse.flowgram import (

QIIME is still GPL too though, right? So maybe the answer is that we make
brokit GPL for now, and the target for QIIME 2.0 is no brokit dependency,
and BSD license?

This one might be a relatively straightforward copy/paste, the only
nightmare is Sequence

There are are tons of PyCogent imports in brokit, so there really isn't a
simple solution here.


Reply to this email directly or view it on GitHubhttps://github.com//pull/25/files#r12660866
.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think it's a necessary evil (a common theme with brokit).

@gregcaporaso
Copy link
Contributor Author

New issue for this (#27) and on the QIIME issue here.

@gregcaporaso
Copy link
Contributor Author

Thanks for catching this @wasade.

@gregcaporaso
Copy link
Contributor Author

That should have said @wasade, license whisperer.

@wasade
Copy link
Member

wasade commented May 14, 2014

@ElDeveloper
Copy link
Member

This is how I feel about GPL:

9xdlwxh

@wasade
Copy link
Member

wasade commented May 14, 2014

hah

On Wed, May 14, 2014 at 3:23 PM, Yoshiki Vázquez Baeza <
[email protected]> wrote:

This is how I feel about GPL:

[image: 9xdlwxh]https://cloud.githubusercontent.com/assets/375307/2977658/e77088ec-dbad-11e3-8b41-fab199079b88.gif


Reply to this email directly or view it on GitHubhttps://github.com//pull/25#issuecomment-43139513
.

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.

4 participants