You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (Created) (JIRA)" <ji...@apache.org> on 2012/04/17 07:21:28 UTC
[jira] [Created] (HAMA-555) Separate bin and src distributions
Separate bin and src distributions
----------------------------------
Key: HAMA-555
URL: https://issues.apache.org/jira/browse/HAMA-555
Project: Hama
Issue Type: Improvement
Components: build
Affects Versions: 0.4.0
Reporter: Edward J. Yoon
Assignee: Edward J. Yoon
Fix For: 0.5.0
separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257349#comment-13257349 ]
Thomas Jungblut commented on HAMA-555:
--------------------------------------
I'm only half way through, but it seems very hot.
I've oriented myself on Hadoop, they are shipping the binaries with libs. Bad for us if we can't, but for the whirr and bigtop projects we can host them on our home dirs. Not very convenient, but if that's the legal advice.
Funny that nearly every TLP I've seen does ship with the binary dependency.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HAMA-555) Separate bin and src distributions
Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward J. Yoon resolved HAMA-555.
---------------------------------
Resolution: Fixed
Fixed.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Edward J. Yoon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255322#comment-13255322 ]
Edward J. Yoon commented on HAMA-555:
-------------------------------------
I've committed this to TRUNK.
Please let me know if there's some missing files.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257359#comment-13257359 ]
Thomas Jungblut commented on HAMA-555:
--------------------------------------
Ah I got the gist.
bq.simply moved the binaries away from the source package
In binary release we can still ship the libs.
However in the source releases we don't, which is okay. People use them for debugging or rebuilding, causing maven to be needed anyways.
So everything will still be the same, release-source.xyz does not contain the libs.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Tommaso Teofili (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257306#comment-13257306 ]
Tommaso Teofili commented on HAMA-555:
--------------------------------------
bq. What is convenient for the user to download two archives to run the project (or install maven)? Sorry but this is just stupid.
I understand your concern, it's not a rule yet but, as mentor, I'm trying to avoid any legal issue coming from releases containing bits not produced by ASF (there was a very hot thread about it in general@ [1]); I know this sounds annoying, however give me some more time to check it this is a strict requirement or not within the IPMC.
[1] : http://markmail.org/message/55l6wpz3a7vhjp7g
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Edward J. Yoon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257296#comment-13257296 ]
Edward J. Yoon commented on HAMA-555:
-------------------------------------
By the way,
I'm not sure that separating lib jars from bin release is good idea.
As you know, Hama is integrated with whirr and bigtop projects.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Tommaso Teofili (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260323#comment-13260323 ]
Tommaso Teofili commented on HAMA-555:
--------------------------------------
bq. So everything will still be the same, release-source.xyz does not contain the libs.
right, we just have to be aware that we vote only the source release, while the bin is a "convenience" packaging for users which may contain also the libs but for what we (ASF) legally grant nothing.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Edward J. Yoon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257299#comment-13257299 ]
Edward J. Yoon commented on HAMA-555:
-------------------------------------
They use our release tarball to deploy on Clouds or build packages. Many scripts should be changes.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Edward J. Yoon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257300#comment-13257300 ]
Edward J. Yoon commented on HAMA-555:
-------------------------------------
changed.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257291#comment-13257291 ]
Thomas Jungblut commented on HAMA-555:
--------------------------------------
Really? Who made this stupid rule?
What is convenient for the user to download two archives to run the project (or install maven)?
Sorry but this is just stupid.
+1 for the docs in the SRC though.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HAMA-555) Separate bin and src distributions
Posted by "Edward J. Yoon (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward J. Yoon updated HAMA-555:
--------------------------------
Attachment: patch.txt
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Tommaso Teofili (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257261#comment-13257261 ]
Tommaso Teofili commented on HAMA-555:
--------------------------------------
it looks good for the sake of separating src and bin dependencies but the bin package also contains the jar files of the dependencies (inside /lib) which should be avoided as those files should not appear or at least be put in a separate hama-0.5.0-libs package
I agree with Suraj that having the docs inside the source package would be good.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Edward J. Yoon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257354#comment-13257354 ]
Edward J. Yoon commented on HAMA-555:
-------------------------------------
seems there was mis-communication. To exclude apidocs from src release, I've added below code today.
{code}
<fileSet>
<directory>../docs</directory>
<excludes>
<exclude>apidocs</exclude>
</excludes>
<outputDirectory>../hama-${project.version}/docs</outputDirectory>
</fileSet>
{code}
Should I revert this again? then, docs/apidocs will be included.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HAMA-555) Separate bin and src distributions
Posted by "Suraj Menon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257106#comment-13257106 ]
Suraj Menon commented on HAMA-555:
----------------------------------
Probably I am a touch late on the comment. Should we add docs in source package?
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (HAMA-555) Separate bin and src
distributions
Posted by "Tommaso Teofili (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HAMA-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257261#comment-13257261 ]
Tommaso Teofili edited comment on HAMA-555 at 4/19/12 6:01 AM:
---------------------------------------------------------------
it looks good for the sake of separating src and bin dependencies but the bin package also contains the jar files of the dependencies (inside /lib) which should be avoided as those files should not appear or at least be put in a separate hama-0.5.0-libs package.
I agree with Suraj that having the docs inside the source package would be good.
So just to clarify we should at the end have a src package with source and docs (it's already mostly ok), a bin package (the bin package we have minus the lib directory) and a libs (or dependencies) package which is just for users' convenience and only contains the /lib directory which is now in the bin package.
was (Author: teofili):
it looks good for the sake of separating src and bin dependencies but the bin package also contains the jar files of the dependencies (inside /lib) which should be avoided as those files should not appear or at least be put in a separate hama-0.5.0-libs package
I agree with Suraj that having the docs inside the source package would be good.
> Separate bin and src distributions
> ----------------------------------
>
> Key: HAMA-555
> URL: https://issues.apache.org/jira/browse/HAMA-555
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> separate bin and src distributions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira