-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRepository_data.py
More file actions
34 lines (28 loc) · 996 Bytes
/
Repository_data.py
File metadata and controls
34 lines (28 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# The information below is used as input for getting repos from GitHub
#
# Parameter description:
# The username for the Bitbucket user
# 'username': 'JohnDoe',
# Password for the previously specified user
# 'password': 'FooBar',
# Name of the repository to retrieve
# 'reponame': 'myRepo',
# Target folder on local drive
# 'local_repo_dir': 'C:\myTestRepo',
# List of folders that contains files with % in the their names.
# Files in folders listed here, will have their names changed if the contain a % character. % will be replaced by _
# 'data_file_folders': [
# 'Folder_name1',
# 'Folder_name2,
# 'Folder_name3'
git_input = {
'git_url': 'bitbucket.org/mycompany/mygit.git',
'username': 'myusername',
'password': 'mypassword',
'repo_dir': 'C:/myTestRepo',
'data_file_folders': [
'myRepoFolder/myRepoSubFolder',
'myRepoFolder1/myRepoSubFolder1',
'myRepoFolder2/myRepoSubFolder2'
]
}