Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
wfrisch committed Jul 2, 2024
1 parent 72dbea8 commit e48eb05
Showing 1 changed file with 43 additions and 6 deletions.
49 changes: 43 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,27 @@ curl curl-8_5_0-50-gaf520ac Utilities/cmcurl/lib/vtls/gtls.c
curl curl-8_5_0-106-gaff2608 Utilities/cmcurl/lib/vtls/schannel.c
curl curl-8_5_0-158-gdd0f680 Utilities/cmcurl/lib/vtls/sectransp.c
curl curl-8_5_0-237-g9a90c9d Utilities/cmcurl/lib/vtls/vtls.c
libarchive v3.6.1-39-gd6248d2 Utilities/cmlibarchive/libarchive/archive_entry.c
libarchive v3.5.2-26-g4b7558e Utilities/cmlibarchive/libarchive/archive_read.c
libarchive v3.5.2-26-g2a8bb42 Utilities/cmlibarchive/libarchive/archive_read_disk_entry_from_file.c
libarchive v3.6.2-47-g2aa73f8 Utilities/cmlibarchive/libarchive/archive_read_disk_windows.c
libarchive v3.7.0-14-gcc4147e Utilities/cmlibarchive/libarchive/archive_read_support_format_lha.c
libarchive v3.6.2-33-ge605604 Utilities/cmlibarchive/libarchive/archive_read_support_format_mtree.c
libarchive v3.6.1-84-ge2f7c1d Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c
libarchive v3.6.2-7-g0348e24 Utilities/cmlibarchive/libarchive/archive_read_support_format_warc.c
libarchive v3.6.2-45-g35b79b0 Utilities/cmlibarchive/libarchive/archive_string.c
libarchive v3.6.2-48-g9e1081b Utilities/cmlibarchive/libarchive/archive_windows.c
libarchive v3.6.2-58-g092631c Utilities/cmlibarchive/libarchive/archive_write_disk_windows.c
libarchive v3.4.2-11-gfe465c0 Utilities/cmlibarchive/libarchive/archive_write_set_format_mtree.c
libarchive v3.7.1-9-g1b4e0d0 Utilities/cmlibarchive/libarchive/archive_write_set_format_pax.c
libexpat R_2_3_0-55-gdf42f93 Utilities/cmexpat/lib/ascii.h
libexpat R_2_3_0-55-gdf42f93 Utilities/cmexpat/lib/asciitab.h
libexpat R_2_4_5-7-g28f7454 Utilities/cmexpat/lib/expat.h
libexpat R_2_3_0-55-gdf42f93 Utilities/cmexpat/lib/iasciitab.h
libexpat R_2_3_0-88-g5dbc857 Utilities/cmexpat/lib/internal.h
libexpat R_2_3_0-55-gdf42f93 Utilities/cmexpat/lib/latin1tab.h
libexpat R_2_3_0-55-gdf42f93 Utilities/cmexpat/lib/nametab.h
libexpat R_2_3_0-55-gdf42f93 Utilities/cmexpat/lib/utf8tab.h
libexpat R_2_4_5-7-g28f7454 Utilities/cmexpat/lib/xmlparse.c
libexpat R_2_4_4-2-g317c917 Utilities/cmexpat/lib/xmlrole.c
libexpat R_2_3_0-55-gdf42f93 Utilities/cmexpat/lib/xmlrole.h
Expand Down Expand Up @@ -219,12 +236,32 @@ description of the latest match respectively (sorted by git commit timestamp).

```
# ./identify.py -s cmake-3.29.2
curl curl-8_5_0-248-g066ed4e51
xz v5.3.1alpha-65-g7136f173
libuv v1.44.0-5-gbae2992c
zlib v1.2.12-30-ga9e14e8
zstd 0^20210512.c730b8c5a38b9e93efc0c3639e26f18f14b82f95
curl curl-8_5_0-248-g066ed4e
libarchive v3.7.1-9-g1b4e0d0
libexpat R_2_4_5-7-g28f7454
libuv v1.44.0-5-gbae2992
nghttp2 v1.50.0-25-g3f65ab7
xz v5.2.4-50-g00517d1
zlib v1.2.13
zstd v1.4.7-356-gc730b8c
```

## Adding new libraries
TODO
Rough outline
```
cd libraries
git submodule add https://github.com/abc/libxyz
cd ..
./metric.py -n 40 libraries/libxyz/
# add the library definition including the list of sparse files generated by metric.py
$EDITOR config.py
# test the sparse configuration
./index.py -m sparse -d idlib.sqlite -l libxyz
# test the full configuration
# then pay attention to duplicated files:
# libxyz might embed other indexed libraries. adjust config.py accordingly.
./index.py -m full -d idlib-full.sqlite -l libxyz
```

0 comments on commit e48eb05

Please sign in to comment.