scriptworker 62.2.0__tar.gz → 62.2.1__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 (29) hide show
  1. {scriptworker-62.2.0 → scriptworker-62.2.1}/HISTORY.rst +7 -0
  2. {scriptworker-62.2.0 → scriptworker-62.2.1}/PKG-INFO +3 -3
  3. {scriptworker-62.2.0 → scriptworker-62.2.1}/README.rst +2 -2
  4. {scriptworker-62.2.0 → scriptworker-62.2.1}/pyproject.toml +1 -1
  5. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/cot/verify.py +5 -2
  6. {scriptworker-62.2.0 → scriptworker-62.2.1}/.gitignore +0 -0
  7. {scriptworker-62.2.0 → scriptworker-62.2.1}/CONTRIBUTING.rst +0 -0
  8. {scriptworker-62.2.0 → scriptworker-62.2.1}/LICENSE +0 -0
  9. {scriptworker-62.2.0 → scriptworker-62.2.1}/scripts/gen_ed25519_key.py +0 -0
  10. {scriptworker-62.2.0 → scriptworker-62.2.1}/scriptworker.yaml.tmpl +0 -0
  11. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/__init__.py +0 -0
  12. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/artifacts.py +0 -0
  13. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/client.py +0 -0
  14. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/config.py +0 -0
  15. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/constants.py +0 -0
  16. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/context.py +0 -0
  17. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/cot/__init__.py +0 -0
  18. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/cot/generate.py +0 -0
  19. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/data/cot_v1_schema.json +0 -0
  20. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/data/scriptworker_task_schema.json +0 -0
  21. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/ed25519.py +0 -0
  22. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/exceptions.py +0 -0
  23. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/github.py +0 -0
  24. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/log.py +0 -0
  25. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/task.py +0 -0
  26. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/task_process.py +0 -0
  27. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/utils.py +0 -0
  28. {scriptworker-62.2.0 → scriptworker-62.2.1}/src/scriptworker/worker.py +0 -0
  29. {scriptworker-62.2.0 → scriptworker-62.2.1}/tox.ini +0 -0
@@ -4,6 +4,13 @@ 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
+ 62.2.1 - 2025-12-01
8
+ -------------------
9
+
10
+ Fixed
11
+ ~~~~~
12
+ - spurious CoT failure when verifying some tasks chaining to pushes with different .taskcluster.yml
13
+
7
14
  62.2.0 - 2025-11-28
8
15
  -------------------
9
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptworker
3
- Version: 62.2.0
3
+ Version: 62.2.1
4
4
  Summary: Taskcluster scriptworker
5
5
  Author-email: Mozilla Release Engineering <releng@mozilla.com>
6
6
  License-File: LICENSE
@@ -28,8 +28,8 @@ Description-Content-Type: text/x-rst
28
28
  Scriptworker Readme
29
29
  ===================
30
30
 
31
- .. image:: https://travis-ci.org/mozilla-releng/scriptworker.svg?branch=master
32
- :target: https://travis-ci.org/mozilla-releng/scriptworker
31
+ .. image:: https://firefox-ci-tc.services.mozilla.com/api/github/v1/repository/mozilla-releng/scriptworker/main/badge.svg
32
+ :target: https://firefox-ci-tc.services.mozilla.com/api/github/v1/repository/mozilla-releng/scriptworker/main/latest
33
33
 
34
34
  .. image:: https://coveralls.io/repos/github/mozilla-releng/scriptworker/badge.svg?branch=master
35
35
  :target: https://coveralls.io/github/mozilla-releng/scriptworker?branch=master
@@ -2,8 +2,8 @@
2
2
  Scriptworker Readme
3
3
  ===================
4
4
 
5
- .. image:: https://travis-ci.org/mozilla-releng/scriptworker.svg?branch=master
6
- :target: https://travis-ci.org/mozilla-releng/scriptworker
5
+ .. image:: https://firefox-ci-tc.services.mozilla.com/api/github/v1/repository/mozilla-releng/scriptworker/main/badge.svg
6
+ :target: https://firefox-ci-tc.services.mozilla.com/api/github/v1/repository/mozilla-releng/scriptworker/main/latest
7
7
 
8
8
  .. image:: https://coveralls.io/repos/github/mozilla-releng/scriptworker/badge.svg?branch=master
9
9
  :target: https://coveralls.io/github/mozilla-releng/scriptworker?branch=master
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scriptworker"
3
- version = "62.2.0"
3
+ version = "62.2.1"
4
4
  description = "Taskcluster scriptworker"
5
5
  authors = [
6
6
  { name = "Mozilla Release Engineering", email = "releng@mozilla.com" },
@@ -11,6 +11,7 @@ import argparse
11
11
  import asyncio
12
12
  import datetime
13
13
  import fnmatch
14
+ import hashlib
14
15
  import logging
15
16
  import os
16
17
  import pprint
@@ -1007,7 +1008,8 @@ async def get_pushlog_info(decision_link):
1007
1008
  context = decision_link.context
1008
1009
  pushlog_url = context.config["pushlog_url"].format(repo=repo, revision=rev)
1009
1010
  log.info("Pushlog url {}".format(pushlog_url))
1010
- file_path = os.path.join(context.config["work_dir"], "{}_push_log.json".format(decision_link.name))
1011
+ url_hash = hashlib.sha1(pushlog_url.encode("ascii")).hexdigest()
1012
+ file_path = os.path.join(context.config["work_dir"], f"{url_hash}_push_log.json")
1011
1013
  pushlog_info = await load_json_or_yaml_from_url(context, pushlog_url, file_path, overwrite=False)
1012
1014
  if len(pushlog_info["pushes"]) != 1:
1013
1015
  log.warning("Pushlog error: expected a single push at {} but got {}!".format(pushlog_url, pushlog_info["pushes"]))
@@ -1430,7 +1432,8 @@ async def get_in_tree_template(link):
1430
1432
  and context.config.get("github_oauth_token")
1431
1433
  ):
1432
1434
  auth = aiohttp.BasicAuth(context.config["github_oauth_token"])
1433
- tmpl = await load_json_or_yaml_from_url(context, source_url, os.path.join(context.config["work_dir"], "{}_taskcluster.yml".format(link.name)), auth=auth)
1435
+ url_hash = hashlib.sha1(source_url.encode("ascii")).hexdigest()
1436
+ tmpl = await load_json_or_yaml_from_url(context, source_url, os.path.join(context.config["work_dir"], "{}_taskcluster.yml".format(url_hash)), auth=auth)
1434
1437
  return tmpl
1435
1438
 
1436
1439
 
File without changes
File without changes
File without changes