Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 9e975f9

Browse files
Merge branch 'stable-1.5' into 'stable-1.6'
2 parents e725ae1 + 5d7a686 commit 9e975f9

File tree

4 files changed

+36
-11
lines changed

4 files changed

+36
-11
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2018-2020, Intel Corporation
2+
# Copyright 2018-2021, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions

ChangeLog

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
Mon Jun 28 2021 Łukasz Stolarczuk <[email protected]>
2+
3+
* Version 1.5.2
4+
5+
This release fixes minor bugs.
6+
7+
This is the last patch release for libpmemobj-cpp 1.5 version.
8+
Maintenance of this version is no longer supported.
9+
10+
Notable changes:
11+
- operator[] for contiguous_iterator takes signed integral instead of
12+
unsigned
13+
- throw an exception when pmemobj_mutex_unlock fail
14+
- fix crash when a previous transaction failed to start because of
15+
already taken lock.
16+
117
Fri Mar 15 2019 Igor Chorążewicz <[email protected]>
218

319
* Version 1.6
@@ -30,7 +46,7 @@ Fri Mar 15 2019 Igor Chorążewicz <[email protected]>
3046
- decrease number of persistent_ptr dereferences in
3147
make_persistent_array
3248

33-
Tue Feb 19 2018 Marcin Ślusarz <[email protected]>
49+
Tue Feb 19 2019 Marcin Ślusarz <[email protected]>
3450

3551
* Version 1.5.1
3652

travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ before_install:
2020
- export GITHUB_REPO=pmem/libpmemobj-cpp
2121
- export DOCKERHUB_REPO=pmem/libpmemobj-cpp
2222
- cd utils/docker
23-
- ./pull-or-rebuild-image.sh
23+
- ./pull-or-rebuild-image.sh rebuild
2424
- if [[ -f push_image_to_repo_flag ]]; then PUSH_THE_IMAGE=1; fi
2525
- if [[ -f skip_build_package_check ]]; then export SKIP_CHECK=1; fi
2626
- rm -f push_image_to_repo_flag skip_build_package_check

utils/docker/pull-or-rebuild-image.sh

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@
3434
# pull-or-rebuild-image.sh - rebuilds the Docker image used in the
3535
# current Travis build if necessary.
3636
#
37-
# The script rebuilds the Docker image if the Dockerfile for the current
38-
# OS version (Dockerfile.${OS}-${OS_VER}) or any .sh script from the directory
39-
# with Dockerfiles were modified and committed.
37+
# The script rebuilds the Docker image if:
38+
# 1. the Dockerfile for the current OS version (Dockerfile.${OS}-${OS_VER})
39+
# or any .sh script in the Dockerfiles directory were modified and committed, or
40+
# 2. "rebuild" param was passed as a first argument to this script.
4041
#
4142
# If the Travis build is not of the "pull_request" type (i.e. in case of
4243
# merge after pull_request) and it succeed, the Docker image should be pushed
4344
# to the Docker Hub repository. An empty file is created to signal that to
4445
# further scripts.
4546
#
4647
# If the Docker image does not have to be rebuilt, it will be pulled from
47-
# Docker Hub.
48+
# the Docker Hub.
4849
#
4950

5051
set -e
@@ -75,6 +76,18 @@ if [[ -z "$HOST_WORKDIR" ]]; then
7576
exit 1
7677
fi
7778

79+
# Path to directory with Dockerfiles and image building scripts
80+
images_dir_name=images
81+
base_dir=utils/docker/$images_dir_name
82+
83+
# If "rebuild" param is passed to the script, force rebuild
84+
if [[ "${1}" == "rebuild" ]]; then
85+
pushd ${images_dir_name}
86+
./build-image.sh ${DOCKERHUB_REPO} ${OS}-${OS_VER}
87+
popd
88+
exit 0
89+
fi
90+
7891
# TRAVIS_COMMIT_RANGE is usually invalid for force pushes - ignore such values
7992
# when used with non-upstream repository
8093
if [ -n "$TRAVIS_COMMIT_RANGE" -a $TRAVIS_REPO_SLUG != "${GITHUB_REPO}" ]; then
@@ -102,10 +115,6 @@ files=$(for commit in $commits; do git diff-tree --no-commit-id --name-only \
102115
echo "Files modified within the commit range:"
103116
for file in $files; do echo $file; done
104117

105-
# Path to directory with Dockerfiles and image building scripts
106-
images_dir_name=images
107-
base_dir=utils/docker/$images_dir_name
108-
109118
# Check if committed file modifications require the Docker image to be rebuilt
110119
for file in $files; do
111120
# Check if modified files are relevant to the current build

0 commit comments

Comments
 (0)