You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roberto Aloi (JIRA)" <ji...@apache.org> on 2010/02/08 19:12:27 UTC
[jira] Created: (THRIFT-698) Generated module list should contain
atoms, not strings
Generated module list should contain atoms, not strings
-------------------------------------------------------
Key: THRIFT-698
URL: https://issues.apache.org/jira/browse/THRIFT-698
Project: Thrift
Issue Type: Bug
Components: Library (Erlang)
Reporter: Roberto Aloi
The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "Anthony Molinaro (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Molinaro updated THRIFT-698:
------------------------------------
Attachment: erl-app.patch
This patch does a little bit more than what was required, but I was sort of annoyed at the whole setup.
So what this patch does is totally revamps the makefiles for erlang. I got rid of the whole build directory, pulled out the bits that were actually being used and put those into a Makefile.am in the lib/erl/src directory. This allows me to substitute in the correct version to the .app file. I think having the correct version in the .app file will be important moving forward.
I also removed the {mod, {thrift_app, []}} from the .app.src file. This means you can actually application:start (thrift) if you want (it doesn't do anything, just loads and lists it in started applications.
I also removed the appup file since it is not useful at the moment anyway and it seemed unnecessary.
And actually, what is the policy for including third party build scripts? I'd love to drop http://code.google.com/p/fwtemplates/downloads/detail?name=fwte-makeappfilev4 into place to just automagically generate the .app file from the source. It's BSD license?
Anyway, unless anyone objects to my major refactoring of the make setup for erlang, I'd like to commit this.
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905948#action_12905948 ]
Todd Lipcon commented on THRIFT-698:
------------------------------------
Sure, looks fine to me
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "Anthony Molinaro (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906302#action_12906302 ]
Anthony Molinaro commented on THRIFT-698:
-----------------------------------------
Cool, I'll get to this soon, unfortunately work it keeping me super busy at the moment, but I should find some time later this weekend to commit.
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "Anthony Molinaro (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Molinaro resolved THRIFT-698.
-------------------------------------
Fix Version/s: 0.5
Resolution: Fixed
Commited to trunk. Roberto if this works for you, let me know, so I can close this.
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Fix For: 0.5
>
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "Anthony Molinaro (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Molinaro reassigned THRIFT-698:
---------------------------------------
Assignee: Anthony Molinaro
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905946#action_12905946 ]
David Reiss commented on THRIFT-698:
------------------------------------
I don't understand the .app stuff, so as long as it still builds and Todd has no objections, I'm fine with this in principle.
I'm a bit worried that you moved some code from build into our Makefile.am. Those files are LGPL licensed, so I'd prefer to keep them segregated if at all possible. Worst case, I think it would be okay to have a single file for any code you want to import from them and just use an include directive.
Including a BSD-licensed build script is fine.
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "Roberto Aloi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906343#action_12906343 ]
Roberto Aloi commented on THRIFT-698:
-------------------------------------
Thanks for all this, guys...
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "Anthony Molinaro (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905965#action_12905965 ]
Anthony Molinaro commented on THRIFT-698:
-----------------------------------------
Where is the license info for the stuff in build? The only file I included was buildtargets.mk which only has a few things, and doesn't mention a license. However, if its cool to include BSD licensed build scripts, I'll probably refactor this in a different way. I grab the good bits out of the framewerk erlang template, since it has a great way for running eunit tests, the dialyzer and code coverage. It'll all tie into make check.
But it would be cool to just commit this, and then do that refactor. So if the license is an issue for buildtargets.mk, I can leave that one file for a while, but I'd prefer to totally nuke that directory if possible, so if you have a pointer to license info so I can clarify that would be cool.
I'll open another task for additional refactoring.
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-698) Generated module list should contain
atoms, not strings
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905969#action_12905969 ]
David Reiss commented on THRIFT-698:
------------------------------------
It's in the top level LICENSE file. I was incorrect, those files are actually MIT-licensed, so go for it.
> Generated module list should contain atoms, not strings
> -------------------------------------------------------
>
> Key: THRIFT-698
> URL: https://issues.apache.org/jira/browse/THRIFT-698
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Reporter: Roberto Aloi
> Assignee: Anthony Molinaro
> Attachments: erl-app.patch
>
>
> The generated list of modules in the .app file should contain atoms, not lists. Please refer to the official Erlang documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.