| 1 |
Follow the instructions to setup the ABI Tracker for your library: |
| 2 |
|
| 3 |
1) Please look at the README of the ABI Tracker and ABI Monitor tools: |
| 4 |
|
| 5 |
https://github.com/lvc/abi-tracker |
| 6 |
https://github.com/lvc/abi-monitor |
| 7 |
|
| 8 |
2) You need to install basic packages to the system: |
| 9 |
|
| 10 |
elfutils |
| 11 |
libelf-devel |
| 12 |
ctags |
| 13 |
wdiff |
| 14 |
wget |
| 15 |
git |
| 16 |
rfcdiff (https://tools.ietf.org/tools/rfcdiff/) |
| 17 |
|
| 18 |
3) You need to install these tools to the system: |
| 19 |
|
| 20 |
abi-tracker |
| 21 |
abi-monitor |
| 22 |
abi-dumper |
| 23 |
abi-compliance-checker |
| 24 |
pkgdiff |
| 25 |
vtable-dumper |
| 26 |
|
| 27 |
You can use the installer for that: https://github.com/lvc/installer/releases |
| 28 |
|
| 29 |
Just extract the package of installer and execute: |
| 30 |
|
| 31 |
sudo make install prefix=/usr target=abi-tracker |
| 32 |
|
| 33 |
All packages will be downloaded from the github.com/lvc and installed to the "/usr" directory. |
| 34 |
|
| 35 |
To uninstall: |
| 36 |
|
| 37 |
sudo make uninstall prefix=/usr target=abi-tracker |
| 38 |
|
| 39 |
4) Please install also necessary tools to build your library: |
| 40 |
|
| 41 |
automake |
| 42 |
cmake |
| 43 |
gcc |
| 44 |
g++ |
| 45 |
... |
| 46 |
|
| 47 |
5) Create initial profile for your library (PROFILE.json): |
| 48 |
|
| 49 |
{ |
| 50 |
"Name": "SHORT LIBRARY NAME", |
| 51 |
"SourceUrl": "URL TO DOWNLOAD PACKAGES", |
| 52 |
"Git": "GIT ADDRESS TO CLONE" |
| 53 |
} |
| 54 |
|
| 55 |
6) Download and build latest packages of your library: |
| 56 |
|
| 57 |
abi-monitor -get PROFILE.json |
| 58 |
abi-monitor -build --limit=10 PROFILE.json |
| 59 |
|
| 60 |
7) Create analysis reports: |
| 61 |
|
| 62 |
abi-tracker -build PROFILE.json |
| 63 |
|
| 64 |
8) Rebuild some reports if needed: |
| 65 |
|
| 66 |
abi-tracker -rebuild -target abireport -v X.Y.Z PROFILE.json |
| 67 |
|
| 68 |
9) Cron job for daily monitoring and analysis: |
| 69 |
|
| 70 |
abi-monitor -get -build-new PROFILE.json |
| 71 |
abi-tracker -build PROFILE.json |
| 72 |
|
| 73 |
10) The home page of the report will be generated to: |
| 74 |
|
| 75 |
timeline/<LIBRARY NAME>/index.html |
| 76 |
|
| 77 |
Enjoy! |