ursa-major


Nameursa-major JSON
Version 0.5.1 PyPI version JSON
download
home_pagehttps://pagure.io/ursa-major/
SummaryA utility for managing module tags in Koji's tag inheritance
upload_time2024-07-09 10:10:36
maintainerNone
docs_urlNone
authorThe Factory 2.0 Team
requires_pythonNone
licenseMIT
keywords ursa-major modularity koji fedora
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Ursa-Major
==========

.. image:: https://img.shields.io/pypi/v/ursa-major.svg
   :alt: PyPI

.. image:: https://img.shields.io/pypi/l/ursa-major.svg
   :alt: PyPI - License

.. image:: https://img.shields.io/pypi/pyversions/ursa-major.svg
   :alt: PyPI - Python Version

Ursa-Major is a utility to help managing module's koji tags in koji's
inheritance. It reads configuration for tags from a tag config file, then
update koji's inheritance accordingly.

Tag Config File
---------------

The tag config file used by Ursa-Major is in json format, the top level keys
are koji tags which we should add module tags into their inheritance. For each
tag, it contains a list of modules, owners can also be set for a tag.

An example tag config file is:

.. code-block:: json

    {
        "fedora-30-buildroot-modules": {
            "modules": [
                {
                    "name": "httpd",
                    "priority": 10,
                    "buildrequires": {
                        "platform": "f30"
                    },
                    "requires": {
                        "platform": "f30"
                    },
                    "stream": "2.4"
                },
                {
                    "name": "ruby",
                    "priority": 40,
                    "requires": {
                        "platform": "f30"
                    },
                    "stream": "2.5"
                }
            ],
            "owners": [
                "foo@example.com"
            ]
        },
        "fedora-30-test-build": {
            "modules": [
                {
                    "name": "testmodule",
                    "priority": 150,
                    "stream": "f30"
                }
            ],
            "owners": [
                "bar@example.com"
            ]
        }
    }


A valid module config should contains:

* ``name`` (required): module name
* ``stream`` (required): module stream
* ``priority`` (required): add module's tag to tag inheritance with this priority
* ``requires`` (optional): module's runtime dependencies.
* ``buildrequires`` (optional): module's build time dependencies.

For each tag, ``owners`` can be set with email addresses.

The default tag config file used by Ursa-Major is ``ursa-major.json`` in current
working directory. You can change it with ``--tag-config-file``.


Koji and MBS
------------

Tags in tag config file are koji tags, Ursa-Major connects to koji hub and
update tag inheritance per config, and connects to MBS to query module's
information, especially the modulemd data.

Koji and MBS servers are set in Ursa-Major's config files, the global config
file is ``/etc/ursa-major/ursa-major`` by default, and can be changed by
``--config`` argument. The user config file is
``~/.config/ursa-major/ursa-major.conf``, and can be changed by
``--user-config``. User config file is optional, and values in global config
file will be overrided by user config file.

An example config file:

.. code-block:: bash

    $ cat /etc/ursa-major/ursa-major.conf

    [main]
    # See https://docs.python.org/3/library/logging.html#logging-levels
    log_level = info

    [koji]
    profile = koji

    [mbs]
    server_url = https://mbs.fedoraproject.org/

    [mail]
    mail_processing = true
    mail_log_level = info
    mail_server = smtp.example.com
    mail_from = ursa-major@example.com
    mail_replyto = ursa-major@example.com
    # email addresses seperated by ','
    mail_always_cc = ursa-major-admin@example.com
    mail_always_bcc =
    mail_subject_prefix = [ursa-major]


Sub Commands
============

Global arguments of ``ursa-major``:

* ``--debug`` (optional): print debug messages

* ``--dry-run`` (optional): run in dry-run mode, not do any real change

* ``--config`` (optional): default if ``/etc/ursa-major/ursa-major.conf``

* ``--user-config`` (optional): default is ``~/.config/ursa-major/ursa-major.conf``

* ``--tag-config-file`` (optional): default is ``$PWD/ursa-major.json``


show-config
-----------

This just show the content of tag config file, or the content of a specified
tag.

Arguments:

* ``--tag`` (optional): only show config content under this tag

Example:

.. code-block:: bash

    $ ursa-major show-config --tag-config-file ~/fedora-prod-ursa-major.json --tag fedora-30-test-build

