Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v2 0/4] Move 'core' lib to src/lib
@ 2019-02-26 12:11 Vladislav Shpilevoy
  2019-02-26 12:11 ` [tarantool-patches] [PATCH v2 1/4] Remove dead dependency of http_parser on httpc Vladislav Shpilevoy
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Vladislav Shpilevoy @ 2019-02-26 12:11 UTC (permalink / raw)
  To: tarantool-patches; +Cc: kostja

The commit messages comprehensively describe the intention of this patchset, so
I will not copypaste it here. Just one sentence: it is needed for SWIM, since
SWIM depends in src/, being itself placed in src/lib/ - it is illegal.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/relocate-core-lib

v1: https://www.freelists.org/post/tarantool-patches/PATCH-02-Move-core-lib-to-srclib

Changes in v2:
- Extracted http_parser and collations into separate libraries.

Vladislav Shpilevoy (4):
  Remove dead dependency of http_parser on httpc
  Move 'http_parser' to src/lib
  Move 'core' and 'uuid' libs to src/lib
  Extract 'coll' library from 'core'

 CMakeLists.txt                          |  1 +
 src/CMakeLists.txt                      | 73 +++----------------------
 src/box/applier.h                       |  2 +-
 src/box/coll_id.c                       |  2 +-
 src/box/coll_id_def.h                   |  2 +-
 src/box/recovery.h                      |  1 -
 src/box/replication.h                   |  2 +-
 src/box/sql/expr.c                      |  2 +-
 src/box/sql/fk_constraint.c             |  2 +-
 src/box/sql/func.c                      |  2 +-
 src/box/sql/select.c                    |  2 +-
 src/box/sql/vdbeaux.c                   |  2 +-
 src/box/sql/where.c                     |  2 +-
 src/box/sql/whereexpr.c                 |  2 +-
 src/box/tuple.c                         |  1 -
 src/box/tuple.h                         |  2 +-
 src/box/tuple_compare.cc                |  2 +-
 src/box/tuple_hash.cc                   |  2 +-
 src/box/xlog.h                          |  2 +-
 src/box/xrow.h                          |  2 +-
 src/lib/CMakeLists.txt                  |  4 ++
 src/lib/coll/CMakeLists.txt             |  2 +
 src/{ => lib/coll}/coll.c               |  0
 src/{ => lib/coll}/coll.h               |  0
 src/{ => lib/coll}/coll_def.c           |  0
 src/{ => lib/coll}/coll_def.h           |  0
 src/lib/core/CMakeLists.txt             | 46 ++++++++++++++++
 src/{ => lib/core}/assoc.c              |  0
 src/{ => lib/core}/assoc.h              |  0
 src/{ => lib/core}/backtrace.cc         |  0
 src/{ => lib/core}/backtrace.h          |  0
 src/{ => lib/core}/cbus.c               |  0
 src/{ => lib/core}/cbus.h               |  0
 src/{ => lib/core}/clock.c              |  0
 src/{ => lib/core}/clock.h              |  0
 src/{ => lib/core}/coio.cc              |  0
 src/{ => lib/core}/coio.h               |  0
 src/{ => lib/core}/coio_buf.cc          |  0
 src/{ => lib/core}/coio_buf.h           |  0
 src/{ => lib/core}/coio_file.c          |  0
 src/{ => lib/core}/coio_file.h          |  0
 src/{ => lib/core}/coio_task.c          |  0
 src/{ => lib/core}/coio_task.h          |  0
 src/{ => lib/core}/diag.c               |  0
 src/{ => lib/core}/diag.h               |  0
 src/{ => lib/core}/errinj.c             |  0
 src/{ => lib/core}/errinj.h             |  0
 src/{ => lib/core}/evio.c               |  0
 src/{ => lib/core}/evio.h               |  0
 src/{ => lib/core}/exception.cc         |  0
 src/{ => lib/core}/exception.h          |  0
 src/{ => lib/core}/fiber.c              |  0
 src/{ => lib/core}/fiber.h              |  0
 src/{ => lib/core}/fiber_channel.c      |  0
 src/{ => lib/core}/fiber_channel.h      |  0
 src/{ => lib/core}/fiber_cond.c         |  0
 src/{ => lib/core}/fiber_cond.h         |  0
 src/{ => lib/core}/fiber_pool.c         |  0
 src/{ => lib/core}/fiber_pool.h         |  0
 src/{ => lib/core}/fio.c                |  0
 src/{ => lib/core}/fio.h                |  0
 src/{ => lib/core}/latch.c              |  0
 src/{ => lib/core}/latch.h              |  0
 src/{ => lib/core}/memory.c             |  0
 src/{ => lib/core}/memory.h             |  0
 src/{ => lib/core}/mpstream.c           |  0
 src/{ => lib/core}/mpstream.h           |  0
 src/{ => lib/core}/port.c               |  0
 src/{ => lib/core}/port.h               |  0
 src/{ => lib/core}/random.c             |  0
 src/{ => lib/core}/random.h             |  0
 src/{ => lib/core}/ratelimit.h          |  0
 src/{ => lib/core}/reflection.c         |  0
 src/{ => lib/core}/reflection.h         |  0
 src/{ => lib/core}/say.c                |  0
 src/{ => lib/core}/say.h                |  0
 src/{ => lib/core}/sio.c                |  0
 src/{ => lib/core}/sio.h                |  0
 src/{ => lib/core}/trigger.cc           |  0
 src/{ => lib/core}/trigger.h            |  0
 src/{ => lib/core}/util.c               |  0
 src/lib/http_parser/CMakeLists.txt      |  1 +
 src/{ => lib/http_parser}/http_parser.c |  1 -
 src/{ => lib/http_parser}/http_parser.h |  0
 src/lib/uuid/CMakeLists.txt             |  2 +
 src/{ => lib/uuid}/tt_uuid.c            |  0
 src/{ => lib/uuid}/tt_uuid.h            |  0
 src/lua/httpc.c                         |  4 +-
 src/lua/utf8.c                          |  2 +-
 src/main.cc                             |  3 +-
 test/unit/CMakeLists.txt                |  6 +-
 test/unit/coll.cpp                      |  4 +-
 test/unit/uuid.c                        |  2 +-
 test/unit/vy_iterators_helper.c         |  2 +-
 test/unit/xrow.cc                       |  2 +-
 95 files changed, 92 insertions(+), 97 deletions(-)
 create mode 100644 src/lib/coll/CMakeLists.txt
 rename src/{ => lib/coll}/coll.c (100%)
 rename src/{ => lib/coll}/coll.h (100%)
 rename src/{ => lib/coll}/coll_def.c (100%)
 rename src/{ => lib/coll}/coll_def.h (100%)
 create mode 100644 src/lib/core/CMakeLists.txt
 rename src/{ => lib/core}/assoc.c (100%)
 rename src/{ => lib/core}/assoc.h (100%)
 rename src/{ => lib/core}/backtrace.cc (100%)
 rename src/{ => lib/core}/backtrace.h (100%)
 rename src/{ => lib/core}/cbus.c (100%)
 rename src/{ => lib/core}/cbus.h (100%)
 rename src/{ => lib/core}/clock.c (100%)
 rename src/{ => lib/core}/clock.h (100%)
 rename src/{ => lib/core}/coio.cc (100%)
 rename src/{ => lib/core}/coio.h (100%)
 rename src/{ => lib/core}/coio_buf.cc (100%)
 rename src/{ => lib/core}/coio_buf.h (100%)
 rename src/{ => lib/core}/coio_file.c (100%)
 rename src/{ => lib/core}/coio_file.h (100%)
 rename src/{ => lib/core}/coio_task.c (100%)
 rename src/{ => lib/core}/coio_task.h (100%)
 rename src/{ => lib/core}/diag.c (100%)
 rename src/{ => lib/core}/diag.h (100%)
 rename src/{ => lib/core}/errinj.c (100%)
 rename src/{ => lib/core}/errinj.h (100%)
 rename src/{ => lib/core}/evio.c (100%)
 rename src/{ => lib/core}/evio.h (100%)
 rename src/{ => lib/core}/exception.cc (100%)
 rename src/{ => lib/core}/exception.h (100%)
 rename src/{ => lib/core}/fiber.c (100%)
 rename src/{ => lib/core}/fiber.h (100%)
 rename src/{ => lib/core}/fiber_channel.c (100%)
 rename src/{ => lib/core}/fiber_channel.h (100%)
 rename src/{ => lib/core}/fiber_cond.c (100%)
 rename src/{ => lib/core}/fiber_cond.h (100%)
 rename src/{ => lib/core}/fiber_pool.c (100%)
 rename src/{ => lib/core}/fiber_pool.h (100%)
 rename src/{ => lib/core}/fio.c (100%)
 rename src/{ => lib/core}/fio.h (100%)
 rename src/{ => lib/core}/latch.c (100%)
 rename src/{ => lib/core}/latch.h (100%)
 rename src/{ => lib/core}/memory.c (100%)
 rename src/{ => lib/core}/memory.h (100%)
 rename src/{ => lib/core}/mpstream.c (100%)
 rename src/{ => lib/core}/mpstream.h (100%)
 rename src/{ => lib/core}/port.c (100%)
 rename src/{ => lib/core}/port.h (100%)
 rename src/{ => lib/core}/random.c (100%)
 rename src/{ => lib/core}/random.h (100%)
 rename src/{ => lib/core}/ratelimit.h (100%)
 rename src/{ => lib/core}/reflection.c (100%)
 rename src/{ => lib/core}/reflection.h (100%)
 rename src/{ => lib/core}/say.c (100%)
 rename src/{ => lib/core}/say.h (100%)
 rename src/{ => lib/core}/sio.c (100%)
 rename src/{ => lib/core}/sio.h (100%)
 rename src/{ => lib/core}/trigger.cc (100%)
 rename src/{ => lib/core}/trigger.h (100%)
 rename src/{ => lib/core}/util.c (100%)
 create mode 100644 src/lib/http_parser/CMakeLists.txt
 rename src/{ => lib/http_parser}/http_parser.c (99%)
 rename src/{ => lib/http_parser}/http_parser.h (100%)
 create mode 100644 src/lib/uuid/CMakeLists.txt
 rename src/{ => lib/uuid}/tt_uuid.c (100%)
 rename src/{ => lib/uuid}/tt_uuid.h (100%)

-- 
2.17.2 (Apple Git-113)

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2019-02-27 15:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26 12:11 [tarantool-patches] [PATCH v2 0/4] Move 'core' lib to src/lib Vladislav Shpilevoy
2019-02-26 12:11 ` [tarantool-patches] [PATCH v2 1/4] Remove dead dependency of http_parser on httpc Vladislav Shpilevoy
2019-02-26 12:12   ` [tarantool-patches] " Vladislav Shpilevoy
2019-02-26 12:21   ` Konstantin Osipov
2019-02-26 12:11 ` [tarantool-patches] [PATCH v2 2/4] Move 'http_parser' to src/lib Vladislav Shpilevoy
2019-02-26 12:21   ` [tarantool-patches] " Konstantin Osipov
2019-02-26 16:57     ` Vladislav Shpilevoy
2019-02-26 12:11 ` [tarantool-patches] [PATCH v2 3/4] Move 'core' and 'uuid' libs " Vladislav Shpilevoy
2019-02-26 12:22   ` [tarantool-patches] " Konstantin Osipov
2019-02-26 16:57     ` Vladislav Shpilevoy
2019-02-26 12:11 ` [tarantool-patches] [PATCH v2 4/4] Extract 'coll' library from 'core' Vladislav Shpilevoy
2019-02-26 12:23   ` [tarantool-patches] " Konstantin Osipov
2019-02-26 12:37     ` Vladislav Shpilevoy
2019-02-26 12:55       ` Konstantin Osipov
2019-02-26 13:09         ` Vladislav Shpilevoy
2019-02-26 13:17           ` Konstantin Osipov
2019-02-26 13:43             ` Vladislav Shpilevoy
2019-02-27 15:07               ` Vladislav Shpilevoy
2019-02-26 16:55 ` [tarantool-patches] [PATCH 1/1] Move 'info' library to src/lib Vladislav Shpilevoy
2019-02-26 22:08   ` [tarantool-patches] " Konstantin Osipov
2019-02-27 15:07     ` Vladislav Shpilevoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox