Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: vdavydov.dev@gmail.com
Subject: [PATCH 0/2] Move 'core' lib to src/lib
Date: Mon, 25 Feb 2019 23:56:45 +0300	[thread overview]
Message-ID: <cover.1551127892.git.v.shpilevoy@tarantool.org> (raw)

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

Vladislav Shpilevoy (2):
  Move 'uri' lib to src/lib/
  Move 'core' and 'uuid' libs to src/lib

 CMakeLists.txt                     |  2 +
 src/CMakeLists.txt                 | 82 +++---------------------------
 src/box/applier.h                  |  2 +-
 src/lib/CMakeLists.txt             |  3 ++
 src/lib/core/CMakeLists.txt        | 49 ++++++++++++++++++
 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}/coll.c          |  0
 src/{ => lib/core}/coll.h          |  0
 src/{ => lib/core}/coll_def.c      |  0
 src/{ => lib/core}/coll_def.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          |  1 -
 src/{ => lib/core}/evio.h          |  2 +-
 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}/http_parser.c   |  0
 src/{ => lib/core}/http_parser.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           |  2 +-
 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/uri/CMakeLists.txt         | 10 ++++
 src/{ => lib/uri}/uri.c            |  0
 src/{ => lib/uri}/uri.h            |  0
 src/{ => lib/uri}/uri.rl           |  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                    |  2 +-
 test/unit/CMakeLists.txt           |  4 +-
 test/unit/uri.c                    |  2 +-
 75 files changed, 80 insertions(+), 83 deletions(-)
 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}/coll.c (100%)
 rename src/{ => lib/core}/coll.h (100%)
 rename src/{ => lib/core}/coll_def.c (100%)
 rename src/{ => lib/core}/coll_def.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 (99%)
 rename src/{ => lib/core}/evio.h (99%)
 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}/http_parser.c (100%)
 rename src/{ => lib/core}/http_parser.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 (99%)
 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/uri/CMakeLists.txt
 rename src/{ => lib/uri}/uri.c (100%)
 rename src/{ => lib/uri}/uri.h (100%)
 rename src/{ => lib/uri}/uri.rl (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)

             reply	other threads:[~2019-02-25 20:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25 20:56 Vladislav Shpilevoy [this message]
2019-02-25 20:56 ` [PATCH 1/2] Move 'uri' lib to src/lib/ Vladislav Shpilevoy
2019-02-26  8:27   ` [tarantool-patches] " Konstantin Osipov
2019-02-26 12:07     ` [tarantool-patches] " Vladislav Shpilevoy
2019-02-25 20:56 ` [PATCH 2/2] Move 'core' and 'uuid' libs to src/lib Vladislav Shpilevoy
2019-02-26  8:30   ` [tarantool-patches] " Konstantin Osipov
2019-02-26  9:38     ` [tarantool-patches] " Vladislav Shpilevoy
2019-02-26 10:27       ` Konstantin Osipov
2019-02-26 12:11         ` Vladislav Shpilevoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1551127892.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [PATCH 0/2] Move '\''core'\'' lib to src/lib' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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