Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123144
D4847.id17183.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
D4847.id17183.diff
View Options
diff --git a/swh/scheduler/tests/common.py b/swh/scheduler/tests/common.py
--- a/swh/scheduler/tests/common.py
+++ b/swh/scheduler/tests/common.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2019 The Software Heritage developers
+# Copyright (C) 2017-2021 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
@@ -8,12 +8,12 @@
TEMPLATES = {
"git": {
- "type": "update-git",
+ "type": "load-git",
"arguments": {"args": [], "kwargs": {},},
"next_run": None,
},
"hg": {
- "type": "update-hg",
+ "type": "load-hg",
"arguments": {"args": [], "kwargs": {},},
"next_run": None,
"policy": "oneshot",
@@ -23,7 +23,7 @@
TASK_TYPES = {
"git": {
- "type": "update-git",
+ "type": "load-git",
"description": "Update a git repository",
"backend_name": "swh.loader.git.tasks.UpdateGitRepository",
"default_interval": datetime.timedelta(days=64),
@@ -35,7 +35,7 @@
"retry_delay": datetime.timedelta(hours=2),
},
"hg": {
- "type": "update-hg",
+ "type": "load-hg",
"description": "Update a mercurial repository",
"backend_name": "swh.loader.mercurial.tasks.UpdateHgRepository",
"default_interval": datetime.timedelta(days=64),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 17, 11:36 PM (2 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228442
Attached To
D4847: Rename test task types to names that match real tasks
Event Timeline
Log In to Comment