alibuild 1.17.22__py3-none-any.whl → 1.17.23__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {alibuild-1.17.22.dist-info → alibuild-1.17.23.dist-info}/METADATA +1 -1
- {alibuild-1.17.22.dist-info → alibuild-1.17.23.dist-info}/RECORD +14 -14
- alibuild_helpers/_version.py +2 -2
- alibuild_helpers/build_template.sh +2 -2
- alibuild_helpers/log.py +8 -1
- alibuild_helpers/sync.py +7 -2
- {alibuild-1.17.22.data → alibuild-1.17.23.data}/scripts/aliBuild +0 -0
- {alibuild-1.17.22.data → alibuild-1.17.23.data}/scripts/aliDeps +0 -0
- {alibuild-1.17.22.data → alibuild-1.17.23.data}/scripts/aliDoctor +0 -0
- {alibuild-1.17.22.data → alibuild-1.17.23.data}/scripts/alienv +0 -0
- {alibuild-1.17.22.data → alibuild-1.17.23.data}/scripts/pb +0 -0
- {alibuild-1.17.22.dist-info → alibuild-1.17.23.dist-info}/WHEEL +0 -0
- {alibuild-1.17.22.dist-info → alibuild-1.17.23.dist-info}/licenses/LICENSE.md +0 -0
- {alibuild-1.17.22.dist-info → alibuild-1.17.23.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: alibuild
|
|
3
|
-
Version: 1.17.
|
|
3
|
+
Version: 1.17.23
|
|
4
4
|
Summary: ALICE Build Tool
|
|
5
5
|
Author-email: Giulio Eulisse <giulio.eulisse@cern.ch>, Timo Wilken <timo.wilken@cern.ch>, Sergio Garcia <sergio.garcia@cern.ch>
|
|
6
6
|
Project-URL: homepage, https://alisw.github.io/alibuild
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
alibuild-1.17.
|
|
2
|
-
alibuild-1.17.
|
|
3
|
-
alibuild-1.17.
|
|
4
|
-
alibuild-1.17.
|
|
5
|
-
alibuild-1.17.
|
|
6
|
-
alibuild-1.17.
|
|
1
|
+
alibuild-1.17.23.data/scripts/aliBuild,sha256=5g-apCjhc9cvtFvKSP0yr6IJtChNvtTAP-BtPL-91M8,4307
|
|
2
|
+
alibuild-1.17.23.data/scripts/aliDeps,sha256=fhfPB2NpuLj8bZZPUjJW2e4VxA8ZkHlp5q76xAOzufI,219
|
|
3
|
+
alibuild-1.17.23.data/scripts/aliDoctor,sha256=gQwLcNGAm7_QF7FFCtmtFXEoroKsRonNMA7UP4DS1y4,221
|
|
4
|
+
alibuild-1.17.23.data/scripts/alienv,sha256=8QihJOzKue4oeuIM31MsoX8Fw7FNZ4zY7wyK6UYtgTE,12568
|
|
5
|
+
alibuild-1.17.23.data/scripts/pb,sha256=LfkIUyX3xXxmaGSdtAbA-dS1Y1eEShEHpmto1tIEga0,211
|
|
6
|
+
alibuild-1.17.23.dist-info/licenses/LICENSE.md,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
|
|
7
7
|
alibuild_helpers/__init__.py,sha256=ZAhyhRxOkiTA1fMzwEKACY8Eo8MdWp1MawVicFlvQWk,736
|
|
8
|
-
alibuild_helpers/_version.py,sha256=
|
|
8
|
+
alibuild_helpers/_version.py,sha256=q_XOCHbbcmsjrnp8Qu5l1KPC7ljxQhb7YoDAGHlzgsQ,515
|
|
9
9
|
alibuild_helpers/analytics.py,sha256=fuiOagDngFnodGo7upMWeY-RjTTncDRz5Kwz8zxUr9o,4579
|
|
10
10
|
alibuild_helpers/args.py,sha256=T0nOOMCpJZdJkEPZENz7nOsaYIfeZ7qHfAR1Vx4-T2Y,31694
|
|
11
11
|
alibuild_helpers/build.py,sha256=FLeSwo-q_o6bPARbgKm1-pnwax1xe5ulc42bjSKqrog,56994
|
|
12
|
-
alibuild_helpers/build_template.sh,sha256=
|
|
12
|
+
alibuild_helpers/build_template.sh,sha256=e7nh8ZhNH-z0LPkuETYVYlgM75EfhoCo__hn1QCIDak,13566
|
|
13
13
|
alibuild_helpers/clean.py,sha256=-LeQUYDwxihzGJi4rCiuALu051T44-0cV8S6-l_lCaQ,3250
|
|
14
14
|
alibuild_helpers/cmd.py,sha256=cK33xiBI2ENAWSueW_yqj3Y9aOhTOdKkzsLdNUx9KdU,5899
|
|
15
15
|
alibuild_helpers/deps.py,sha256=nHLyNqVuTUfW5bqfzCDxAaVVsklv5wHMl4FMMfTQF-8,4909
|
|
16
16
|
alibuild_helpers/doctor.py,sha256=bE5YOEl3abxhSNo6Zr3HQTfETe_1C4SmmQnzm1GF_x8,9532
|
|
17
17
|
alibuild_helpers/git.py,sha256=_GjLIxprHnCfUdQ908xfza1rwhqag1_df7_gcC_8sgw,4004
|
|
18
18
|
alibuild_helpers/init.py,sha256=GmVLXqMS-aXqPnCk5dgAONMQFe7MqjlEtXtcQ1a-0qY,5009
|
|
19
|
-
alibuild_helpers/log.py,sha256=
|
|
19
|
+
alibuild_helpers/log.py,sha256=OEflXNcGNgvVYLZbvVwd2Inyt12tnEw5RgkrsiAT2c0,4700
|
|
20
20
|
alibuild_helpers/scm.py,sha256=pZfEnTgr_ILmtRT3BXeoYVJGq9rjigLXOLAGJMsnDko,1019
|
|
21
21
|
alibuild_helpers/sl.py,sha256=EdHs5Se6xpR9rhmhSJd_6f3Rfkxc8jl-97ZT1lG2T28,2356
|
|
22
|
-
alibuild_helpers/sync.py,sha256=
|
|
22
|
+
alibuild_helpers/sync.py,sha256=SCX3Q-_Iglexr9IV2xHTM2ABCPEpIHpveW7tBHbpbOQ,31312
|
|
23
23
|
alibuild_helpers/templating_plugin.py,sha256=TWHdMQtDfX6Vqp5w9Huyh4ZEgLv5vYxAtPtX68xTOlk,662
|
|
24
24
|
alibuild_helpers/utilities.py,sha256=nb0UC0qn2_rIJ-5GDnx-GoRAbF8tn1ELjZS-prUz9eo,26131
|
|
25
25
|
alibuild_helpers/workarea.py,sha256=dYGZ7OOCg87W-njZMqX7Yu72800KZjx9v5Hg-T43juY,7442
|
|
@@ -68,7 +68,7 @@ tests/testdist/clobber-initdotsh.sh,sha256=K4L8hiEgNg0hI2WAiEA65rWU5sp-fwOYkubpV
|
|
|
68
68
|
tests/testdist/defaults-o2.sh,sha256=IJWVMYjQYz876twos1bj-5VnPv7WTdM0X-fd09j4xxM,325
|
|
69
69
|
tests/testdist/delete-etc.sh,sha256=NFMApyWMLQu3HJMsx0x8ZEveCaXbosO6XzJk8KDRJdg,63
|
|
70
70
|
tests/testdist/tracking-env.sh,sha256=3cJszuzJ5dxNYvHO4ydUOWIXwmMS7wfeb-JBCDK21O4,119
|
|
71
|
-
alibuild-1.17.
|
|
72
|
-
alibuild-1.17.
|
|
73
|
-
alibuild-1.17.
|
|
74
|
-
alibuild-1.17.
|
|
71
|
+
alibuild-1.17.23.dist-info/METADATA,sha256=Yz8fcLP5Qn03xnWTcZRPJXBoMkjIxLKx1Ke-mUISp_0,2129
|
|
72
|
+
alibuild-1.17.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
73
|
+
alibuild-1.17.23.dist-info/top_level.txt,sha256=WjKmc89Vn0WlbEp9a9VmhwqRkeKxjUX_6NT3T8K3Hv0,45
|
|
74
|
+
alibuild-1.17.23.dist-info/RECORD,,
|
alibuild_helpers/_version.py
CHANGED
|
@@ -103,9 +103,9 @@ unset DYLD_LIBRARY_PATH
|
|
|
103
103
|
EOF
|
|
104
104
|
|
|
105
105
|
cd "$BUILDROOT"
|
|
106
|
-
ln -snf $PKGHASH "$
|
|
106
|
+
ln -snf "$PKGHASH" "$ALIBUILD_BUILD_WORK_DIR/BUILD/$PKGNAME-latest"
|
|
107
107
|
if [[ $DEVEL_PREFIX ]]; then
|
|
108
|
-
ln -snf $PKGHASH "$
|
|
108
|
+
ln -snf "$PKGHASH" "$ALIBUILD_BUILD_WORK_DIR/BUILD/$PKGNAME-latest-$DEVEL_PREFIX"
|
|
109
109
|
fi
|
|
110
110
|
|
|
111
111
|
cd "$BUILDDIR"
|
alibuild_helpers/log.py
CHANGED
|
@@ -53,14 +53,21 @@ def log_current_package(package, main_package, specs, devel_prefix) -> None:
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
class ProgressPrint:
|
|
56
|
-
def __init__(self, begin_msg="") -> None:
|
|
56
|
+
def __init__(self, begin_msg="", min_interval=0.) -> None:
|
|
57
57
|
self.count = -1
|
|
58
58
|
self.lasttime = 0
|
|
59
59
|
self.STAGES = ".", "..", "...", "....", ".....", "....", "...", ".."
|
|
60
60
|
self.begin_msg = begin_msg
|
|
61
61
|
self.percent = -1
|
|
62
|
+
self.min_interval = min_interval
|
|
63
|
+
self.last_update = 0
|
|
62
64
|
|
|
63
65
|
def __call__(self, txt, *args) -> None:
|
|
66
|
+
now = time.time()
|
|
67
|
+
if (now - self.last_update) < self.min_interval:
|
|
68
|
+
return
|
|
69
|
+
self.last_update = now
|
|
70
|
+
|
|
64
71
|
if logger.level <= logging.DEBUG or not sys.stdout.isatty():
|
|
65
72
|
debug(txt, *args)
|
|
66
73
|
return
|
alibuild_helpers/sync.py
CHANGED
|
@@ -178,7 +178,7 @@ class HttpRemoteSync:
|
|
|
178
178
|
destPath = os.path.join(self.workdir, store_path, use_tarball)
|
|
179
179
|
if not os.path.isfile(destPath): # do not download twice
|
|
180
180
|
progress = ProgressPrint("Downloading tarball for %s@%s" %
|
|
181
|
-
(spec["package"], spec["version"]))
|
|
181
|
+
(spec["package"], spec["version"]), min_interval=5.0)
|
|
182
182
|
progress("[0%%] Starting download of %s", use_tarball) # initialise progress bar
|
|
183
183
|
self.getRetry("/".join((self.remoteStore, store_path, use_tarball)),
|
|
184
184
|
destPath, session=session, progress=progress)
|
|
@@ -551,7 +551,7 @@ class Boto3RemoteSync:
|
|
|
551
551
|
for tarball in self._s3_listdir(store_path):
|
|
552
552
|
debug("Fetching tarball %s", tarball)
|
|
553
553
|
progress = ProgressPrint("Downloading tarball for %s@%s" %
|
|
554
|
-
(spec["package"], spec["version"]))
|
|
554
|
+
(spec["package"], spec["version"]), min_interval=5.0)
|
|
555
555
|
progress("[0%%] Starting download of %s", tarball) # initialise progress bar
|
|
556
556
|
# Create containing directory locally. (exist_ok= is python3-specific.)
|
|
557
557
|
os.makedirs(os.path.join(self.workdir, store_path), exist_ok=True)
|
|
@@ -679,6 +679,7 @@ class Boto3RemoteSync:
|
|
|
679
679
|
|
|
680
680
|
# Second, upload dist symlinks. These should be in place before the main
|
|
681
681
|
# tarball, to avoid races in the publisher.
|
|
682
|
+
start_time = time.time()
|
|
682
683
|
for link_dir, symlinks in dist_symlinks.items():
|
|
683
684
|
for link_key, hash_path in symlinks:
|
|
684
685
|
self.s3.put_object(Bucket=self.writeStore,
|
|
@@ -688,6 +689,10 @@ class Boto3RemoteSync:
|
|
|
688
689
|
WebsiteRedirectLocation=hash_path)
|
|
689
690
|
debug("Uploaded %d dist symlinks to S3 from %s",
|
|
690
691
|
len(symlinks), link_dir)
|
|
692
|
+
end_time = time.time()
|
|
693
|
+
debug("Uploaded %d dist symlinks in %.2f seconds",
|
|
694
|
+
sum(len(symlinks) for _, symlinks in dist_symlinks.items()),
|
|
695
|
+
end_time - start_time)
|
|
691
696
|
|
|
692
697
|
self.s3.upload_file(Bucket=self.writeStore, Key=tar_path,
|
|
693
698
|
Filename=os.path.join(self.workdir, tar_path))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|