<commit_before># -*- coding: utf-8 -*-
#
#   Debian Changes Bot
#   Copyright (C) 2008 <NAME> <<EMAIL>>
#
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU Affero General Public License as
#   published by the Free Software Foundation, either version 3 of the
#   License, or (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU Affero General Public License for more details.
#
#   You should have received a copy of the GNU Affero General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.

import requests


# curl -qs https://bugs.debian.org/pseudopackages/pseudo-packages.description | sed -e 's@\([^\t ]*\)[\t ]*\(.*\)@    '\''\1'\'': "\2"\,@g'
pseudo_packages = {
    'base': 'Base system general bugs',
    'cdrom': 'Installation system',
    'spam': 'Spam (reassign spam to here so we can complain about it)',
    'press': 'Press release issues',
    'project': 'Problems related to project administration',
    'general': 'General problems (e.g. "many manpages are mode 755")',
    'nm.debian.org': 'New Member process and nm.debian.org webpages',
    'qa.debian.org': 'The Quality Assurance group',
    'ftp.debian.org': 'Problems with the FTP site',
    'www.debian.org': 'Problems with the WWW site',
    'bugs.debian.org': 'The bug tracking system, @bugs.debian.org',
    'lists.debian.org': 'The mailing lists, <EMAIL>',
    'wnpp': 'Work-Needing and Prospective Packages list',
    'cdimage.debian.org': 'CD Image issues',
    'tech-ctte': 'The Debian Technical Committee (see the Constitution)',
    'mirrors': 'Problems with the official mirrors',
    'security.debian.org': 'The Debian Security Team',
    'installation-reports': 'Reports of installation problems with stable & testing',
    'upgrade-reports': 'Reports of upgrade problems for stable & testing',
    'release-notes': 'Problems with the Release Notes',
    'wiki.debian.org': 'Problems with the Debian wiki',
    'security-tracker': 'The Debian Security Bug Tracker',
    'release.debian.org': 'Requests regarding Debian releases and release team tools',
    'debian-i18n': 'Requests regarding Internationalization (i18n) of the distribution',
    'buildd.emdebian.org': 'Problems related to building packages for Emdebian',
    'buildd.debian.org': 'Problems and requests related to the Debian Buildds',
    'debian-maintainers': 'Problems and requests related to Debian Maintainers',
    'snapshot.debian.org': 'Issues with the snapshot.debian.org service ',
    'sponsorship-requests': 'Requests for package review and sponsorship',
    'debian-live': 'General problems with Debian Live systems',
    'pet.debian.net': 'The Debian Package Entropy Tracker',
    'cloud.debian.org': 'Issues involving Debian images for public/private clouds',
    'piuparts.debian.org': 'Issues with the piuparts.debian.org service',
    'sso.debian.org': 'Problems and requests related to the Debian Single Sign On system',
    'tracker.debian.org': 'Issues with the Debian Package Tracker and coordination of its maintenance',
    'd-i.debian.org': 'Issues regarding the d-i.debian.org service and general Debian Installer tasks',
    'summit.debconf.org': 'Problems and requests related to the DebConf Summit instance',
}


class NewDataSource(object):
    class DataError(Exception):
        pass

    def __init__(self, session):
        self.session = session if session is not None else requests.Session()


class MailParser(object):
    pass


class Message(object):<commit_msg>Update pseudo packages<commit_after># -*- coding: utf-8 -*-
#
#   Debian Changes Bot
#   Copyright (C) 2008 <NAME> <<EMAIL>>
#
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU Affero General Public License as
#   published by the Free Software Foundation, either version 3 of the
#   License, or (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU Affero General Public License for more details.
#
#   You should have received a copy of the GNU Affero General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.

import requests