check-config
------------

Check the tag config file to detect any invalid configuration:

.. code-block:: bash

    $ ursa-major check-config --tag-config-file ~/fedora-prod-ursa-major.json

Checks include:

* ``name``, ``stream`` and ``priority`` are required for a module
* ``priority`` value should not conflict with other parent tags which not belong
  to this module in tag's inheritance
* ...

remove-module
-------------

Remove a module from the tag config file.

Arguments:

* ``--tag`` (required): remove module from this tag

* ``--name`` (required): module name

* ``--stream`` (required): module stream

* ``--require`` (optional): module's runtime requires, can be specified multiple times

* ``--buildrequire`` (optional): module's buildrequires, can be specified multiple times


Example:

.. code-block:: bash

    $ ursa-major remove-module --tag fedora-30-test-build --name testmodule --stream f30

This will remove the module of ``testmodule:f30`` from tag config file if it's
s present under tag ``fedora-30-test-build``.

add-module
----------

Add a module to tag config file under the specified tag.

Arguments:

* ``--tag`` (required): add module to this tag

* ``--name`` (required): module name

* ``--stream`` (required): module stream

* ``--priority`` (required): priority value when add tag to inheritance

* ``--require`` (optional): module's runtime requires, can be specified multiple times

* ``--buildrequire`` (optional): module's buildrequires, can be specified multiple times

Example:

.. code-block:: bash

    $ ursa-major add-module --tag fedora-30-test-build --name testmodule --stream f30 --priority 100

If the specified module with that ``name`` and ``stream`` already exists in tag
config file, Ursa-Major will check whether ``requires`` or ``priority`` is
different from the value specified in command line, if true, the tag config
file will be updated to use the values specified.

update-tag
----------

Update a tag's inheritance data with all latest module build tags of the
modules in tag's config.

Arguments:

* ``--tag`` (required): the tag to update
* ``--wait-regen-repo`` (optional): wait for regen-repo task to finish

Example:

.. code-block:: bash

    $ ursa-major update-tag --tag fedora-30-test-build --wait-regen-repo

This will check the latest builds in MBS for all modules in config of tag
'fedora-30-test-build', if there is any build's tag is missing from tag's
inheritance data, the tag will be added into inheritance, and old tags
will be removed at the same time for the module.

add-tag
-------

Reads module state change message from an environment variable and then add
the module's koji tag tag inheritance according to tag config file if the
module build state is 'ready', and remove old tags of the module at the same
time. The module's state change message is generated by MBS.

Arguments:

* ``--module-from-env`` (optional): the environment variable Ursa-Major read the
  module state change message from, by default it's ``CI_MESSAGE``

* ``--wait-regen-repo`` (optinal): wait for regen-repo tasks to finish, default is ``False``

* ``--send-mail`` (optional): send mail to tag owners, default is ``False``

Example:

.. code-block:: bash

    $ cat $CI_MESSAGE
    {
      "state_reason": null,
      "component_builds": [
        108146,
        108145
      ],
      "name": "testmodule",
      "stream": "master",
      "time_submitted": "2018-10-26T16:59:06Z",
      "version": "20181026165847",
      "time_modified": "2018-10-26T16:59:27Z",
      "state_name": "ready",
      "scmurl": "https://src.fedoraproject.org/modules/testmodule.git?#3f262deef9d79160ea229142aeb51eedcc956929",
      "state": 5,
      "time_completed": "2018-10-26T16:59:15Z",
      "koji_tag": "module-testmodule-master-20181026165847-a5b0195c",
      "context": "a5b0195c",
      "owner": "foobar",
      "siblings": [],
      "id": 2321,
      "rebuild_strategy": "only-changed"
    }

    $ cat $PWD/ursa-major.json
    {
        "fedora-30-test-build": {
            "modules": [
                {
                    "name": "testmodule",
                    "priority": 150,
                    "stream": "master"
                }
            ],
            "owners": [
                "foobar@example.com"
            ]
        }
    }

    $ ursa-major add-tag --wait-regen-repo --send-mail

