<commit_before>import os
import socket
hostname = socket.gethostname().split('.', 1)[0]

description_template = """Latest upstream release: %(latest_upstream)s

Current version/release in %(repo_name)s: %(repo_version)s-%(repo_release)s

URL: %(url)s


Please consult the package updates policy before you
issue an update to a stable branch:
https://fedoraproject.org/wiki/Updates_Policy


More information about the service that created this bug can be found at:

%(explanation_url)s


Please keep in mind that with any upstream change, there may also be packaging
changes that need to be made. Specifically, please remember that it is your
responsibility to review the new version to ensure that the licensing is still
correct and that no non-free or legally problematic items have been added
upstream.

Based on the information from anitya: https://release-monitoring.org/project/%(projectid)s/
"""

config = {
    'hotness.bugzilla.enabled': True,

    'hotness.bugzilla': {
        #'user': None,
        #'password': <PASSWORD>,
        'url': 'https://partner-bugzilla.redhat.com',
        'product': 'Fedora',
        'version': 'rawhide',
        'keywords': 'FutureFeature,Triaged',
        'bug_status': 'NEW',
        'explanation_url': 'https://fedoraproject.org/wiki/Upstream_release_monitoring',
        'short_desc_template': "%(name)s-%(latest_upstream)s is available",
        'description_template': description_template,
    },

    'hotness.koji': {
        'server': 'https://koji.fedoraproject.org/kojihub',
        'weburl': 'http://koji.fedoraproject.org/koji',
        'cert': os.path.expanduser('~/.fedora.cert'),
        'ca_cert': os.path.expanduser('~/.fedora-server-ca.cert'),
        'git_url': 'http://pkgs.fedoraproject.org/cgit/{package}.git',
        'userstring': ('Upstream Monitor',
                       '<<EMAIL>>'),
        'opts': {'scratch': True},
        'priority': 30,
        'target_tag': 'rawhide',

        # These are errors that we won't scream about.
        'passable_errors': [
            # This is the packager's problem, not ours.
            'unclosed macro or bad line continuation',
        ],
    },

    'hotness.anitya': {
        'url': 'https://release-monitoring.org',
        #'username': '....',
        #'password': '....',<commit_msg>Update config for namespaced pkgs.<commit_after>import os
import socket
hostname = socket.gethostname().split('.', 1)[0]

description_template = """Latest upstream release: %(latest_upstream)s

Current version/release in %(repo_name)s: %(repo_version)s-%(repo_release)s

URL: %(url)s


Please consult the package updates policy before you
issue an update to a stable branch:
https://fedoraproject.org/wiki/Updates_Policy


More information about the service that created this bug can be found at:

%(explanation_url)s


Please keep in mind that with any upstream change, there may also be packaging
changes that need to be made. Specifically, please remember that it is your
responsibility to review the new version to ensure that the licensing is still
correct and that no non-free or legally problematic items have been added
upstream.

Based on the information from anitya: https://release-monitoring.org/project/%(projectid)s/
"""

config = {
    'hotness.bugzilla.enabled': True,

    'hotness.bugzilla': {
        #'user': None,
        #'password': <PASSWORD>,
        'url': 'https://partner-bugzilla.redhat.com',
        'product': 'Fedora',
        'version': 'rawhide',
        'keywords': 'FutureFeature,Triaged',
        'bug_status': 'NEW',
        'explanation_url': 'https://fedoraproject.org/wiki/Upstream_release_monitoring',
        'short_desc_template': "%(name)s-%(latest_upstream)s is available",
        'description_template': description_template,
    },

    'hotness.koji': {
        'server': 'https://koji.fedoraproject.org/kojihub',
        'weburl': 'http://koji.fedoraproject.org/koji',
        'cert': os.path.expanduser('~/.fedora.cert'),
        'ca_cert': os.path.expanduser('~/.fedora-server-ca.cert'),
        'git_url': 'https://pkgs.fedoraproject.org/cgit/rpms/{package}.git',
        'userstring': ('Upstream Monitor',
                       '<<EMAIL>>'),
        'opts': {'scratch': True},
        'priority': 30,
        'target_tag': 'rawhide',

        # These are errors that we won't scream about.
        'passable_errors': [
            # This is the packager's problem, not ours.
            'unclosed macro or bad line continuation',
        ],
    },

    'hotness.anitya': {
        'url': 'https://release-monitoring.org',
        #'username': '....',
        #'password': '....',
{'fraction_non_alphanumeric': 0.1421494723239285, 'fraction_numerical': 0.0017230239069567091, 'mean_word_length': 3.0844327176781, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '488848', 'n_tokens_mistral': 1450, 'n_tokens_neox': 1393, 'n_words': 372}