Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 14 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,31 @@ ScanCode plugins

https://github.com/nexB/scancode-plugins

These are various scancode plugins, some are builtins and some are extras.
Several of them contain pre-built binaries.
These are various scancode plugins, some are builtins and some are extras.
Several of them contain pre-built binaries.

Each plugin is under its own license.
This repository (but there is not much in it) licensed under the Apache 2.0 license.
Each plugin is under its own license and in particular plugins that merely
bundle pre-built binaries use the license of these binaries.

This repository itself is licensed under the Apache 2.0 license (but there is
not much in it beyond build scripts).

The src-* directories contain the source code of pre-built plugins that contain
native binaries.

See also:

- https://github.com/nexB/scancode-toolkit
- https://github.com/nexB/scancode-thirdparty-src (source for some plugins being transitioned)
- https://github.com/nexB/scancode-thirdparty-src (source for some plugins
being transitioned)


To re-provision pre-built binaries, follow these instructions (only on Linux):

- install the system package for clamav
- install the latest patchelf from sources.
- install the system package for clamav, zstd and p7zip
- install the latest patchelf from sources (also provided here in src/)
As of 2020-05-14, this is https://github.com/NixOS/patchelf/archive/978325def61e0126d13d7936eee51326cbd433d4.tar.gz
See src to get it. Older versions are buggy.
See src/ to get it. Older versions are buggy.

- then run::

Expand All @@ -38,3 +42,5 @@ a new release.
To build the wheels for all the plugins::

etc/scripts/build-plugins.sh

The dirs/ directory will contain all the built wheels.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class CtagsPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class CtagsPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class CtagsPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class CtagsPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class DwarfDumpPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class DwarfDumpPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class DwarfDumpPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class DwarfDumpPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class ReadelfPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class ReadelfPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class ReadelfPaths(LocationProviderPlugin):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class ReadelfPaths(LocationProviderPlugin):
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z-linux/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 16.02.2.1
current_version = 16.5
files = setup.py
commit = False
tag = False
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z-linux/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='extractcode_7z',
version='16.02.2.1',
version='16.5',
license='lgpl-2.1 and unrar and brian-gladman-3-clause',
description=desc,
long_description=desc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class SevenzipPaths(LocationProviderPlugin):
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z-macosx/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 16.02.4
current_version = 16.5
files = setup.py
commit = False
tag = False
Expand Down
4 changes: 2 additions & 2 deletions builtins/extractcode_7z-macosx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
desc = '''A ScanCode path provider plugin to provide a prebuilt native sevenzip binary.'''

setup(
name='extractcode_7z',
version='16.02.4.1',
name='extractcode_7z-macosx',
version='16.5',
license='lgpl-2.1 and unrar and brian-gladman-3-clause',
description=desc,
long_description=desc,
Expand Down
5 changes: 0 additions & 5 deletions builtins/extractcode_7z-macosx/src/extractcode_7z/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class SevenzipPaths(LocationProviderPlugin):
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z-win32/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 16.02.1.1
current_version = 16.5
files = setup.py
commit = False
tag = False
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z-win32/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='extractcode_7z',
version='16.04.1',
version='16.5',
license='lgpl-2.1 and unrar and brian-gladman-3-clause',
description=desc,
long_description=desc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class SevenzipPaths(LocationProviderPlugin):
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z-win64/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 16.02.1.1
current_version = 16.5
files = setup.py
commit = False
tag = False
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z-win64/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='extractcode_7z',
version='16.04.1',
version='16.5',
license='lgpl-2.1 and unrar and brian-gladman-3-clause',
description=desc,
long_description=desc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class SevenzipPaths(LocationProviderPlugin):
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z_system_provided/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 16.02.1
current_version = 16.5
files = setup.py
commit = False
tag = False
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_7z_system_provided/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='extractcode_7z_system_provided',
version='16.02.1',
version='16.5',
license='lgpl-2.1 and unrar and brian-gladman-3-clause',
description=desc,
long_description=desc,
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_libarchive-linux/.bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.4.2.1
current_version = 3.4.3.1
files = setup.py
commit = False
tag = False
Expand Down
2 changes: 1 addition & 1 deletion builtins/extractcode_libarchive-linux/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='extractcode_libarchive',
version='3.4.2.1',
version='3.4.3.1',
license='bsd-simplified',
description=desc,
long_description=desc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from os.path import join

from plugincode.location_provider import LocationProviderPlugin
from plugincode.location_provider import location_provider_impl


class LibarchivePaths(LocationProviderPlugin):
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"homebrew_version":"2.2.10-64-g4d5424c","used_options":[],"unused_options":[],"built_as_bottle":true,"poured_from_bottle":false,"installed_as_dependency":false,"installed_on_request":true,"changed_files":["INSTALL_RECEIPT.json","lib/pkgconfig/libarchive.pc"],"time":null,"source_modified_time":1581461927,"HEAD":null,"stdlib":null,"compiler":"gcc-5","aliases":[],"runtime_dependencies":[{"full_name":"libb2","version":"0.98.1"},{"full_name":"lz4","version":"1.9.2"},{"full_name":"xz","version":"5.2.4"},{"full_name":"zlib","version":"1.2.11"},{"full_name":"zstd","version":"1.4.4"},{"full_name":"bzip2","version":"1.0.8"},{"full_name":"libbsd","version":"0.10.0"},{"full_name":"expat","version":"2.2.9"}],"source":{"path":"@@HOMEBREW_REPOSITORY@@/Library/Taps/homebrew/homebrew-core/Formula/libarchive.rb","tap":"homebrew/core","spec":"stable","versions":{"stable":"3.4.2","devel":"","head":"","version_scheme":0}}}
{"homebrew_version":"2.2.17-64-ga7a8569","used_options":[],"unused_options":[],"built_as_bottle":true,"poured_from_bottle":false,"installed_as_dependency":false,"installed_on_request":true,"changed_files":["INSTALL_RECEIPT.json","lib/pkgconfig/libarchive.pc"],"time":null,"source_modified_time":1589937009,"HEAD":null,"stdlib":null,"compiler":"gcc-5","aliases":[],"runtime_dependencies":[{"full_name":"libb2","version":"0.98.1"},{"full_name":"lz4","version":"1.9.2"},{"full_name":"xz","version":"5.2.5"},{"full_name":"zlib","version":"1.2.11"},{"full_name":"zstd","version":"1.4.4"},{"full_name":"bzip2","version":"1.0.8"},{"full_name":"libbsd","version":"0.10.0"},{"full_name":"expat","version":"2.2.9"}],"source":{"path":"@@HOMEBREW_REPOSITORY@@/Library/Taps/homebrew/homebrew-core/Formula/libarchive.rb","tap":"homebrew/core","spec":"stable","versions":{"stable":"3.4.3","devel":"","head":"","version_scheme":0}}}
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ know about any errors or omissions you find.

