Debian Codegraph @

README

raw
1 NAME:
2 ABI Tracker - visualize ABI changes timeline of a C/C++ software library.
3
4 The tool requires input profile of the library in JSON format. It can be created manually or automatically generated by the ABI Monitor: https://github.com/lvc/abi-monitor
5
6 Sample report: https://abi-laboratory.pro/tracker/timeline/glib/
7
8 The tool is developed by Andrey Ponomarenko. Please consider to add ABI Viewer reports for visualization of the ABI structure and high detailed binary compatibility analysis: https://abi-laboratory.pro/
9
10 INSTALL:
11 sudo make install prefix=/usr
12
13 REQUIRES:
14 Perl 5 (5.8 or newer)
15 Elfutils
16 ABI Dumper (1.1 or newer)
17 Vtable-Dumper (1.1 or newer)
18 ABI Compliance Checker (2.2 or newer)
19 ABI Monitor (1.12 or newer)
20 PkgDiff (1.6.4 or newer)
21 RfcDiff (1.41 or newer)
22
23 You can use the installer (https://github.com/lvc/installer) to automatically download and install most of the required tools.
24
25 USAGE:
26 abi-tracker [options] [profile]
27
28 The input profile can be generated by the ABI Monitor tool. All manual edits in the profile will be preserved after re-generating it by the ABI Monitor.
29
30 The home page of the output report is: timeline/LIB_NAME/index.html
31
32 EXAMPLES:
33 abi-tracker -build libssh.json
34 abi-tracker -rebuild -target abireport -v 0.7.0 libssh.json
35
36 GRAPH:
37 abi-tracker -build -t graph libssh.json
38
39 RSS:
40 abi-tracker -build -rss libssh.json
41
42 CRON JOB:
43 abi-monitor -get -build-new [profile]
44 abi-tracker -build [profile]
45
46 PROFILE FORMAT:
47
48 {
49 "Name": "SHORT LIBRARY NAME",
50 "Maintainer": "MAINTAINER NAME",
51 "SourceUrl": "URL TO DOWNLOAD PACKAGES",
52 "Git": "GIT ADDRESS TO CLONE",
53
54 "Versions": [
55 {
56 "Number": "VERSION NUMBER",
57 "Installed": "INSTALL TREE PATH",
58 "Source": "SOURCE PACKAGE PATH",
59 "Changelog": "CHANGELOG: On/Off",
60 "HeadersDiff": "HEADERS DIFF: On/Off",
61 "PkgDiff": "PACKAGE DIFF: On/Off",
62 "ABIView": "ABI VIEW: On/Off",
63 "ABIDiff": "ABI DIFF: On/Off"
64 },
65
66 ...
67
68 {
69 ...
70 }]
71 }
72
73 PROFILE EXAMPLE:
74
75 {
76 "Name": "libssh",
77 "Maintainer": "Andrey P.",
78 "SourceUrl": "https://red.libssh.org/projects/libssh/files",
79 "Git": "https://git.libssh.org/projects/libssh.git",
80
81 "Versions": [
82 {
83 "Number": "0.7.0",
84 "Installed": "installed/libssh/0.7.0",
85 "Source": "src/libssh/0.7.0/libssh-0.7.0.tar.xz",
86 "Changelog": "On",
87 "HeadersDiff": "On",
88 "PkgDiff": "On",
89 "ABIView": "Off",
90 "ABIDiff": "Off"
91 },
92
93 {
94 "Number": "0.6.5",
95 "Installed": "installed/libssh/0.6.5",
96 "Source": "src/libssh/0.6.5/libssh-0.6.5.tar.xz",
97 "Changelog": "On",
98 "HeadersDiff": "On",
99 "PkgDiff": "On",
100 "ABIView": "Off",
101 "ABIDiff": "Off"
102 },
103
104 ...
105
106 {
107 "Number": "0.5.2",
108 "Installed": "installed/libssh/0.5.2",
109 "Source": "src/libssh/0.5.2/libssh-0.5.2.tar.xz",
110 "Changelog": "On",
111 "HeadersDiff": "On",
112 "PkgDiff": "On",
113 "ABIView": "Off",
114 "ABIDiff": "Off"
115 }]
116 }
117
118 See more profile examples in this directory: https://github.com/lvc/upstream-tracker/tree/master/profile
119
120 ADV. OPTIONS:
121 If you want to allow users to connect the maintainer of the tracker then you can set "MaintainerUrl" option.
122
123 To skip checking of some objects in the install tree of a library please define "SkipObjects": ["O1", ..., "On"] option.
124
125 The name of the analysed library in the title can be changed by "Title" option.
126
127 ADV. OPTIONS OF A VERSION:
128 To hide some version in the report you can define "Deleted" option.
129
130 ADV. USAGE:
131 For advanced usage, see output of --help option.
132
133 Enjoy!