Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72613262
search_repo.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 16, 04:38
Size
273 B
Mime Type
text/x-python
Expires
Thu, Jul 18, 04:38 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19077712
Attached To
rPHAPI Phabricator API scripts
search_repo.py
View Options
#!/usr/bin/env python3
HOST
=
'scitassrv18.epfl.ch'
from
phabricator
import
Phabricator
phab
=
Phabricator
(
host
=
'https://{}/api/'
.
format
(
HOST
))
repo
=
phab
.
diffusion
.
repository
.
search
(
constraints
=
{
'types'
:
[
'svn'
]})
for
r
in
repo
[
'data'
]:
print
(
'R{}'
.
format
(
r
[
'id'
]))
Event Timeline
Log In to Comment