Several enhancements
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from atlassian import Bitbucket
|
||||
from jira import JIRA
|
||||
|
||||
host = "https://bitbucket.wien.gv.at/"
|
||||
pat = "OTAyMTM3MjY0MjE0Ovz6bu0ti1TlEdSegmmiWiJ2wGeD"
|
||||
|
||||
# Initialize Bitbucket instance
|
||||
#TODO Use token for authentication
|
||||
bitbucket = Bitbucket(
|
||||
url=host,
|
||||
username='zim9003', # Assuming you need authentication
|
||||
password='3S1punk08_113$', # Use token for authentication
|
||||
)
|
||||
|
||||
repos = bitbucket.repo_list('BAUWB')
|
||||
for repo in repos:
|
||||
print(repo)
|
||||
Reference in New Issue
Block a user