Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7437690
README.rst
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
README.rst
View Options
Software Heritage - Loader foundations
======================================
The Software Heritage Loader Core is a low-level loading utilities and
helpers used by
:term:
`loaders <loader>`
.
The main entry points are classes:
-
:class:
`swh.loader.core.loader.BaseLoader`
for loaders (e.g. svn)
-
:class:
`swh.loader.core.loader.DVCSLoader`
for DVCS loaders (e.g. hg, git, ...)
-
:class:
`swh.loader.package.loader.PackageLoader`
for Package loaders (e.g. PyPI, Npm, ...)
Package loaders
---------------
This package also implements many package loaders directly, out of convenience,
as they usually are quite similar and each fits in a single file.
They all roughly follow these steps, explained in the
:py:meth:
`swh.loader.package.loader.PackageLoader.load`
documentation.
See the
:ref:
`package-loader-tutorial`
for details.
VCS loaders
-----------
Unlike package loaders, VCS loaders remain in separate packages,
as they often need more advanced conversions and very VCS-specific operations.
This usually involves getting the branches of a repository and recursively loading
revisions in the history (and directory trees in these revisions),
until a known revision is found
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 15, 2:21 AM (2 d, 8 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3273328
Attached To
rDLDBASE Generic VCS/Package Loader
Event Timeline
Log In to Comment