Skip to content

Commit

Permalink
Merge pull request EOSIO#81 from boscore/release/2.0.x
Browse files Browse the repository at this point in the history
v2.0.3 support REX
  • Loading branch information
Thaipanda authored Apr 18, 2019
2 parents c92a212 + eadf2aa commit de643ec
Show file tree
Hide file tree
Showing 18 changed files with 782 additions and 169 deletions.
82 changes: 82 additions & 0 deletions .buildkite/pipeline_light.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
steps:

- command: |
echo "+++ :hammer: Building" && \
echo 1 | ./eosio_build.sh && \
echo "--- :compression: Compressing build directory" && \
tar -pczf build.tar.gz build/
label: ":ubuntu: 18.04 Build"
agents:
queue: "automation-large-builder-fleet"
artifact_paths: "build.tar.gz"
plugins:
docker#v1.4.0:
image: "eosio/ci:ubuntu18"
workdir: /data/job
timeout: 60
- wait

- command: |
echo "--- :arrow_down: Downloading build directory" && \
buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \
tar -zxf build.tar.gz && \
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
cd /data/job/build && ctest -j8 -LE _tests --output-on-failure
label: ":ubuntu: 18.04 Tests"
agents:
queue: "automation-large-builder-fleet"
artifact_paths:
- "mongod.log"
- "build/genesis.json"
- "build/config.ini"
plugins:
docker#v1.4.0:
image: "eosio/ci:ubuntu18"
workdir: /data/job
timeout: 60
- command: |
echo "--- :arrow_down: Downloading build directory" && \
buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \
tar -zxf build.tar.gz && \
echo "--- :m: Starting MongoDB" && \
$(which mongod) --fork --logpath "$(pwd)"/mongod.log && \
echo "+++ :microscope: Running tests" && \
cd /data/job/build && ctest -L nonparallelizable_tests --output-on-failure
label: ":ubuntu: 18.04 NP Tests"
agents:
queue: "automation-large-builder-fleet"
artifact_paths:
- "mongod.log"
- "build/genesis.json"
- "build/config.ini"
plugins:
docker#v1.4.0:
image: "eosio/ci:ubuntu18"
workdir: /data/job
timeout: 60
- wait

- command: |
echo "--- :arrow_down: Downloading build directory" && \
buildkite-agent artifact download "build.tar.gz" . --step ":ubuntu: 18.04 Build" && \
tar -zxf build.tar.gz && \
echo "+++ :microscope: Starting package build" && \
cd /data/job/build/packages && bash generate_package.sh deb
label: ":ubuntu: 18.04 Package builder"
agents:
queue: "automation-large-builder-fleet"
artifact_paths:
- "build/packages/*.deb"
plugins:
docker#v1.4.0:
image: "eosio/ci:ubuntu18"
workdir: /data/job
env:
OS: "ubuntu-18.04"
PKGTYPE: "deb"
timeout: 60
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ set( CXX_STANDARD_REQUIRED ON)

set(VERSION_MAJOR 2)
set(VERSION_MINOR 0)
set(VERSION_PATCH 2)
set(VERSION_PATCH 3)

if(VERSION_SUFFIX)
set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${VERSION_SUFFIX}")
Expand Down Expand Up @@ -126,6 +126,11 @@ FIND_PACKAGE(Boost 1.67 REQUIRED COMPONENTS
locale
iostreams)

# Some new stdlibc++s will #error on <experimental/string_view>; a problem for boost pre-1.69
if( APPLE AND UNIX )
add_definitions(-DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW)
endif()

if( WIN32 )

message( STATUS "Configuring EOSIO on WIN32")
Expand Down
5 changes: 3 additions & 2 deletions Docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ cd bos/Docker
docker build . -t boscore/bos -s BOS
```

The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the v2.0.2 tag, you could do the following:
The above will build off the most recent commit to the master branch by default. If you would like to target a specific branch/tag, you may use a build argument. For example, if you wished to generate a docker image based off of the v2.0.3 tag, you could do the following:

```bash
docker build -t boscore/bos:v2.0.2 --build-arg branch=v2.0.2 .
docker build -t boscore/bos:v2.0.3 --build-arg branch=v2.0.3 .

