Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18621298
blockers
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
mmodell
May 30 2018, 9:31 PM
2018-05-30 21:31:46 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
blockers
View Options
@cli.argument('--count', help='Show at most this many tasks',
metavar='NUM', default=1, type=int)
@cli.argument('--release', help="Show the task id for a specific version",
metavar='VERSION', type=mediawiki_version)
@cli.subcommand('show')
def show(self, *args):
'''
Show a list of deployment blockers tasks
'''
limit = self.arguments.count
constraints = {}
if self.arguments.release:
constraints['query'] = self.arguments.release
limit = 1
res = phab.maniphest.search(
queryKey="GTbIUdDaMLqV",
constraints=constraints,
limit=limit)
for task in res.data:
if limit > 1:
print(
"T%d %s %s" %
(task["id"],
task['fields']['status']['name'],
task['fields']['custom.release.version']))
else:
print("T%d" % task["id"])
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5855764
Default Alt Text
blockers (1 KB)
Attached To
Mode
P7192 blockers
Attached
Detach File
Event Timeline
Log In to Comment