Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9311397
producer.py
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
499 B
Subscribers
None
producer.py
View Options
import
click
task_name
=
'swh.loader.svn.tasks.LoadSvnRepositoryTsk'
@click.command
()
@click.option
(
'--svn-url'
,
help
=
"svn repository's remote url."
)
@click.option
(
'--destination-path'
,
help
=
"(optional) svn checkout destination."
)
def
main
(
svn_url
,
destination_path
):
from
swh.scheduler.celery_backend.config
import
app
from
swh.loader.svn
import
tasks
# noqa
app
.
tasks
[
task_name
]
.
delay
(
svn_url
,
destination_path
)
if
__name__
==
'__main__'
:
main
()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 10:14 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3428357
Attached To
rDLDSVN Subversion (SVN) loader
Event Timeline
Log In to Comment