Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P566
test_origin_url_repeat_order2
Active
Public
Actions
Authored by
vlorentz
on Dec 4 2019, 4:40 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
self
.
search
.
origin_update
([
{
'url'
:
'https://bitbucket.org/bitbucket0145/bitbucket_repo.git'
},
{
'url'
:
'https://gitorious.org/railstutorial/railstutorial.git'
},
{
'url'
:
'https://bitbucket.org/bittelc/railstutorial.git'
},
])
self
.
search
.
flush
()
results
=
self
.
search
.
origin_search
(
url_pattern
=
'bitbucket railstutorial'
)
print
(
results
)
# {'results': [{'url': 'https://bitbucket.org/bittelc/railstutorial.git'}, {'url': 'https://gitorious.org/railstutorial/railstutorial.git'}, {'url': 'https://bitbucket.org/bitbucket0145/bitbucket_repo.git'}]}
Event Timeline
vlorentz
created this paste.
Dec 4 2019, 4:40 PM
2019-12-04 16:40:14 (UTC+1)
vlorentz
edited the content of this paste.
(Show Details)
Log In to Comment