X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=README.md;h=1fb2c0cacf2b4e8338bc90db93a7bb437090e085;hb=refs%2Fheads%2Ftest%2Fpoll_timeout;hp=4f977d0d8d9ee7d5b627ef5b37caad855e1f3224;hpb=b171da289097d25104fa31ecfcb06f6a3a22db74;p=awesomized%2Flibmemcached diff --git a/README.md b/README.md index 4f977d0d..1fb2c0ca 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,69 @@ -# libmemcached +# libmemcached-awesome -[![Gitter Chat](https://badges.gitter.im/m6w6/libmemcached.svg)](https://gitter.im/m6w6/libmemcached?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![BSD 3-Clause License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) +[![License Badge]](https://opensource.org/licenses/BSD-3-Clause) -libmemcached is an open source C/C++ client library and tools for the -memcached server (http://memcached.org/). It has been designed to be -light on memory usage, thread safe, and provide full access to server -side methods. +[License Badge]: https://img.shields.io/badge/License-BSD%203--Clause-blue.svg "BSD 3-Clause" + +libmemcached-awesome is an open source C/C++ client library and tools +for the memcached server (http://memcached.org/). It has been designed +to be light on memory usage, thread safe, and provide full access to +server side methods. > **NOTE:** > This is a resurrection of the original work from Brian Aker at -> [libmemcached.org](https://libmemcached.org) and the only publicly maintained -> version of libmemcached currently known to me. +> [libmemcached.org](https://libmemcached.org). ## Documentation -See https://m6w6.github.io/libmemcached +[![Docs Actions Badge]]( + https://github.com/awesomized/libmemcached/actions?query=workflow%3Adocs-publish-pages) + +[Docs Actions Badge]: + https://github.com/awesomized/libmemcached/workflows/docs-publish-pages/badge.svg?branch=v1.x + "Github Docs Action" + +See https://awesomized.github.io/libmemcached + +### Building and updating docs + +See [gh-pages/publish](./docs/gh-pages/publish.sh) script and the +[docs-publish-pages](./.github/workflows/docs-publish-pages.yml) workflow, +which automate pushing updated documentation to github pages. ## Installing -libmemcached uses `CMake`. Please see/edit `CMakeConfig.txt` or use -`ccmake(1)` to set any preferred options. +libmemcached-awesome uses `CMake`. +Please see/edit [`CMakeConfig.txt`](./CMakeConfig.txt) or use `ccmake(1)` or +`cmake-gui(1)` to set any preferred options. ### From source - git clone github.com:m6w6/libmemcached + git clone github.com:awesomized/libmemcached mkdir build-libmemcached cd $_ cmake ../libmemcached make sudo make install +#### Requirements + +* CMake 3.9+ +* C++11 compiler +* GNU Bison 2.3+ and Flex + +##### Optional dependencies + +* C++17 compiler (required for: tests) +* Intel's libtbb (optional for: tests; for GCC's stdlib parallelism support) +* pthreads (required for: tests, contrib/bin/memaslap, libmemcachedutil/pool) +* libevent (required for: contrib/bin/memaslap) +* Cyrus' libsasl2 (required for: libmemcached/sasl) + +### Binaries + +CI and release builds for Linux, a couple BSDs, MacOS and Windows are available at +https://artifacts.m6w6.name/libmemcached/ and rsync://m6w6.name::artifacts/libmemcached/. + ## Testing Enable the `BUILD_TESTING` setting for a build and run `make test`. @@ -40,56 +73,49 @@ Enable the `BUILD_TESTING` setting for a build and run `make test`. ### Continuous integration -CI/Test results are available at: +[![Actions Badge]](https://github.com/awesomized/libmemcached/actions?query=workflow%3Acmake-build-ci) +[![Sourcehut Badge]](https://builds.sr.ht/~m6w6/libmemcached) -| Provider | Status | OS | Compiler | Arch | -|--------------|---------------------|--------------|------------|-----------------------| -| [Travis CI] | ![Travis CI Badge] | Linux | GNU | arm64, ppc64le, s390x | -| [Cirrus CI] | ![Cirrus CI Badge] | FreeBSD | Clang | amd64 | -| [GH Actions] | ![GH Actions Badge] | Linux, MacOS | GNU, Clang | amd64 | +[Actions Badge]: + https://github.com/awesomized/libmemcached/workflows/cmake-build-ci/badge.svg?branch=v1.x + "Github Actions" +[Sourcehut Badge]: + https://builds.sr.ht/~m6w6/libmemcached/commits.svg + "Sourcehut Builds" -Additional project metrics: +CI/Testing is performed on the following system matrix: -| Provider | Type | Status | -|-----------|---------------|------------------| -| [Codecov] | Code coverage | ![Codecov Badge] | +| OS | Compiler | Arch | Comments | +|------------------|------------------------------|-------------------------|----------------------------| +| Linux | GNU 7/9/10, Clang 9/10/11/12 | amd64 | sasl, coverage, sanitizers | +| MacOS | AppleClang 12 | amd64 | sasl, coverage | +| FreeBSD | Clang 11 | amd64 | sasl, coverage | +| OpenBSD | Clang 10 | amd64 | sasl, coverage | +| Windows | MSVC 16, MinGW | amd64 | no sasl, no tests | +| Solaris | SunPro 12.5 | amd64 | no sasl, no tests, manually| +libmemcached-awesome has been tested against [memcached](https://github. +com/memcached/memcached) v1.5 and v1.6. ## ChangeLog -Check out the latest [releases](https://github.com/m6w6/libmemcached/releases) -or the bundled [ChangeLog](./ChangeLog.md) for a comprehensive list of changes. +Check out the latest [releases](https://github.com/awesomized/libmemcached/releases) +or the bundled [ChangeLog](./ChangeLog-1.1.md) for a comprehensive list of changes. ## License -libmemcached is licensed under the 3-Clause-BSD license, which can be +libmemcached-awesome is licensed under the 3-Clause-BSD license, which +can be found in the accompanying [LICENSE](./LICENSE) file. ## Contributing -Please report any issues on the [bug tracker](https://github.com/m6w6/libmemcached/issues). +Please report any issues on the [bug tracker](https://github.com/awesomized/libmemcached/issues). A list of known permanent issues is maintained in [BUGS](./BUGS.md). All forms of contribution are welcome! Please see the bundled [CONTRIBUTING](./CONTRIBUTING.md) note for the general principles followed. -The list of past and current contributors is maintained in [THANKS](./THANKS). - -The list of current maintainers is available in [AUTHORS](./AUTHORS). - -### Building and updating docs - -See [gh-pages/publish](./docs/gh-pages/publish.sh) script, which automates -pushing updated documentation to github pages. - -[Travis CI]: https://travis-ci.org/github/m6w6/libmemcached "Travis CI Build Status" -[Travis CI Badge]: https://api.travis-ci.org/m6w6/libmemcached.svg?branch=v1.x "Travis CI Build Status" -[Cirrus CI]: https://cirrus-ci.com/github/m6w6/libmemcached "Cirrus CI Build Status" -[Cirrus CI Badge]: https://api.cirrus-ci.com/github/m6w6/libmemcached.svg?branch=v1.x "Cirrus CI Build Status" -[GH Actions]: https://github.com/m6w6/libmemcached/actions?query=workflow%3Acmake-build-ci "GH Actions Build Status" -[GH Actions Badge]: https://img.shields.io/github/workflow/status/m6w6/libmemcached/cmake-build-ci?style=flat "GH Actions Build Status" - +The list of current and past maintainers and contributors is available in [AUTHORS](./AUTHORS). -[Codecov]: https://codecov.io/gh/m6w6/libmemcached "Codecov Code Coverage" -[Codecov Badge]: https://codecov.io/gh/m6w6/libmemcached/branch/v1.x/graph/badge.svg "Codecov Code Coverage"