## Supported Formats

Currently, the library automatically detects and reads the following fomats:
Currently, the library automatically detects and reads the following formats:
* Old V7 tar archives
* POSIX ustar
* GNU tar format (including GNU long filenames, long link names, and sparse files)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
v1.4.5
fix : Compression ratio regression on huge files (> 3 GB) using high levels (--ultra) and multithreading, by @terrelln
perf: Improved decompression speed: x64 : +10% (clang) / +5% (gcc); ARM : from +15% to +50%, depending on SoC, by @terrelln
perf: Automatically downsizes ZSTD_DCtx when too large for too long (#2069, by @bimbashreshta)
perf: Improved fast compression speed on aarch64 (#2040, ~+3%, by @caoyzh)
perf: Small level 1 compression speed gains (depending on compiler)
cli : New --patch-from command, create and apply patches from files, by @bimbashreshta
cli : New --filelist= : Provide a list of files to operate upon from a file
cli : -b -d command can now benchmark decompression on multiple files
cli : New --no-content-size command
cli : New --show-default-cparams information command
api : ZDICT_finalizeDictionary() is promoted to stable (#2111)
api : new experimental parameter ZSTD_d_stableOutBuffer (#2094)
build: Generate a single-file libzstd library (#2065, by @cwoffenden)
build: Relative includes no longer require -I compiler flags for zstd lib subdirs (#2103, by @felixhandte)
build: zstd now compiles cleanly under -pedantic (#2099)
build: zstd now compiles with make-4.3
build: Support mingw cross-compilation from Linux, by @Ericson2314
build: Meson multi-thread build fix on windows
build: Some misc icc fixes backed by new ci test on travis
misc: bitflip analyzer tool, by @felixhandte
misc: Extend largeNbDicts benchmark to compression
misc: Edit-distance match finder in contrib/
doc : Improved beginner CONTRIBUTING.md docs
doc : New issue templates for zstd

v1.4.4
perf: Improved decompression speed, by > 10%, by @terrelln
perf: Better compression speed when re-using a context, by @felixhandte
Expand All @@ -14,7 +40,8 @@ cli: commands --stream-size=# and --size-hint=#, by @nmagerko
cli: command --exclude-compressed, by @shashank0791
cli: faster `-t` test mode
cli: improved some error messages, by @vangyzen
cli: rare deadlock condition within dictionary builder, by @terrelln
cli: fix command `-D dictionary` on Windows, reported by @artyompetrov
cli: fix rare deadlock condition within dictionary builder, by @terrelln
build: single-file decoder with emscripten compilation script, by @cwoffenden
build: fixed zlibWrapper compilation on Visual Studio, reported by @bluenlive
build: fixed deprecation warning for certain gcc version, reported by @jasonma163
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"homebrew_version":"2.1.16-99-gfb978a7","used_options":[],"unused_options":[],"built_as_bottle":true,"poured_from_bottle":false,"installed_as_dependency":false,"installed_on_request":true,"changed_files":["INSTALL_RECEIPT.json","lib/pkgconfig/libzstd.pc"],"time":null,"source_modified_time":1572890072,"HEAD":null,"stdlib":null,"compiler":"gcc-5","aliases":["pzstd"],"runtime_dependencies":[{"full_name":"zlib","version":"1.2.11"}],"source":{"path":"@@HOMEBREW_REPOSITORY@@/Library/Taps/homebrew/homebrew-core/Formula/zstd.rb","tap":"homebrew/core","spec":"stable","versions":{"stable":"1.4.4","devel":"","head":"","version_scheme":0}}}
{"homebrew_version":"2.2.17-80-gd3f018d","used_options":[],"unused_options":[],"built_as_bottle":true,"poured_from_bottle":false,"installed_as_dependency":false,"installed_on_request":true,"changed_files":["INSTALL_RECEIPT.json","lib/pkgconfig/libzstd.pc"],"time":null,"source_modified_time":1590123840,"HEAD":null,"stdlib":null,"compiler":"gcc-5","aliases":["pzstd"],"runtime_dependencies":[{"full_name":"zlib","version":"1.2.11"}],"source":{"path":"@@HOMEBREW_REPOSITORY@@/Library/Taps/homebrew/homebrew-core/Formula/zstd.rb","tap":"homebrew/core","spec":"stable","versions":{"stable":"1.4.5","devel":"","head":"","version_scheme":0}}}
Loading