Revision b4e4b2081c87b3795b3fc18988183c6bd859139e authored by Stefano Zacchiroli on 30 September 2015, 07:18:22 UTC, committed by Stefano Zacchiroli on 30 September 2015, 07:18:22 UTC
by uniting on contents that appear to be missing when looking at a single checksum algorithm. This is semantically equivalent to the previous approach, but allows to exploit single-column indexes; which are non-redundant, smaller, and hence more likely to be used. This is the "metro ligne 6" approach.
1 parent 7a33494
setup.py
#!/usr/bin/env python3
from setuptools import setup
def parse_requirements():
requirements = []
with open('requirements.txt') as f:
for line in f.readlines():
line = line.strip()
if not line or line.startswith('#'):
continue
requirements.append(line)
return requirements
setup(
name='swh.storage',
description='Software Heritage storage manager',
author='Software Heritage developers',
author_email='swh-devel@inria.fr',
url='https://forge.softwareheritage.org/diffusion/DSTO/',
packages=['swh.storage', 'swh.storage.api', 'swh.storage.tests'],
scripts=[
'bin/swh-objstorage-add-dir',
'bin/swh-objstorage-fsck',
'bin/swh-storage-add-dir',
],
install_requires=parse_requirements(),
setup_requires=['vcversioner'],
vcversioner={},
include_package_data=True,
)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...