In this example, Ursa-Major reads the module state change message from
enviroment variable ``CI_MESSAGE``, the module build state name is "ready" and
module is present under a tag "fedora-30-test-build" in tag config file.
Ursa-Major will add the koji tag "module-testmodule-master-20181026165847-a5b0195c"
into "fedora-30-test-build"'s inheritance, and then regen-repo for build tags
in "fedora-30-test-build"'s inheritance.

When a tag is added to tag inheritance, Ursa-Major also submit ``regen-repo``
tasks for the build tags in inheritance data. If the specified tag is a build
tag, it's the only one build tag Ursa-Major will regen-repo for. Or Ursa-Major
will check the tag's inheritance data, if it reaches the first build tag in
each inheritant path, it returns that build tag. And it stops at any tag that
name starts with 'module-'.

For example, if we have tag inheritance data as below (tags with
'*' marks are build tags):

Example #1:

::

        my-example-tag
          └─product-foo-temp-override
             └─product-foo-override
                └─product-foo-build (*)
                   ├─tmp-product-foo-build (*)
                   └─alt-product-foo-build (*)

In this case, there is one build tag found for 'my-example-tag', it is:
``product-foo-build``. Ursa-Major stops at 'product-foo-build', so
'tmp-product-foo-build' and 'alt-product-foo-build' are not checked at all.

Example #2:

::

    my-example-tag
      ├─module-345678-build
      ├─module-234567-build
      ├─module-123456-build
      │  └─product-foo-module-hotfix
      │     └─product-foo-module-hotfix-build (*)
      ├─tmp-product-foo-python-candidate
      │  └─tmp-product-foo-python-override
      │     └─tmp-product-foo-python-build (*)
      ├─product-foo-container-build (*)
      └─product-foo-temp-override
         └─product-foo-override
            └─product-foo-build (*)
               ├─tmp-product-foo-build (*)
               └─alt-product-foo-build (*)

In this case, there are 3 build tags found for ``my-example-tag``, they are:
``tmp-product-foo-python-build``, ``product-foo-container-build`` and
``product-foo-build``. ``product-foo-module-hotfix-build`` is a build tag, but
Ursa-Major doesn't count it in, because it stops at tag 'module-123456-build'
which name starts with 'module-'.

Ursa-Major will send mail to tag owners if run with "--send-mail", mail
configuration can be configured in global config file or user config file,
under the section of "mail".


Change Logs
===========
0.5.1 (2024-07-09)
------------------
* fetch all pages and add buildrequires filter (Yuming Zhu)

0.5.0 (2024-03-25)
------------------
* "tags_from" restriction per tag to limit the tags of a module build (Yuming Zhu)

0.4.3 (2023-06-27)
------------------
* Use gssapi_login instead of krb_login for koji kerberos auth (Yuming Zhu)

0.4.2 (2021-03-10)
------------------
* Use old tuple syntax for mock.call.call_args of old mock release (Yuming Zhu)
* Fix unittests for missing koji profile (Yuming Zhu)
* Using libmodulemd v2 API (Yuming Zhu)

0.4.1 (2020-02-11)
------------------
* Remove updating koji inheritance ability from add-module and remove-module (Qixiang Wan)

0.3.3 (2019-08-23)
------------------
* Add new sub command update-tag (Qixiang Wan)

0.3.2 (2019-06-26)
------------------
* Include garbaged module builds while checking existing module build tags (Qixiang Wan)
* Refactor get_modules (Qixiang Wan)

0.3.1 (2019-05-21)
------------------

* Not check requires/buildrequires for existing koji tags (Qixiang Wan)
* Updating existing inheritance instead of removing and adding (Qixiang Wan)

0.2.2 (2019-03-26)
------------------

* For adding tag, allow filtering on buildrequires to find out koji_tags from
  tag inheritance (Chenxiong Qi)

0.2.1 (2019-03-20)
------------------

* Make setup_method/teardown_method compatible with newer version of pytest (Chenxiong Qi)
* Add missing file CHANGELOG.rst to sdist package (Chenxiong Qi)

0.2.0 (2019-03-20)
------------------

