alibuild 1.17.29__tar.gz → 1.17.30__tar.gz
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.29 → alibuild-1.17.30}/PKG-INFO +1 -1
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild.egg-info/PKG-INFO +1 -1
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/_version.py +3 -3
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/build.py +1 -1
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/init.py +2 -1
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/sl.py +16 -3
- {alibuild-1.17.29 → alibuild-1.17.30}/.flake8 +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/.github/workflows/documentation.yml +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/.github/workflows/pr-check.yml +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/.github/workflows/release.yml +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/.gitignore +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/.pylintrc +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/ANALYTICS.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/DESIGN.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/LICENSE.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/PACKAGING.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/README.rst +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alfaBuild +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/aliBuild +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/aliDeps +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/aliDoctor +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild.egg-info/SOURCES.txt +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild.egg-info/dependency_links.txt +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild.egg-info/requires.txt +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild.egg-info/top_level.txt +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/__init__.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/analytics.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/args.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/build_template.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/clean.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/cmd.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/deps.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/doctor.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/git.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/log.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/scm.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/sync.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/templating_plugin.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/utilities.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alibuild_helpers/workarea.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/alienv +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/codecov.yml +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/debian/changelog +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/debian/compat +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/debian/control +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/debian/copyright +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/debian/files +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/debian/rules +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/README.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/SUPPORT +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/alice_logo.png +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/deps.png +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/index.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/quick.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/reference.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/stylesheets/extra.css +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/troubleshooting.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/docs/user.md +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/docs/mkdocs.yml +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/pb +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/pyproject.toml +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/requirements.txt +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/setup.cfg +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/setup.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/templates/alibuild_to_please.jnj +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_analytics.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_args.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_build.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_clean.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_cmd.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_deps.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_doctor.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_git.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_hashing.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_init.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_log.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_packagelist.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_parseRecipe.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_sync.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_utilities.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/test_workarea.py +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/broken1.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/broken2.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/broken3.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/broken4.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/broken5.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/broken6.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/broken7.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/clobber-initdotsh.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/defaults-o2.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/delete-etc.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tests/testdist/tracking-env.sh +0 -0
- {alibuild-1.17.29 → alibuild-1.17.30}/tox.ini +0 -0
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.17.
|
|
32
|
-
__version_tuple__ = version_tuple = (1, 17,
|
|
31
|
+
__version__ = version = '1.17.30'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 17, 30)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'gcc6423102'
|
|
@@ -58,7 +58,7 @@ def update_git_repos(args, specs, buildOrder):
|
|
|
58
58
|
specs[package]["scm"] = Git()
|
|
59
59
|
if specs[package]["is_devel_pkg"]:
|
|
60
60
|
specs[package]["source"] = os.path.join(os.getcwd(), specs[package]["package"])
|
|
61
|
-
if exists(os.path.join(specs[package]["source"], ".sl")):
|
|
61
|
+
if exists(os.path.join(specs[package]["source"], ".sl")) or exists(os.path.join(specs[package]["source"], ".git/sl")):
|
|
62
62
|
specs[package]["scm"] = Sapling()
|
|
63
63
|
updateReferenceRepoSpec(args.referenceSources, package, specs[package],
|
|
64
64
|
fetch=args.fetchRepos, allowGitPrompt=git_prompt)
|
|
@@ -3,6 +3,7 @@ from alibuild_helpers.utilities import getPackageList, parseDefaults, readDefaul
|
|
|
3
3
|
from alibuild_helpers.log import debug, error, warning, banner, info
|
|
4
4
|
from alibuild_helpers.log import dieOnError
|
|
5
5
|
from alibuild_helpers.workarea import updateReferenceRepoSpec
|
|
6
|
+
from alibuild_helpers.cmd import getstatusoutput
|
|
6
7
|
|
|
7
8
|
from os.path import join
|
|
8
9
|
import os.path as path
|
|
@@ -54,7 +55,7 @@ def doInit(args):
|
|
|
54
55
|
architecture="",
|
|
55
56
|
disable=[],
|
|
56
57
|
defaults=args.defaults,
|
|
57
|
-
performPreferCheck=lambda
|
|
58
|
+
performPreferCheck=lambda pkg, cmd: getstatusoutput(["bash", "-c", cmd]),
|
|
58
59
|
performRequirementCheck=lambda *x, **y: (0, ""),
|
|
59
60
|
performValidateDefaults=lambda spec : validateDefaults(spec, args.defaults),
|
|
60
61
|
overrides=overrides,
|
|
@@ -20,9 +20,22 @@ class Sapling(SCM):
|
|
|
20
20
|
return sapling(("whereami", ), directory)
|
|
21
21
|
|
|
22
22
|
def branchOrRef(self, directory):
|
|
23
|
-
# Format is
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
# Format is * branch ref or nothing
|
|
24
|
+
err, output = getstatusoutput("""\
|
|
25
|
+
set -e +x
|
|
26
|
+
sl -R {directory} bookmark -r . 2>/dev/null | grep -- "*"
|
|
27
|
+
""".format(
|
|
28
|
+
directory=quote(directory),
|
|
29
|
+
), timeout=SL_COMMAND_TIMEOUT_SEC)
|
|
30
|
+
if err > 1:
|
|
31
|
+
raise SCMError("Error {} from sl bookmark -r . : {}".format(err, output))
|
|
32
|
+
# We use "none" to indicate there are no bookmarks. This means
|
|
33
|
+
# that a devel package will act as a single branch, regardless of where we are.
|
|
34
|
+
if not output.strip():
|
|
35
|
+
return "none"
|
|
36
|
+
# If a bookmark is there, we use it to determine that we should rebuild
|
|
37
|
+
# when we move to it
|
|
38
|
+
return output.split(" ")[2]
|
|
26
39
|
|
|
27
40
|
def exec(self, *args, **kwargs):
|
|
28
41
|
return sapling(*args, **kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|