Edit

kc3-lang/libevent/extra/abi-check/README.md

Branch :

  • Browse

    Commit

  • Author : yuangongji
    Date : 2019-09-04 23:09:13
    Hash : 735c891e
    Message : Add API/ABI checker (using LVC) v2 (by azat): - drop package installations - use local .abi-check over $HOME/abi-check for build dir - drop regex check, simply use default values (too complex otherwise) - use sub-shell to avoid cd back - add missing quotes - make the style uniq across the whole file (no tabs for indent, copy-paste?) - drop `set -x`, use `bash -x abi-check.sh` over - drop EVENT_ABI_CHECK - use /usr/bin/env bash as shebang - use `find | xargs` over `cp $(grep -v)` - adjust markdown syntax in abi-check/README.md - adjust link to the publicly available documentation v3 (by azat): - docker image - git check-ignore - make -j8 - allow to change defaults Refs: #887

  • extra/abi-check/README.md
  • ## libevent ABI/API changes
    
    
    This script is used to generate information about changes in libevent ABI/API
    between various versions using [LVC tools](https://github.com/lvc). Such an
    overview can help developers migrate from one version to another.
    
    Here is the `abi_check.sh`, which is used to generate ABI/API timeline for
    libevent.
    
    You can limit the number of included libevent versions via a number given
    as a parameter to the script. For example
    
    ```shell
    $ ./abi_check.sh 3
    ```
    
    generates overview for the last 3 versions and the current version.
    If no parameter given, it will generate overview for the last 2 versions and
    the current version by default.
    
    But this script requires some tools that are available in the following docker image:
    
    ```
    docker.pkg.github.com/azat/docker-images/lvc-debian
    ```
    
    And the full command looks like:
    
    ```shell
      docker run --rm -it -v $PWD:/src:ro -w /src -v tmp/le-abi-check-root:/abi-root -e ABI_CHECK_ROOT=/abi-root docker.pkg.github.com/azat/docker-images/lvc-debian /src/extra/abi-check/abi_check.sh
    ```
    
    'timeline/libevent/index.html' is the final result and can be viewed
    [here](https://libevent.org/abi)