* Add tests for AddModuleHandler methods (Chenxiong Qi)
* Avoid long modulemd embedded into fake data for tests (Chenxiong Qi)
* Fixes according to review comments (Chenxiong Qi)
* Command check-config supports filtering modules on buildrequires (Chenxiong Qi)
* Command add-module supports buildrequires now (Chenxiong Qi)
* Command remove-module supports filtering modules on buildrequires (Chenxiong Qi)
* Allow passing buildrequires to MBS.get_modules_with_requires (Chenxiong Qi)
* Reword remove-module help and --tag option help text (Chenxiong Qi)
* Allow filtering on buildrequires (Chenxiong Qi)
            

Raw data

            {
    "_id": null,
    "home_page": "https://pagure.io/ursa-major/",
    "name": "ursa-major",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "ursa-major modularity koji fedora",
    "author": "The Factory 2.0 Team",
    "author_email": "ursa-major-owner@fedoraproject.org",
    "download_url": "https://files.pythonhosted.org/packages/1a/38/6aa006056260d266d32b2e0b708e2d33f2b44753c0a81425c3c0ae06a8c0/ursa-major-0.5.1.tar.gz",
    "platform": null,
    "description": "Ursa-Major\n==========\n\n.. image:: https://img.shields.io/pypi/v/ursa-major.svg\n   :alt: PyPI\n\n.. image:: https://img.shields.io/pypi/l/ursa-major.svg\n   :alt: PyPI - License\n\n.. image:: https://img.shields.io/pypi/pyversions/ursa-major.svg\n   :alt: PyPI - Python Version\n\nUrsa-Major is a utility to help managing module's koji tags in koji's\ninheritance. It reads configuration for tags from a tag config file, then\nupdate koji's inheritance accordingly.\n\nTag Config File\n---------------\n\nThe tag config file used by Ursa-Major is in json format, the top level keys\nare koji tags which we should add module tags into their inheritance. For each\ntag, it contains a list of modules, owners can also be set for a tag.\n\nAn example tag config file is:\n\n.. code-block:: json\n\n    {\n        \"fedora-30-buildroot-modules\": {\n            \"modules\": [\n                {\n                    \"name\": \"httpd\",\n                    \"priority\": 10,\n                    \"buildrequires\": {\n                        \"platform\": \"f30\"\n                    },\n                    \"requires\": {\n                        \"platform\": \"f30\"\n                    },\n                    \"stream\": \"2.4\"\n                },\n                {\n                    \"name\": \"ruby\",\n                    \"priority\": 40,\n                    \"requires\": {\n                        \"platform\": \"f30\"\n                    },\n                    \"stream\": \"2.5\"\n                }\n            ],\n            \"owners\": [\n                \"foo@example.com\"\n            ]\n        },\n        \"fedora-30-test-build\": {\n            \"modules\": [\n                {\n                    \"name\": \"testmodule\",\n                    \"priority\": 150,\n                    \"stream\": \"f30\"\n                }\n            ],\n            \"owners\": [\n                \"bar@example.com\"\n            ]\n        }\n    }\n\n\nA valid module config should contains:\n\n* ``name`` (required): module name\n* ``stream`` (required): module stream\n* ``priority`` (required): add module's tag to tag inheritance with this priority\n* ``requires`` (optional): module's runtime dependencies.\n* ``buildrequires`` (optional): module's build time dependencies.\n\nFor each tag, ``owners`` can be set with email addresses.\n\nThe default tag config file used by Ursa-Major is ``ursa-major.json`` in current\nworking directory. You can change it with ``--tag-config-file``.\n\n\nKoji and MBS\n------------\n\nTags in tag config file are koji tags, Ursa-Major connects to koji hub and\nupdate tag inheritance per config, and connects to MBS to query module's\ninformation, especially the modulemd data.\n\nKoji and MBS servers are set in Ursa-Major's config files, the global config\nfile is ``/etc/ursa-major/ursa-major`` by default, and can be changed by\n``--config`` argument. The user config file is\n``~/.config/ursa-major/ursa-major.conf``, and can be changed by\n``--user-config``. User config file is optional, and values in global config\nfile will be overrided by user config file.\n\nAn example config file:\n\n.. code-block:: bash\n\n    $ cat /etc/ursa-major/ursa-major.conf\n\n    [main]\n    # See https://docs.python.org/3/library/logging.html#logging-levels\n    log_level = info\n\n    [koji]\n    profile = koji\n\n    [mbs]\n    server_url = https://mbs.fedoraproject.org/\n\n    [mail]\n    mail_processing = true\n    mail_log_level = info\n    mail_server = smtp.example.com\n    mail_from = ursa-major@example.com\n    mail_replyto = ursa-major@example.com\n    # email addresses seperated by ','\n    mail_always_cc = ursa-major-admin@example.com\n    mail_always_bcc =\n    mail_subject_prefix = [ursa-major]\n\n\nSub Commands\n============\n\nGlobal arguments of ``ursa-major``:\n\n* ``--debug`` (optional): print debug messages\n\n* ``--dry-run`` (optional): run in dry-run mode, not do any real change\n\n* ``--config`` (optional): default if ``/etc/ursa-major/ursa-major.conf``\n\n* ``--user-config`` (optional): default is ``~/.config/ursa-major/ursa-major.conf``\n\n* ``--tag-config-file`` (optional): default is ``$PWD/ursa-major.json``\n\n\nshow-config\n-----------\n\nThis just show the content of tag config file, or the content of a specified\ntag.\n\nArguments:\n\n* ``--tag`` (optional): only show config content under this tag\n\nExample:\n\n.. code-block:: bash\n\n    $ ursa-major show-config --tag-config-file ~/fedora-prod-ursa-major.json --tag fedora-30-test-build\n\ncheck-config\n------------\n\nCheck the tag config file to detect any invalid configuration:\n\n.. code-block:: bash\n\n    $ ursa-major check-config --tag-config-file ~/fedora-prod-ursa-major.json\n\nChecks include:\n\n* ``name``, ``stream`` and ``priority`` are required for a module\n* ``priority`` value should not conflict with other parent tags which not belong\n  to this module in tag's inheritance\n* ...\n\nremove-module\n-------------\n\nRemove a module from the tag config file.\n\nArguments:\n\n* ``--tag`` (required): remove module from this tag\n\n* ``--name`` (required): module name\n\n* ``--stream`` (required): module stream\n\n* ``--require`` (optional): module's runtime requires, can be specified multiple times\n\n* ``--buildrequire`` (optional): module's buildrequires, can be specified multiple times\n\n\nExample:\n\n.. code-block:: bash\n\n    $ ursa-major remove-module --tag fedora-30-test-build --name testmodule --stream f30\n\nThis will remove the module of ``testmodule:f30`` from tag config file if it's\ns present under tag ``fedora-30-test-build``.\n\nadd-module\n----------\n\nAdd a module to tag config file under the specified tag.\n\nArguments:\n\n* ``--tag`` (required): add module to this tag\n\n* ``--name`` (required): module name\n\n* ``--stream`` (required): module stream\n\n* ``--priority`` (required): priority value when add tag to inheritance\n\n* ``--require`` (optional): module's runtime requires, can be specified multiple times\n\n* ``--buildrequire`` (optional): module's buildrequires, can be specified multiple times\n\nExample:\n\n.. code-block:: bash\n\n    $ ursa-major add-module --tag fedora-30-test-build --name testmodule --stream f30 --priority 100\n\nIf the specified module with that ``name`` and ``stream`` already exists in tag\nconfig file, Ursa-Major will check whether ``requires`` or ``priority`` is\ndifferent from the value specified in command line, if true, the tag config\nfile will be updated to use the values specified.\n\nupdate-tag\n----------\n\nUpdate a tag's inheritance data with all latest module build tags of the\nmodules in tag's config.\n\nArguments:\n\n* ``--tag`` (required): the tag to update\n* ``--wait-regen-repo`` (optional): wait for regen-repo task to finish\n\nExample:\n\n.. code-block:: bash\n\n    $ ursa-major update-tag --tag fedora-30-test-build --wait-regen-repo\n\nThis will check the latest builds in MBS for all modules in config of tag\n'fedora-30-test-build', if there is any build's tag is missing from tag's\ninheritance data, the tag will be added into inheritance, and old tags\nwill be removed at the same time for the module.\n\nadd-tag\n-------\n\nReads module state change message from an environment variable and then add\nthe module's koji tag tag inheritance according to tag config file if the\nmodule build state is 'ready', and remove old tags of the module at the same\ntime. The module's state change message is generated by MBS.\n\nArguments:\n\n* ``--module-from-env`` (optional): the environment variable Ursa-Major read the\n  module state change message from, by default it's ``CI_MESSAGE``\n\n* ``--wait-regen-repo`` (optinal): wait for regen-repo tasks to finish, default is ``False``\n\n* ``--send-mail`` (optional): send mail to tag owners, default is ``False``\n\nExample:\n\n.. code-block:: bash\n\n    $ cat $CI_MESSAGE\n    {\n      \"state_reason\": null,\n      \"component_builds\": [\n        108146,\n        108145\n      ],\n      \"name\": \"testmodule\",\n      \"stream\": \"master\",\n      \"time_submitted\": \"2018-10-26T16:59:06Z\",\n      \"version\": \"20181026165847\",\n      \"time_modified\": \"2018-10-26T16:59:27Z\",\n      \"state_name\": \"ready\",\n      \"scmurl\": \"https://src.fedoraproject.org/modules/testmodule.git?#3f262deef9d79160ea229142aeb51eedcc956929\",\n      \"state\": 5,\n      \"time_completed\": \"2018-10-26T16:59:15Z\",\n      \"koji_tag\": \"module-testmodule-master-20181026165847-a5b0195c\",\n      \"context\": \"a5b0195c\",\n      \"owner\": \"foobar\",\n      \"siblings\": [],\n      \"id\": 2321,\n      \"rebuild_strategy\": \"only-changed\"\n    }\n\n    $ cat $PWD/ursa-major.json\n    {\n        \"fedora-30-test-build\": {\n            \"modules\": [\n                {\n                    \"name\": \"testmodule\",\n                    \"priority\": 150,\n                    \"stream\": \"master\"\n                }\n            ],\n            \"owners\": [\n                \"foobar@example.com\"\n            ]\n        }\n    }\n\n    $ ursa-major add-tag --wait-regen-repo --send-mail\n\nIn this example, Ursa-Major reads the module state change message from\nenviroment variable ``CI_MESSAGE``, the module build state name is \"ready\" and\nmodule is present under a tag \"fedora-30-test-build\" in tag config file.\nUrsa-Major will add the koji tag \"module-testmodule-master-20181026165847-a5b0195c\"\ninto \"fedora-30-test-build\"'s inheritance, and then regen-repo for build tags\nin \"fedora-30-test-build\"'s inheritance.\n\nWhen a tag is added to tag inheritance, Ursa-Major also submit ``regen-repo``\ntasks for the build tags in inheritance data. If the specified tag is a build\ntag, it's the only one build tag Ursa-Major will regen-repo for. Or Ursa-Major\nwill check the tag's inheritance data, if it reaches the first build tag in\neach inheritant path, it returns that build tag. And it stops at any tag that\nname starts with 'module-'.\n\nFor example, if we have tag inheritance data as below (tags with\n'*' marks are build tags):\n\nExample #1:\n\n::\n\n        my-example-tag\n          \u2514\u2500product-foo-temp-override\n             \u2514\u2500product-foo-override\n                \u2514\u2500product-foo-build (*)\n                   \u251c\u2500tmp-product-foo-build (*)\n                   \u2514\u2500alt-product-foo-build (*)\n\nIn this case, there is one build tag found for 'my-example-tag', it is:\n``product-foo-build``. Ursa-Major stops at 'product-foo-build', so\n'tmp-product-foo-build' and 'alt-product-foo-build' are not checked at all.\n\nExample #2:\n\n::\n\n    my-example-tag\n      \u251c\u2500module-345678-build\n      \u251c\u2500module-234567-build\n      \u251c\u2500module-123456-build\n      \u2502  \u2514\u2500product-foo-module-hotfix\n      \u2502     \u2514\u2500product-foo-module-hotfix-build (*)\n      \u251c\u2500tmp-product-foo-python-candidate\n      \u2502  \u2514\u2500tmp-product-foo-python-override\n      \u2502     \u2514\u2500tmp-product-foo-python-build (*)\n      \u251c\u2500product-foo-container-build (*)\n      \u2514\u2500product-foo-temp-override\n         \u2514\u2500product-foo-override\n            \u2514\u2500product-foo-build (*)\n               \u251c\u2500tmp-product-foo-build (*)\n               \u2514\u2500alt-product-foo-build (*)\n\nIn this case, there are 3 build tags found for ``my-example-tag``, they are:\n``tmp-product-foo-python-build``, ``product-foo-container-build`` and\n``product-foo-build``. ``product-foo-module-hotfix-build`` is a build tag, but\nUrsa-Major doesn't count it in, because it stops at tag 'module-123456-build'\nwhich name starts with 'module-'.\n\nUrsa-Major will send mail to tag owners if run with \"--send-mail\", mail\nconfiguration can be configured in global config file or user config file,\nunder the section of \"mail\".\n\n\nChange Logs\n===========\n0.5.1 (2024-07-09)\n------------------\n* fetch all pages and add buildrequires filter (Yuming Zhu)\n\n0.5.0 (2024-03-25)\n------------------\n* \"tags_from\" restriction per tag to limit the tags of a module build (Yuming Zhu)\n\n0.4.3 (2023-06-27)\n------------------\n* Use gssapi_login instead of krb_login for koji kerberos auth (Yuming Zhu)\n\n0.4.2 (2021-03-10)\n------------------\n* Use old tuple syntax for mock.call.call_args of old mock release (Yuming Zhu)\n* Fix unittests for missing koji profile (Yuming Zhu)\n* Using libmodulemd v2 API (Yuming Zhu)\n\n0.4.1 (2020-02-11)\n------------------\n* Remove updating koji inheritance ability from add-module and remove-module (Qixiang Wan)\n\n0.3.3 (2019-08-23)\n------------------\n* Add new sub command update-tag (Qixiang Wan)\n\n0.3.2 (2019-06-26)\n------------------\n* Include garbaged module builds while checking existing module build tags (Qixiang Wan)\n* Refactor get_modules (Qixiang Wan)\n\n0.3.1 (2019-05-21)\n------------------\n\n* Not check requires/buildrequires for existing koji tags (Qixiang Wan)\n* Updating existing inheritance instead of removing and adding (Qixiang Wan)\n\n0.2.2 (2019-03-26)\n------------------\n\n* For adding tag, allow filtering on buildrequires to find out koji_tags from\n  tag inheritance (Chenxiong Qi)\n\n0.2.1 (2019-03-20)\n------------------\n\n* Make setup_method/teardown_method compatible with newer version of pytest (Chenxiong Qi)\n* Add missing file CHANGELOG.rst to sdist package (Chenxiong Qi)\n\n0.2.0 (2019-03-20)\n------------------\n\n* Add tests for AddModuleHandler methods (Chenxiong Qi)\n* Avoid long modulemd embedded into fake data for tests (Chenxiong Qi)\n* Fixes according to review comments (Chenxiong Qi)\n* Command check-config supports filtering modules on buildrequires (Chenxiong Qi)\n* Command add-module supports buildrequires now (Chenxiong Qi)\n* Command remove-module supports filtering modules on buildrequires (Chenxiong Qi)\n* Allow passing buildrequires to MBS.get_modules_with_requires (Chenxiong Qi)\n* Reword remove-module help and --tag option help text (Chenxiong Qi)\n* Allow filtering on buildrequires (Chenxiong Qi)",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A utility for managing module tags in Koji's tag inheritance",
    "version": "0.5.1",
    "project_urls": {
        "Homepage": "https://pagure.io/ursa-major/"
    },
    "split_keywords": [
        "ursa-major",
        "modularity",
        "koji",
        "fedora"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a386aa006056260d266d32b2e0b708e2d33f2b44753c0a81425c3c0ae06a8c0",
                "md5": "06e4cbe907099c2255bacef3042371c7",
                "sha256": "aff990e724f8e573b2d0c47be88deca6c95a5cbf2bd46dec491044ed15226e70"
            },
            "downloads": -1,
            "filename": "ursa-major-0.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "06e4cbe907099c2255bacef3042371c7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 58549,
            "upload_time": "2024-07-09T10:10:36",
            "upload_time_iso_8601": "2024-07-09T10:10:36.849564Z",
            "url": "https://files.pythonhosted.org/packages/1a/38/6aa006056260d266d32b2e0b708e2d33f2b44753c0a81425c3c0ae06a8c0/ursa-major-0.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-09 10:10:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ursa-major"
}
        
Elapsed time: 9.26682s