I like this idea for keeping binary deployment size down. I'm not sure how to handle it for the tarballs, but we could certainly split the docs out of the debian and rpm packages to add cassandra-docs_<version>.{deb,rpm} packages, so they are installable separately, if the user wants them. This is common when docs get large. I suppose the same could be done for apache-cassandra-docs-<version>,tar.gz, but I'm not sure about the release policy part of things here. Needs research.

Please, open a JIRA on this as a packaging improvement.

Kind regards,
Michael

On 2/8/20 3:06 AM, Alex Ott wrote:
Hi

I've unpacked binary distribution & noticed that we ship many files in the
javadoc directory - more than 5 thousand files, that occupy 99Mb on disk
out of 149Mb for whole unpacked Cassandra.

If we look from practical standpoint - do we expect that people who run
Cassandra will use javadoc for any purpose?  I know that it often contains
useful details about implementation, but if we talk about day-to-day work,
imho, these files aren't required, at least not on every machine that has
Cassandra on it.

Maybe we can generate a separate artifact for Javadoc files?

Mick Semb Wever  at "Fri, 07 Feb 2020 21:02:09 +0100" wrote:
  MSW> The Cassandra team is pleased to announce the release of Apache 
Cassandra version 4.0-alpha3.

  MSW> Apache Cassandra is a fully distributed database. It is the right choice 
when you need scalability and high availability without compromising performance.

  MSW>  http://cassandra.apache.org/

  MSW> Downloads of source and binary distributions are listed in our download 
section:
  MSW>  http://cassandra.apache.org/download/


  MSW> Downloads of source and binary distributions:
  MSW> 
http://www.apache.org/dyn/closer.lua/cassandra/4.0-alpha3/apache-cassandra-4.0-alpha3-bin.tar.gz
  MSW> 
http://www.apache.org/dyn/closer.lua/cassandra/4.0-alpha3/apache-cassandra-4.0-alpha3-src.tar.gz

  MSW> Debian and Redhat configurations.

  MSW>   sources.list:
  MSW>   deb http://www.apache.org/dist/cassandra/debian 40x main

  MSW>   yum config:
  MSW>   baseurl=https://www.apache.org/dist/cassandra/redhat/40x/

  MSW> See http://cassandra.apache.org/download/ for full install instructions.

  MSW> This is an ALPHA version! It is not intended for production use, however
  MSW> the project would appreciate your testing and feedback to make the final
  MSW> release better. As always, please pay attention to the release notes[2]
  MSW> and let us know[3] if you encounter any problems.

  MSW> Enjoy!

  MSW> [1]: CHANGES.txt 
?p=cassandra.git;a=blob_plain;f=CHANGES.txt;hb=refs/tags/cassandra-4.0-alpha3
  MSW> [2]: NEWS.txt 
?p=cassandra.git;a=blob_plain;f=NEWS.txt;hb=refs/tags/cassandra-4.0-alpha3
  MSW> [3]: https://issues.apache.org/jira/browse/CASSANDRA

  MSW> ---------------------------------------------------------------------
  MSW> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
  MSW> For additional commands, e-mail: user-h...@cassandra.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
For additional commands, e-mail: dev-h...@cassandra.apache.org

Reply via email to