Skip to content

Commit

Permalink
[buck-yeh-bux-mariadb-client] New port (#21505)
Browse files Browse the repository at this point in the history
* [bux] Add new port

* Corrections according to Create Pull Request suggested questions

* SHA512

* Mark fails into .\scripts\ci.baseline.txt

* Mark fails into .\scripts\ci.baseline.txt

* No need of "port-version": 1 in vcpkg.json

* Update version database

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update bux.json

* Update ports/bux/vcpkg.json

* update version

* Update scripts/ci.baseline.txt

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update bux support

* update version

* update version

* Rename bux to buck-yeh-bux

* Update version database

* [buck-yeh-bux] upgrade to v1.5.0

1. [New] `bux::C_ParaLog` is ready for a variety of parallel logging configurations, filtered or unfiltered.
2. [New] Necessary helper classes for implementation _s.t_ logger users no longer need to declare child source instances explicitly.
3. [New] Add methods to `ParaLog.h` & `SyncLog.h` to support testability.
4. [New] Add unit test cases to `ParaLog.h` & `SyncLog.h` (test_paralog & test_logger)
5. [New] Update what are found in `test/` to `test/archlinux/aur_poc/`
6. [Bug] `std::uniform_int_distribution<unsigned char>` no longer allowed.
7. [Change] `CUR_FUNC_` for Windows (MSVC)
8. [Change] `tbb` is no longer implicitly needed by C++ standard library.
9. [Change] `smoke_filtlog.cpp` verifies 2-level log filters ok.

* Missing comma in versions/b-/buck-yeh-bux.json

* buck-yeh-bux 1.6.0

* Corrections made according to NancyLi1013's requests in PR #20813

* Fix SHA key in versions/b-/buck-yeh-bux.json

* Update to buxk-yeh-bux v1.6.2

* [buck-yeh-bux-mariadb-client] The first release

* Add dependency to libmariadb

* Inccorect git-tree value in versions/b-/buck-yeh-bux-mariadb-client.json

* linux build is enabled

* [buck-yeh-bux] Upgrade to 1.6.3 to allow u64-linux

* linux build is disabled again for not recognizing C++20 header <concpts> yet

* Mark vcpkg.json to support Linux but ci.baseline.txt to fail the CI build

* Repair buck-buck-yeh-bux in version database.

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
  • Loading branch information
4 people committed Nov 22, 2021
1 parent 0ca4348 commit 600e034
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 6 deletions.
16 changes: 16 additions & 0 deletions ports/buck-yeh-bux-mariadb-client/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "linux" "uwp" "osx")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO buck-yeh/bux-mariadb-client
REF bb078afd7e7287f9c3220b889e8206d5a841b185 # v1.0.1
SHA512 96cc0a40809f13d4a49e849306eed96dc2bc00998612344801df7d664f8a0a9cfa646b70927747d1decbca48cf5ff9502796b7738b106e9b68a4564abd981ce9
HEAD_REF main
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
16 changes: 16 additions & 0 deletions ports/buck-yeh-bux-mariadb-client/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "buck-yeh-bux-mariadb-client",
"version": "1.0.1",
"description": "Loose-coupled throw-on-error C++20 wrapper classes and utilities over mysql/mariadb Connector/C API",
"homepage": "https://github.com/buck-yeh/bux-mariadb-client",
"supports": "!(arm | uwp | osx)",
"dependencies": [
"buck-yeh-bux",
"fmt",
"libmariadb",
{
"name": "vcpkg-cmake",
"host": true
}
]
}
6 changes: 3 additions & 3 deletions ports/buck-yeh-bux/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "linux" "uwp" "osx")
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "uwp" "osx")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO buck-yeh/bux
REF 4e64bc28c482df45a2e15afd8fea928d82897783 # v1.6.2
SHA512 b409cddc15116e4c1f6142f5d07449bfc44e4c7386bde6884ca232e30a7057a04144cd5564c4c9fb86e74160b9c52d097185f63ebbd751cfe8e7520e8181f404
REF 8788509f0281e9a2af34c0399a45a5c9e66a4664 # v1.6.3
SHA512 a7045a93d91e497ca2b60965bb2f098eae714d00feef0d252747178739cdd981f44cb8983278c679761f61e037da05889f22fa161d26fca05af511fc56c1ac8f
HEAD_REF main
)

Expand Down
4 changes: 2 additions & 2 deletions ports/buck-yeh-bux/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "buck-yeh-bux",
"version": "1.6.2",
"version": "1.6.3",
"description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.",
"homepage": "https://github.com/buck-yeh/bux",
"supports": "!(arm | uwp | osx | linux)",
"supports": "!(arm | uwp | osx)",
"dependencies": [
"fmt",
{
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ bond:x64-osx=fail
bond:x64-uwp=fail
botan:x64-uwp=fail
breakpad:arm64-windows=fail
buck-yeh-bux:x64-linux=fail
buck-yeh-bux-mariadb-client:x64-linux=fail
bullet3:arm64-windows=fail
bullet3:arm-uwp=fail
bullet3:x64-uwp=fail
Expand Down
9 changes: 9 additions & 0 deletions versions/b-/buck-yeh-bux-mariadb-client.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "84453b40536c8c57162f627c28d4f3a148516ad8",
"version": "1.0.1",
"port-version": 0
}
]
}
5 changes: 5 additions & 0 deletions versions/b-/buck-yeh-bux.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "19d56bb09ecc37268afec6a5384282e562491af4",
"version": "1.6.3",
"port-version": 0
},
{
"git-tree": "c952bbb93f152d6db8e4bc8d0fbed4fb6e7ead2a",
"version": "1.6.2",
Expand Down
6 changes: 5 additions & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,11 @@
"port-version": 0
},
"buck-yeh-bux": {
"baseline": "1.6.2",
"baseline": "1.6.3",
"port-version": 0
},
"buck-yeh-bux-mariadb-client": {
"baseline": "1.0.1",
"port-version": 0
},
"bullet3": {
Expand Down

0 comments on commit 600e034

Please sign in to comment.