Scriptworker

Latest version: v60.4.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 37 of 37

0.5.0

--------------------

.. _added-78:

Added
~~~~~

- added ``firefox_cot_schema.json`` for firefox chain of trust
- added gpg signature creation + verification
- added chain of trust generation
- added ``scriptworker.task.worst_level`` function for determining
overall result of task

.. _changed-76:

Changed
~~~~~~~

- ``unsignedArtifacts`` url paths are now unquoted, so ``%2F`` becomes
``/``
- ``validate_task_schema`` renamed to ``validate_json_schema``
- write task log files directly to the ``task_log_dir``; this should be
a subdir of ``artifact_dir`` if we want them uploaded.
- ``ScriptWorkerException`` now has an ``exit_code`` of 5
(``internal-error``); ``ScriptWorkerRetryException`` now has an
``exit_code`` of 4 (``resource-unavailable``)
- moved ``tests`` directory to ``scriptworker/test``

.. _fixed-68:

Fixed
~~~~~

- Functions in ``test_config`` now ignore existing ``TASKCLUSTER_`` env
vars for a clean testing environment
- ``raise_future_exceptions`` no longer throws an exception for an
empty list of tasks
- Updated ``CONTRIBUTING.rst`` to reflect reality

.. _section-127:

0.4.0

--------------------

.. _added-79:

Added
~~~~~

- add ``scriptworker.utils.filepaths_in_dir``
- added setup.cfg for wheels
- added ``scriptworker.client.validate_artifact_url``.
- added python-gnupg dependency

.. _changed-77:

Changed
~~~~~~~

- test files no longer use a test class.
- ``upload_artifacts`` now uploads files in subdirectories of
``artifact_dir``, preserving the relative paths.

.. _removed-33:

Removed
~~~~~~~

- Removed unneeded creds file generation.

.. _section-128:

0.3.0

--------------------

.. _added-80:

Added
~~~~~

- Added ``requirements-*.txt`` files. The ``-prod`` files have pinned
versions+hashes, via ``reqhash``.
- Added ``raise_future_exceptions`` function from signingscript

.. _changed-78:

Changed
~~~~~~~

- Upload artifacts to public/env/\ ``filename``.
- Enabled coverage branches in testing.
- Enabled environment variable configuration for credentials+workerid
- Moved source repo to
`mozilla-releng/scriptworker <https://github.com/mozilla-releng/scriptworker>`__
- No longer prepend stderr log lines with ERROR
- Reduced debug logging

.. _fixed-69:

Fixed
~~~~~

- Tweaked the config defaults to be a bit more sane.
- Fixed an exception where automated processes without HOME set would
fail to launch scriptworker

.. _removed-34:

Removed
~~~~~~~

- Removed ``scheduler_id`` from config; it’s only used to schedule
integration tests.

.. _section-129:

0.2.1

--------------------

.. _fixed-70:

Fixed
~~~~~

- ``upload_artifacts`` now specifies a ``content_type`` of
``text/plain`` for the task logfiles, to fix linux uploading.

.. _section-130:

0.2.0

--------------------

.. _changed-79:

Changed
~~~~~~~

- Context now has a ``claim_task`` property that stores the output from
``claimTask``. ``Context.task`` is now the task definition itself.
- ``scriptworker.utils.request`` now takes additional kwargs to be a
more versatile function.

.. _section-131:

0.1.3

--------------------

.. _added-81:

Added
~~~~~

- bundled version.json
- CHANGELOG.md

.. _changed-80:

Changed
~~~~~~~

- Pinned ``pytest-asyncio`` to 0.3.0 because 0.4.1 hits closed event
loop errors.

Page 37 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.