scriptworker 63.3.0__tar.gz → 63.4.2__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.
Files changed (30) hide show
  1. {scriptworker-63.3.0 → scriptworker-63.4.2}/HISTORY.rst +23 -0
  2. {scriptworker-63.3.0 → scriptworker-63.4.2}/PKG-INFO +2 -2
  3. {scriptworker-63.3.0 → scriptworker-63.4.2}/pyproject.toml +1 -1
  4. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/cot/verify.py +23 -5
  5. {scriptworker-63.3.0 → scriptworker-63.4.2}/.gitignore +0 -0
  6. {scriptworker-63.3.0 → scriptworker-63.4.2}/CONTRIBUTING.rst +0 -0
  7. {scriptworker-63.3.0 → scriptworker-63.4.2}/LICENSE +0 -0
  8. {scriptworker-63.3.0 → scriptworker-63.4.2}/README.rst +0 -0
  9. {scriptworker-63.3.0 → scriptworker-63.4.2}/renovate.json +0 -0
  10. {scriptworker-63.3.0 → scriptworker-63.4.2}/scripts/gen_ed25519_key.py +0 -0
  11. {scriptworker-63.3.0 → scriptworker-63.4.2}/scriptworker.yaml.tmpl +0 -0
  12. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/__init__.py +0 -0
  13. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/artifacts.py +0 -0
  14. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/client.py +0 -0
  15. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/config.py +0 -0
  16. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/constants.py +0 -0
  17. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/context.py +0 -0
  18. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/cot/__init__.py +0 -0
  19. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/cot/generate.py +0 -0
  20. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/data/cot_v1_schema.json +0 -0
  21. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/data/scriptworker_task_schema.json +0 -0
  22. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/ed25519.py +0 -0
  23. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/exceptions.py +0 -0
  24. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/github.py +0 -0
  25. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/log.py +0 -0
  26. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/task.py +0 -0
  27. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/task_process.py +0 -0
  28. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/utils.py +0 -0
  29. {scriptworker-63.3.0 → scriptworker-63.4.2}/src/scriptworker/worker.py +0 -0
  30. {scriptworker-63.3.0 → scriptworker-63.4.2}/tox.ini +0 -0
@@ -4,6 +4,29 @@ Change Log
4
4
  All notable changes to this project will be documented in this file.
5
5
  This project adheres to `Semantic Versioning <http://semver.org/>`__.
6
6
 
7
+ 63.4.2 - 2026-08-12
8
+
9
+ Fixed
10
+ ~~~~~
11
+
12
+ - Reverted #815 for permanent bustage when uploading logs (#821)
13
+ - Don't raise on mismatched source if no repositories configured (#820)
14
+
15
+ 63.4.1 - 2026-08-11
16
+ -------------------
17
+
18
+ Fixed
19
+ ~~~~~
20
+
21
+ - Allow enterprise tasks to have comm source repositories
22
+
23
+ 63.4.0 - 2026-08-11
24
+ -------------------
25
+
26
+ Added
27
+ ~~~~~
28
+ - set Content-MD5 header to avoid silent data corruption uploading artifacts (#815)
29
+
7
30
  63.3.0 - 2026-08-05
8
31
  -------------------
9
32
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: scriptworker
3
- Version: 63.3.0
3
+ Version: 63.4.2
4
4
  Summary: Taskcluster scriptworker
5
5
  Author-email: Mozilla Release Engineering <releng@mozilla.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scriptworker"
3
- version = "63.3.0"
3
+ version = "63.4.2"
4
4
  description = "Taskcluster scriptworker"
5
5
  authors = [
6
6
  { name = "Mozilla Release Engineering", email = "releng@mozilla.com" },
@@ -1952,12 +1952,30 @@ def get_source_url(obj):
1952
1952
  log.debug("Getting source url for {} {}...".format(obj.name, obj.task_id))
1953
1953
  repo = get_repo(obj.task, source_env_prefix=source_env_prefix)
1954
1954
  source = task["metadata"]["source"]
1955
- if repo and not verify_repo_matches_url(repo, source):
1956
- raise CoTError(
1957
- "{name} {task_id}: {source_env_prefix} {repo} doesn't match source {source}!".format(
1958
- name=obj.name, task_id=obj.task_id, source_env_prefix=source_env_prefix, repo=repo, source=source
1955
+ cot_product = obj.context.config["cot_product"]
1956
+ match_repo = repo and verify_repo_matches_url(repo, source)
1957
+ if cot_product != "enterprise":
1958
+ if repo and not match_repo:
1959
+ raise CoTError(
1960
+ "{name} {task_id}: {source_env_prefix} {repo} doesn't match source {source}!".format(
1961
+ name=obj.name, task_id=obj.task_id, source_env_prefix=source_env_prefix, repo=repo, source=source
1962
+ )
1959
1963
  )
1960
- )
1964
+ else:
1965
+ comm_repo = get_repo(obj.task, source_env_prefix="COMM", repo_type="head")
1966
+ match_comm_repo = comm_repo and verify_repo_matches_url(comm_repo, source)
1967
+
1968
+ # Enterprise runs two Decision tasks, a gecko one and a comm one. If
1969
+ # the task has COMM_HEAD_REPOSITORY defined, it comes from the comm
1970
+ # Decision task and its metadata.source must match the comm repository.
1971
+ # Otherwise it must match the enterprise-firefox repository.
1972
+ if (comm_repo and not match_comm_repo) or (not comm_repo and repo and not match_repo):
1973
+ raise CoTError(
1974
+ "{name} {task_id}: {source_env_prefix} {repo} or {comm_repo} doesn't match source {source}!".format(
1975
+ name=obj.name, task_id=obj.task_id, source_env_prefix=source_env_prefix, repo=repo, comm_repo=comm_repo, source=source
1976
+ )
1977
+ )
1978
+
1961
1979
  log.info("{} {}: found {}".format(obj.name, obj.task_id, source))
1962
1980
  return source
1963
1981
 
File without changes
File without changes
File without changes
File without changes