Changeset View
Changeset View
Standalone View
Standalone View
helpers/helperslib/Packages.py
1 | import copy | 1 | import copy | ||
---|---|---|---|---|---|
2 | import os | 2 | import os | ||
3 | import re | 3 | import re | ||
4 | import stat | 4 | import stat | ||
5 | import yaml | 5 | import yaml | ||
6 | import shutil | 6 | import shutil | ||
7 | import tempfile | 7 | import tempfile | ||
8 | import paramiko | | |||
9 | import urllib, urllib.request | 8 | import urllib, urllib.request | ||
10 | from helperslib import CommonUtils | 9 | from helperslib import CommonUtils | ||
11 | 10 | | |||
12 | def nameForProject( product, project, branchGroup ): | 11 | def nameForProject( product, project, branchGroup ): | ||
13 | return "{0}-{1}-{2}".format( product, project, branchGroup ) | 12 | return "{0}-{1}-{2}".format( product, project, branchGroup ) | ||
14 | 13 | | |||
15 | class Archive(object): | 14 | class Archive(object): | ||
16 | # Sets up an archive for use, to allow for retrieving and uploading new resources to the archive | 15 | # Sets up an archive for use, to allow for retrieving and uploading new resources to the archive | ||
▲ Show 20 Lines • Show All 281 Lines • Show Last 20 Lines |