Skip to content

Commit

Permalink
Merge pull request eBay#206 from szmyd/merge_10_to_11
Browse files Browse the repository at this point in the history
Merge 10 to 11
  • Loading branch information
szmyd authored Jan 10, 2024
2 parents c1782fb + 7c5974d commit a1aa7fb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/merge_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- stable/v8.x
- stable/v9.x
- master

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
pull_request:
branches:
- stable/v8.x
- stable/v9.x
- master

jobs:
Expand Down
10 changes: 3 additions & 7 deletions .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,13 @@ pipeline {
steps {
script {
sh(script: "sed -Ei 's, version = .*\"([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+).*, version = \"\\1-${env.BUILD_NUMBER}\",' conanfile.py")
BUILD_MISSING = "--build missing"
}
}
}
stage('Adjust for Testing/Stable') {
when {
branch "${STABLE_BRANCH}"
}
stage('include build missing') {
steps {
script {
BUILD_MISSING = ""
BUILD_MISSING = "--build missing"
}
}
}
Expand Down Expand Up @@ -69,7 +65,7 @@ pipeline {
}
steps {
sh "conan user -r ebay-local -p ${ARTIFACTORY_PASS} _service_sds"
sh "conan upload ${PROJECT}/${TAG} -c --all -r ebay-local"
sh "conan upload ${PROJECT}/${TAG} --parallel -c --all -r ebay-local"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class SISLConan(ConanFile):
name = "sisl"
version = "11.0.3"
version = "11.0.4"

homepage = "https://github.com/eBay/sisl"
description = "Library for fast data structures, utilities"
Expand Down
1 change: 1 addition & 0 deletions include/sisl/logging/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <string_view>
#include <unordered_set>
#include <vector>
#include <filesystem>

#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/control/if.hpp>
Expand Down
6 changes: 4 additions & 2 deletions src/file_watcher/file_watcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ bool FileWatcher::unregister_listener(const std::string& file_path, const std::s
}

bool FileWatcher::remove_watcher(FileInfo& file_info) {
if (auto err = inotify_rm_watch(m_inotify_fd, file_info.m_wd); err != 0) { return false; }
bool success = true;
if (auto err = inotify_rm_watch(m_inotify_fd, file_info.m_wd); err != 0) { success = false; }
// remove the file from the map regardless of the inotify_rm_watch result
m_files.erase(file_info.m_filepath);
return true;
return success;
}

bool FileWatcher::stop() {
Expand Down

0 comments on commit a1aa7fb

Please sign in to comment.