Changeset View
Changeset View
Standalone View
Standalone View
docs/README.rst
Show All 13 Lines | |||||
Package loaders | Package loaders | ||||
--------------- | --------------- | ||||
This package also implements many package loaders directly, out of convenience, | This package also implements many package loaders directly, out of convenience, | ||||
as they usually are quite similar and each fits in a single file. | as they usually are quite similar and each fits in a single file. | ||||
They all roughly follow these steps, explained in the | They all roughly follow these steps, explained in the | ||||
:py:meth:`swh.loader.package.loader.PackageLoader.load` documentation. | :py:meth:`swh.loader.package.loader.PackageLoader.load` documentation. | ||||
See the :ref:`package-loader-tutorial` for details. | |||||
VCS loaders | VCS loaders | ||||
----------- | ----------- | ||||
Unlike package loaders, VCS loaders remain in separate packages, | Unlike package loaders, VCS loaders remain in separate packages, | ||||
as they often need more advanced conversions and very VCS-specific operations. | as they often need more advanced conversions and very VCS-specific operations. | ||||
This usually involves getting the branches of a repository and recursively loading | This usually involves getting the branches of a repository and recursively loading | ||||
revisions in the history (and directory trees in these revisions), | revisions in the history (and directory trees in these revisions), | ||||
until a known revision is found | until a known revision is found |