Thrift: Prep for release.
authorDavid Reiss <dreiss@apache.org>
Tue, 18 Sep 2007 19:46:00 +0000 (19:46 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 18 Sep 2007 19:46:00 +0000 (19:46 +0000)
Summary:
- make dist is no fun.  Had to add a lot of stuff to Makefile.am to
  make sure stuff got included in the tarball.
- Added a permanent NEWS file with the release notes for this release.
- clean.sh removes ylwrap also.
- Gave it a real version for make dist.
- Added ACLOCAL_AMFLAGS to lib/cpp/Makefile.am to make it easier to
  work on configure.ac.
- Made concurrency_test a non-installed binary because
  no one wants to install it.
- Dropped some symlinks that were annoying make dist.
- Updated README.

Test Plan:
./bootstrap.sh && ./configure && make dist
Compared contents of tarball to source tree.
Did this from a fresh git tree so no gross untracked files would be around.
On devrs: ./bootstrap.sh && ./configure && make install DESTDIR=/tmp/relinst1
Made sure concurrency_test was built but not installed.
Checked zlib URL with firefox.

Reviewed By: mcslee

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665274 13f79535-47bb-0310-9956-ffa450edef68

Makefile.am [new file with mode: 0644]
NEWS [new file with mode: 0644]
README
bootstrap.sh
cleanup.sh
compiler/cpp/Makefile.am
configure.ac
if/Makefile.am
lib/cpp/Makefile.am
lib/py/Makefile.am

diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..a71974d
--- /dev/null
@@ -0,0 +1,6 @@
+SUBDIRS = compiler/cpp lib/cpp lib/py if
+## Don't run make dist from a subversion working copy
+## because it will pull in your .svn directories.
+EXTRA_DIST = bootstrap.sh cleanup.sh doc test tutorial \
+                                                thrift.el thrift.vim thrift.bnf CONTRIBUTORS LICENSE \
+             lib/cocoa lib/erl lib/hs lib/java lib/ocaml lib/perl lib/php lib/rb
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..eb15fd1
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,50 @@
+Release Notes for Thrift 20070917
+
+TBinaryProtocol now includes a protocol version number in messaged.
+This is a non-backwards-compatible change.  Please see the
+TBinaryProtocol constructor for strictRead_ and strictWrite_.
+
+Add binary type to support non-text "strings" in Java.
+
+TSocketPool for C++ (developed by jsobel).
+
+Syntax highlighting for vim and emacs (developed by hzhao and martin).
+
+Perl support (contributed by Jake Luciani).
+
+Erlang support (developed by cpiro).
+
+Ruby API overhaul (contributed by Kevin Clark of Powerset).
+
+IPv6 support in C++ and Python (contributed by Paul Saab of Powerset).
+
+Read/Write locks (developed by boz).
+
+OCaml support (developed by iproctor).
+
+Human-readable strings from Thrift structures in C++ (developed by dreiss).
+
+Haskell support (developed by iproctor).
+
+Support for optional fields in C++ (contributed by Andy Lutomirsky).
+
+Support for operator== for Thrift structures (contributed by Andy Lutomirsky).
+
+Python/C module for fast (de)serialization (contributed by Ben Maurer).
+
+Limited reflection for C++ services (developed by dreiss).
+
+Python library installation defaults to /usr, override with PY_PREFIX.
+
+Support for Javabean-style Java classes (contributed by Dave Engberg).
+
+TDenseProtocol for C++ (experimental way to shrink structures)
+(developed by dreiss).
+
+Cocoa/Objective C support (contributed by Andrew McGeachie).
+
+Thrift now builds without libevent.
+
+TZlibTransport for C++ (compress serialized structures) (developed by dreiss).
+
+Tons of small improvements and bug fixes.
diff --git a/README b/README
index 5dc232e..7206259 100644 (file)
--- a/README
+++ b/README
@@ -63,6 +63,9 @@ http://www.boost.org/libs/smart_ptr/smart_ptr.htm
 Some portions of Thrift also depend upon libevent, see:
 http://monkey.org/~provos/libevent/
 
+Some portions of Thrift also depend upon zlib, see:
+http://www.zlib.net/
+
 These libraries are open source and may be freely obtained, but they are not
 provided as a part of this distribution.
 
@@ -82,7 +85,8 @@ Installation
 ============
 
 If you are building from the first time out of the source repository, you will
-need to generate the configure scripts.  From the top directory, do:
+need to generate the configure scripts.  (This is not necessary if you
+downloaded a tarball.)  From the top directory, do:
 
        ./bootstrap.sh
 
index d2e240a..c73e709 100755 (executable)
@@ -3,7 +3,6 @@
 subdirs="compiler/cpp lib/cpp lib/py if"
 
 ./cleanup.sh
-echo "SUBDIRS = ${subdirs}" > Makefile.am
 
 aclocal
 touch NEWS README AUTHORS ChangeLog
index c7f5054..0ffe31c 100755 (executable)
@@ -6,11 +6,9 @@ rm -rf \
 AUTHORS \
 ChangeLog \
 INSTALL \
-Makefile.am \
 Makefile \
 Makefile.in \
 Makefile.orig \
-NEWS \
 aclocal.m4 \
 autom4te.cache \
 autoscan.log \
@@ -29,6 +27,7 @@ install-sh \
 libtool \
 ltmain.sh \
 missing \
+ylwrap \
 if/gen-*
 
 for subdir in ${subdirs}; do 
index ae69de9..b65dbb1 100644 (file)
@@ -19,12 +19,48 @@ thrift_SOURCES = src/thrifty.yy \
                  src/generate/t_ocaml_generator.cc \
                  src/generate/t_erl_generator.cc \
                  src/generate/t_hs_generator.cc \
-                 src/generate/t_cocoa_generator.cc 
+                 src/generate/t_cocoa_generator.cc \
+                                                                src/globals.h \
+                                                                src/main.h \
+                                                                src/md5.h \
+                                                                src/parse/t_doc.h \
+                                                                src/parse/t_type.h \
+                                                                src/parse/t_base_type.h \
+                                                                src/parse/t_enum.h \
+                                                                src/parse/t_enum_value.h \
+                                                                src/parse/t_typedef.h \
+                                                                src/parse/t_container.h \
+                                                                src/parse/t_list.h \
+                                                                src/parse/t_set.h \
+                                                                src/parse/t_map.h \
+                                                                src/parse/t_struct.h \
+                                                                src/parse/t_field.h \
+                                                                src/parse/t_service.h \
+                                                                src/parse/t_function.h \
+                                                                src/parse/t_program.h \
+                                                                src/parse/t_scope.h \
+                                                                src/parse/t_const.h \
+                                                                src/parse/t_const_value.h \
+                                                                src/generate/t_generator.h \
+                                                                src/generate/t_oop_generator.h \
+                                                                src/generate/t_cpp_generator.h \
+                                                                src/generate/t_java_generator.h \
+                                                                src/generate/t_php_generator.h \
+                                                                src/generate/t_py_generator.h \
+                                                                src/generate/t_rb_generator.h \
+                                                                src/generate/t_xsd_generator.h \
+                                                                src/generate/t_perl_generator.h \
+                                                                src/generate/t_ocaml_generator.h \
+                                                                src/generate/t_erl_generator.h \
+                                                                src/generate/t_hs_generator.h \
+                                                                src/generate/t_cocoa_generator.h
 
 thrift_CXXFLAGS = -Wall -Isrc $(BOOST_CPPFLAGS)
 thrift_LDFLAGS = -Wall $(BOOST_LDFLAGS)
 
 thrift_LDADD = @LEXLIB@
 
+EXTRA_DIST = bootstrap.sh cleanup.sh LICENSE
+
 clean-local:
        rm -rf thriftl.cc thrifty.cc thrifty.h
index 2605478..8591d08 100644 (file)
@@ -1,6 +1,6 @@
 AC_PREREQ(2.59)
 
-AC_INIT([thrift], [1.0])
+AC_INIT([thrift], [20070917])
 
 AC_CONFIG_AUX_DIR([.])
 
index 2f269f1..94b8929 100644 (file)
@@ -1,3 +1,4 @@
 thrift_ifdir = $(datadir)/thrift/if
 dist_thrift_if_DATA = \
                       reflection_limited.thrift
+EXTRA_DIST = bootstrap.sh cleanup.sh regen.sh
index 7b1f1b0..6df9ab4 100644 (file)
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I ./aclocal
+
 lib_LTLIBRARIES = libthrift.la
 ## We only build the extra libraries if we have the dependencies,
 ## but we install all of the headers unconditionally.
@@ -55,6 +57,7 @@ include_thriftdir = $(includedir)/thrift
 include_thrift_HEADERS = \
                          config.h \
                          src/Thrift.h \
+                                                                                                src/TReflectionLocal.h \
                          src/reflection_limited_types.h \
                          src/TProcessor.h \
                          src/TLogging.h
@@ -73,7 +76,7 @@ include_concurrency_HEADERS = \
 include_protocoldir = $(include_thriftdir)/protocol
 include_protocol_HEADERS = \
                          src/protocol/TBinaryProtocol.h \
-                         src/protocol/TDenseProtocol.cpp \
+                         src/protocol/TDenseProtocol.h \
                          src/protocol/TDebugProtocol.h \
                          src/protocol/TOneWayProtocol.h \
                          src/protocol/TProtocolException.h \
@@ -105,7 +108,7 @@ include_processor_HEADERS = \
                          src/processor/PeekProcessor.h \
                          src/processor/StatsProcessor.h
 
-bin_PROGRAMS = concurrency_test
+noinst_PROGRAMS = concurrency_test
 
 concurrency_test_SOURCES = src/concurrency/test/Tests.cpp \
                            src/concurrency/test/ThreadFactoryTests.h \
@@ -116,3 +119,5 @@ concurrency_test_LDADD = libthrift.la
 
 concurrency_test_CXXFLAGS =  $(common_cxxflags)
 concurrency_test_LDFLAGS =  $(common_ldflags)
+
+EXTRA_DIST = bootstrap.sh cleanup.sh LICENSE
index 7db5c3b..7d47430 100644 (file)
@@ -6,3 +6,5 @@ DESTDIR ?= /
 #$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
 install-exec-hook:
        $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
+
+EXTRA_DIST = bootstrap.sh cleanup.sh setup.py LICENSE src