```

Expand Down Expand Up @@ -200,3 +200,4 @@ The `blocks` data are stored under `--data-dir` by default, and the wallet files

Currently, the mongodb plugin is disabled in `config.ini` by default, you have to change it manually in `config.ini` or you can mount a `config.ini` file to `/opt/eosio/bin/data-dir/config.ini` in the docker-compose file.


2 changes: 1 addition & 1 deletion Docker/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main" >> /etc/ap
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y git-core automake autoconf libtool build-essential pkg-config libtool \
mpi-default-dev libicu-dev python-dev python3-dev libbz2-dev zlib1g-dev libssl-dev libgmp-dev \
clang-4.0 lldb-4.0 lld-4.0 llvm-4.0-dev libclang-4.0-dev ninja-build \
clang-4.0 lldb-4.0 lld-4.0 llvm-4.0-dev libclang-4.0-dev ninja-build libusb-1.0-0-dev curl libcurl4-gnutls-dev \
&& rm -rf /var/lib/apt/lists/*

RUN update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-4.0/bin/clang 400 \
Expand Down
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BOSCore - Born for DApps. Born for Usability.

## BOSCore Version: v2.0.2
### Basic EOSIO Version: v1.6.2
## BOSCore Version: v2.0.3
### Basic EOSIO Version: v1.6.4 (support REX)

# Background
The emergence of EOS has brought new imagination to the blockchain. In just a few months since the main network was launched, the version has undergone dozens of upgrades, not only the stability has been greatly improved, but also the new functions have been gradually realized. The node team is also actively involved in building the EOSIO ecosystem. What is even more exciting is that EOS has attracted more and more development teams. There are already hundreds of DApp running on the EOS main network. The transaction volume and circulation market value far exceed Ethereum, and the space for development is growing broader.
Expand All @@ -23,7 +23,7 @@ As BOS continues to develop, developer rewards will be appropriately adjusted to
2. [Developer Telegram Group](https://t.me/BOSDevelopers)
3. [Community Telegram Group](https://t.me/boscorecommunity)
4. [WhitePaper](https://github.com/boscore/Documentation/blob/master/BOSCoreTechnicalWhitePaper.md)
5. [白皮书](https://github.com/boscore/Documentation/blob/master/zh-CN/BOSCoreTechnicalWhitePaper.md)
5. [白皮书](https://github.com/boscore/Documentation/blob/master/BOSCoreTechnicalWhitePaper_zh.md)

## Start
1. Build from code : `bash ./eosio_build.sh -s BOS`
Expand All @@ -39,10 +39,21 @@ Attention:
3. Treat update of eosio/eos code as new feature.
4. Emergent issues must repaired by adopting hotfixes mode.

## BOSCore Workflow
BOSCore encourage community developer actively participate in contributing the code, members should follow the workflow below.
![BOSCore Workflow](./images/bos-workflow.png)

Attention:
1. Only allow Feature Branch or bug fix to submit PR to Develop Branch.
2. Rebase is required before submitting PR to Develop Branch.
3. Treat update of eosio/eos code as new feature.
4. Emergent issues must repaired by adopting hotfixes mode.

BOSCore bases on EOSIO, so you can also referer:

[Getting Started](https://developers.eos.io/eosio-nodeos/docs/overview-1)

[EOSIO Developer Portal](https://developers.eos.io).



17 changes: 14 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BOSCore - 更可用的链,为DApp而生。

## BOSCore Version: v2.0.2
### Basic EOSIO Version: v1.6.2
## BOSCore Version: v2.0.3
### Basic EOSIO Version: v1.6.4 (support REX)

# 背景
EOS的出现给区块链带来了新的想象力,主网启动短短几个月以来,版本经历了几十次升级,不仅稳定性得到了很大提高,并且新功能也逐步实现,各个节点团队也积极参与建设EOSIO生态。让人更加兴奋的是,EOS已经吸引了越来越多的开发团队,当前已经有数百个DApp在EOS主网上面运行,其交易量和流通市值远超以太坊,可发展的空间愈来愈广阔。
Expand All @@ -23,7 +23,7 @@ BOS链的代码完全由社区贡献并维护,每个生态参与者都可以
2. [Developer Telegram Group](https://t.me/BOSDevelopers)
3. [Community Telegram Group](https://t.me/boscorecommunity)
4. [WhitePaper](https://github.com/boscore/Documentation/blob/master/BOSCoreTechnicalWhitePaper.md)
5. [白皮书](https://github.com/boscore/Documentation/blob/master/zh-CN/BOSCoreTechnicalWhitePaper.md)
5. [白皮书](https://github.com/boscore/Documentation/blob/master/BOSCoreTechnicalWhitePaper_zh.md)

## 开始
1. 源码直接编译: `bash ./eosio_build.sh -s BOS`
Expand All @@ -39,9 +39,20 @@ BOSCore 鼓励社区开发者参与代码贡献,社区成员应当遵循以下
3. EOSIO 主网版本作为一个 Feature Branch 来对待
4. 紧急问题修复采用 hotfixes 模式

## BOSCore 开发流程
BOSCore 鼓励社区开发者参与代码贡献,社区成员应当遵循以下工作流:
![BOSCore Workflow](./images/bos-workflow.png)

注意:
1. 只有待发布的 Feature Branch 或者Bug修复才应该向 Develop Branch 提交
2. 向 Develop Branch 提交 PR 之前需要现在本地执行 rebase 操作
3. EOSIO 主网版本作为一个 Feature Branch 来对待
4. 紧急问题修复采用 hotfixes 模式

BOSCore是基于EOSIO技术的扩展,所以EOSIO的相关资料也可以参考:

[EOSIO 开始](https://developers.eos.io/eosio-nodeos/docs/overview-1)

[EOSIO 开发者门户](https://developers.eos.io).


Loading

0 comments on commit de643ec

Please sign in to comment.