# curl -qs https://bugs.debian.org/pseudopackages/pseudo-packages.description | sed -e 's@\([^\t ]*\)[\t ]*\(.*\)@    '\''\1'\'': "\2"\,@g'
pseudo_packages = {
    'base': "Base system general bugs",
    'cdrom': "Installation system",
    'spam': "Spam (reassign spam to here so we can complain about it)",
    'press': "Press release issues",
    'project': "Problems related to project administration",
    'general': 'General problems (e.g. "many manpages are mode 755")',
    'nm.debian.org': "New Member process and nm.debian.org webpages",
    'qa.debian.org': "The Quality Assurance group",
    'ftp.debian.org': "Problems with the FTP site",
    'www.debian.org': "Problems with the WWW site",
    'bugs.debian.org': "The bug tracking system, @bugs.debian.org",
    'lists.debian.org': "The mailing lists, <EMAIL>",
    'wnpp': "Work-Needing and Prospective Packages list",
    'cdimage.debian.org': "CD Image issues",
    'tech-ctte': "The Debian Technical Committee (see the Constitution)",
    'mirrors': "Problems with the official mirrors",
    'security.debian.org': "The Debian Security Team",
    'installation-reports': "Reports of installation problems with stable & testing",
    'upgrade-reports': "Reports of upgrade problems for stable & testing",
    'release-notes': "Problems with the Release Notes",
    'wiki.debian.org': "Problems with the Debian wiki",
    'security-tracker': "The Debian Security Bug Tracker",
    'release.debian.org': "Requests regarding Debian releases and release team tools",
    'debian-i18n': "Requests regarding Internationalization (i18n) of the distribution",
    'buildd.emdebian.org': "Problems related to building packages for Emdebian",
    'buildd.debian.org': "Problems and requests related to the Debian Buildds",
    'debian-maintainers': "Problems and requests related to Debian Maintainers",
    'snapshot.debian.org': "Issues with the snapshot.debian.org service ",
    'sponsorship-requests': "Requests for package review and sponsorship",
    'debian-live': "General problems with Debian Live systems",
    'pet.debian.net': "The Debian Package Entropy Tracker",
    'cloud.debian.org': "Issues involving Debian images for public/private clouds",
    'piuparts.debian.org': "Issues with the piuparts.debian.org service",
    'sso.debian.org': "Problems and requests related to the Debian Single Sign On system",
    'tracker.debian.org': "Issues with the Debian Package Tracker and coordination of its maintenance",
    'd-i.debian.org': "Issues regarding the d-i.debian.org service and general Debian Installer tasks",
    'summit.debconf.org': "Problems and requests related to the DebConf Summit instance",
    'rtc.debian.org': "Issues in the operation of the Debian RTC services which are not package-specific bugs",
}

# curl -qs https://bugs.debian.org/pseudopackages/pseudo-packages.maintainers | sed -e 's@\([^\t ]*\)[\t ]*\(.*\)@    '\''\1'\'': "\2"\,@g'
pseudo_package_maintainers = {
    'base': "Base Maintainers <<EMAIL>>",
    'cdrom': "Debian CD-ROM Team <<EMAIL>>",
    'press': "<EMAIL>",
    'bugs.debian.org': "Debian Bug Tracking Team <<EMAIL>>",
    'ftp.debian.org': "Debian FTP Master <<EMAIL>>",
    'nm.debian.org': "New Member Front-Desk <<EMAIL>>",
    'qa.debian.org': "<EMAIL>",
    'www.debian.org': "Debian WWW Team <<EMAIL>>",
    'mirrors': "Debian Mirrors Team <<EMAIL>>",
    'project': "<EMAIL>",
    'general': "<EMAIL>",
    'lists.debian.org': "Debian Listmaster Team <<EMAIL>>",
    'spam': "<EMAIL>",
    'wnpp': "<EMAIL>",
    'cdimage.debian.org': "Debian CD-ROM Team <<EMAIL>>",
    'tech-ctte': "Technical Committee <<EMAIL>>  ",
    'security.debian.org': "Debian Security Team <<EMAIL>>",
    'installation-reports': "Debian Install Team <<EMAIL>>",
    'upgrade-reports': "Debian Testing Group <<EMAIL>>",
    'release-notes': "Debian Documentation Team <<EMAIL>>",
    'wiki.debian.org': "Debian WWW Team <<EMAIL>>",
    'security-tracker': "Debian Security Tracker Team <<EMAIL>>",
    'release.debian.org': "Debian Release Team <<EMAIL>>",
    'debian-i18n': "Debian I18N Team <<EMAIL>>",
    'buildd.emdebian.org': "Debian Embedded Team <<EMAIL>>",
    'buildd.debian.org': "Debian Buildd Team <<EMAIL>>",
    'debian-maintainers': "Debian Maintainer Keyring Team <<EMAIL>>",
    'snapshot.debian.org': "snapshot.debian.org Team <<EMAIL>>",
    'sponsorship-requests': "Debian Mentors <<EMAIL>>",
    'debian-live': "Debian Live Project <<EMAIL>>",
    'pet.debian.net': "PET developers <<EMAIL>>",
    'cloud.debian.org': "Debian Cloud Team <<EMAIL>>",
    'piuparts.debian.org': "Piuparts Developers <<EMAIL>>",
    'sso.debian.org': "Debian SSO Team <<EMAIL>>",
    'tracker.debian.org': "Debian QA Team <<EMAIL>>",
    'd-i.debian.org': "Debian Installer <<EMAIL>>",
    'summit.debconf.org': "Debconf Infrastructure Team <<EMAIL>>",
    'rtc.debian.org': "Debian RTC Team <<EMAIL>>",
}

class NewDataSource(object):
    class DataError(Exception):
        pass

    def __init__(self, session):
        self.session = session if session is not None else requests.Session()


class MailParser(object):
    pass


class Message(object):
{'fraction_non_alphanumeric': 0.14052220394736842, 'fraction_numerical': 0.003700657894736842, 'mean_word_length': 3.9561895058583803, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 3, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7465496', 'n_tokens_mistral': 3127, 'n_tokens_neox': 2899, 'n_words': 1016}