Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124307
D437.id1370.diff
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
D437.id1370.diff
View Options
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -11,25 +11,13 @@
cls: remote
args:
url: http://localhost:5002/
-
-send_contents: True
-send_directories: True
-send_revisions: True
-send_releases: True
-send_occurrences: True
-content_packet_size: 1000
-content_packet_size_bytes: 1073741824
-directory_packet_size: 2500
-revision_packet_size: 1000
-release_packet_size: 1000
-occurrence_packet_size: 1000
```
# Basic use
From python3's toplevel:
-## Remote (failure)
+## Remote
``` Python
project = 'hello'
@@ -47,7 +35,7 @@
t.run(origin_url=origin_url, directory=directory, visit_date='2016-05-03T15:16:32+00:00')
```
-## local directory (failure)
+## local directory
Only origin, contents, and directories are filled so far.
@@ -61,13 +49,13 @@
import logging
logging.basicConfig(level=logging.DEBUG)
-from swh.loader.mercurial.tasks import SlowLoadMercurialTsk
+from swh.loader.mercurial.tasks import LoadMercurialTsk
-t = SlowLoadMercurialTsk()
+t = LoadMercurialTsk()
t.run(origin_url=origin_url, directory=directory, visit_date='2016-05-03T15:16:32+00:00')
```
-## local archive (failure)
+## local archive
``` Python
project = '756015-ipv6-source-archive.zip'
@@ -77,8 +65,8 @@
import logging
logging.basicConfig(level=logging.DEBUG)
-from swh.loader.mercurial.tasks import SlowLoadMercurialArchiveTsk
+from swh.loader.mercurial.tasks import LoadArchiveMercurialTsk
-t = SlowLoadMercurialArchiveTsk()
+t = LoadArchiveMercurialTsk()
t.run(origin_url=origin_url, archive_path=archive_path, visit_date='2016-05-03T15:16:32+00:00')
```
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 6:10 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3222278
Attached To
D437: mercurial.loader: Migrate to swh.model.hashutil.MultiHash
Event Timeline
Log In to Comment