Software Heritage - Core foundations
Low-level utilities and helpers used by almost all other modules in the stack.
core library for swh's modules:
- config parser
- serialization
- logging mechanism
- database connection
- http-based RPC client/server
By default shutil.unpack_archive will try to match the archive format from its extension but it does not do it in a case insensitive way. Thus trying to extract a file named "archive.ZIP" will fail. So try to detect archive format in a case insensitive way by processing the data returned by shutil.get_unpack_formats prior unpacking.
Low-level utilities and helpers used by almost all other modules in the stack.
core library for swh's modules: