Changeset View
Changeset View
Standalone View
Standalone View
swh/lister/__init__.py
| Show All 27 Lines | |||||
| SUPPORTED_LISTERS = list(LISTERS) | SUPPORTED_LISTERS = list(LISTERS) | ||||
| TARBALL_EXTENSIONS = [ | TARBALL_EXTENSIONS = [ | ||||
| "crate", | "crate", | ||||
| "gem", | "gem", | ||||
| "jar", | "jar", | ||||
| "love", # zip | |||||
| "zip", | "zip", | ||||
| "tar", | "tar", | ||||
| "gz", | "gz", | ||||
| "tgz", | "tgz", | ||||
| "tbz", | "tbz", | ||||
| "bz2", | "bz2", | ||||
| "bzip2", | "bzip2", | ||||
| "lzma", | "lzma", | ||||
| "lz", | "lz", | ||||
| "txz", | "txz", | ||||
| "xz", | "xz", | ||||
| "z", | "z", | ||||
| "Z", | "Z", | ||||
| "7z", | "7z", | ||||
| "oxt", # zip | |||||
| "pak", # zip | |||||
| "war", # zip | |||||
| "whl", # zip | |||||
vlorentz: missing comma | |||||
| "vsix", # zip | |||||
| "VSIXPackage", # zip | |||||
| "zst", | "zst", | ||||
| ] | ] | ||||
| """Tarball recognition pattern""" | """Tarball recognition pattern""" | ||||
| def get_lister(lister_name, db_url=None, **conf): | def get_lister(lister_name, db_url=None, **conf): | ||||
| """Instantiate a lister given its name. | """Instantiate a lister given its name. | ||||
| Show All 27 Lines | |||||
missing comma