buildbot / buildbot

Compare 7c86c27 ... +3 ... 63ead07

Coverage Reach
master/buildbot/steps/source/git.py master/buildbot/steps/source/svn.py master/buildbot/steps/source/repo.py master/buildbot/steps/source/cvs.py master/buildbot/steps/source/mercurial.py master/buildbot/steps/source/mtn.py master/buildbot/steps/source/p4.py master/buildbot/steps/source/bzr.py master/buildbot/steps/source/darcs.py master/buildbot/steps/source/base.py master/buildbot/steps/source/gerrit.py master/buildbot/steps/source/gitlab.py master/buildbot/steps/source/github.py master/buildbot/steps/source/__init__.py master/buildbot/steps/package/deb/pbuilder.py master/buildbot/steps/package/deb/lintian.py master/buildbot/steps/package/rpm/mock.py master/buildbot/steps/package/rpm/rpmbuild.py master/buildbot/steps/package/rpm/rpmlint.py master/buildbot/steps/package/rpm/__init__.py master/buildbot/steps/package/util.py master/buildbot/steps/package/__init__.py master/buildbot/steps/vstudio.py master/buildbot/steps/shell.py master/buildbot/steps/transfer.py master/buildbot/steps/python.py master/buildbot/steps/python_twisted.py master/buildbot/steps/trigger.py master/buildbot/steps/worker.py master/buildbot/steps/master.py master/buildbot/steps/http.py master/buildbot/steps/subunit.py master/buildbot/steps/shellsequence.py master/buildbot/steps/cppcheck.py master/buildbot/steps/mswin.py master/buildbot/steps/gitdiffinfo.py master/buildbot/steps/download_secret_to_worker.py master/buildbot/steps/maxq.py master/buildbot/steps/cmake.py master/buildbot/reporters/words.py master/buildbot/reporters/telegram.py master/buildbot/reporters/irc.py master/buildbot/reporters/generators/utils.py master/buildbot/reporters/generators/buildset.py master/buildbot/reporters/generators/build.py master/buildbot/reporters/generators/buildrequest.py master/buildbot/reporters/generators/worker.py master/buildbot/reporters/gerrit.py master/buildbot/reporters/bitbucketserver.py master/buildbot/reporters/mail.py master/buildbot/reporters/message.py master/buildbot/reporters/utils.py master/buildbot/reporters/github.py master/buildbot/reporters/gitlab.py master/buildbot/reporters/gerrit_verify_status.py master/buildbot/reporters/bitbucket.py master/buildbot/reporters/base.py master/buildbot/reporters/pushover.py master/buildbot/reporters/pushjet.py master/buildbot/reporters/zulip.py master/buildbot/reporters/http.py master/buildbot/process/buildstep.py master/buildbot/process/properties.py master/buildbot/process/build.py master/buildbot/process/remotecommand.py master/buildbot/process/metrics.py master/buildbot/process/buildrequestdistributor.py master/buildbot/process/builder.py master/buildbot/process/buildrequest.py master/buildbot/process/botmaster.py master/buildbot/process/users/manual.py master/buildbot/process/users/users.py master/buildbot/process/users/manager.py master/buildbot/process/log.py master/buildbot/process/factory.py master/buildbot/process/workerforbuilder.py master/buildbot/process/logobserver.py master/buildbot/process/remotetransfer.py master/buildbot/process/results.py master/buildbot/process/debug.py master/buildbot/process/cache.py master/buildbot/process/measured_service.py master/buildbot/process/subunitlogobserver.py master/buildbot/process/base.py master/buildbot/util/__init__.py master/buildbot/util/service.py master/buildbot/util/runprocess.py master/buildbot/util/croniter.py master/buildbot/util/git.py master/buildbot/util/kubeclientservice.py master/buildbot/util/ssfilter.py master/buildbot/util/lru.py master/buildbot/util/httpclientservice.py master/buildbot/util/test_result_submitter.py master/buildbot/util/poll.py master/buildbot/util/queue.py master/buildbot/util/maildir.py master/buildbot/util/deferwaiter.py master/buildbot/util/raml.py master/buildbot/util/debounce.py master/buildbot/util/path_expand_user.py master/buildbot/util/lineboundaries.py master/buildbot/util/subscription.py master/buildbot/util/eventual.py master/buildbot/util/pathmatch.py master/buildbot/util/config.py master/buildbot/util/backoff.py master/buildbot/util/sautils.py master/buildbot/util/identifiers.py master/buildbot/util/protocol.py master/buildbot/util/netstrings.py master/buildbot/util/bbcollections.py master/buildbot/util/misc.py master/buildbot/util/private_tempdir.py master/buildbot/util/latent.py master/buildbot/util/pullrequest.py master/buildbot/util/giturlparse.py master/buildbot/util/codebase.py master/buildbot/util/ssl.py master/buildbot/util/_notifier.py master/buildbot/util/state.py master/buildbot/util/async_sort.py master/buildbot/util/tuplematch.py master/buildbot/worker/protocols/manager/msgpack.py master/buildbot/worker/protocols/manager/base.py master/buildbot/worker/protocols/manager/pb.py master/buildbot/worker/protocols/msgpack.py master/buildbot/worker/protocols/pb.py master/buildbot/worker/protocols/base.py master/buildbot/worker/protocols/null.py master/buildbot/worker/base.py master/buildbot/worker/ec2.py master/buildbot/worker/latent.py master/buildbot/worker/docker.py master/buildbot/worker/openstack.py master/buildbot/worker/libvirt.py master/buildbot/worker/upcloud.py master/buildbot/worker/manager.py master/buildbot/worker/kubernetes.py master/buildbot/worker/marathon.py master/buildbot/worker/local.py master/buildbot/worker/__init__.py master/buildbot/db/logs.py master/buildbot/db/changes.py master/buildbot/db/model.py master/buildbot/db/test_results.py master/buildbot/db/pool.py master/buildbot/db/builds.py master/buildbot/db/workers.py master/buildbot/db/buildrequests.py master/buildbot/db/users.py master/buildbot/db/buildsets.py master/buildbot/db/enginestrategy.py master/buildbot/db/schedulers.py master/buildbot/db/steps.py master/buildbot/db/state.py master/buildbot/db/sourcestamps.py master/buildbot/db/build_data.py master/buildbot/db/base.py master/buildbot/db/connector.py master/buildbot/db/builders.py master/buildbot/db/test_result_sets.py master/buildbot/db/masters.py master/buildbot/db/dbconfig.py master/buildbot/db/changesources.py master/buildbot/db/migrate_utils.py master/buildbot/db/types/json.py master/buildbot/db/migrations/versions/059_2021-09-07_alembic_initial.py master/buildbot/db/tags.py master/buildbot/db/exceptions.py master/buildbot/db/__init__.py master/buildbot/www/hooks/github.py master/buildbot/www/hooks/gitlab.py master/buildbot/www/hooks/bitbucketserver.py master/buildbot/www/hooks/bitbucketcloud.py master/buildbot/www/hooks/base.py master/buildbot/www/hooks/poller.py master/buildbot/www/hooks/gitorious.py master/buildbot/www/hooks/bitbucket.py master/buildbot/www/authz/endpointmatchers.py master/buildbot/www/authz/roles.py master/buildbot/www/authz/authz.py master/buildbot/www/authz/__init__.py master/buildbot/www/rest.py master/buildbot/www/oauth2.py master/buildbot/www/service.py master/buildbot/www/avatar.py master/buildbot/www/ws.py master/buildbot/www/auth.py master/buildbot/www/ldapuserinfo.py master/buildbot/www/change_hook.py master/buildbot/www/sse.py master/buildbot/www/config.py master/buildbot/www/resource.py master/buildbot/www/graphql.py master/buildbot/www/plugin.py master/buildbot/data/types.py master/buildbot/data/resultspec.py master/buildbot/data/connector.py master/buildbot/data/graphql.py master/buildbot/data/buildrequests.py master/buildbot/data/base.py master/buildbot/data/builds.py master/buildbot/data/buildsets.py master/buildbot/data/changes.py master/buildbot/data/masters.py master/buildbot/data/workers.py master/buildbot/data/steps.py master/buildbot/data/logs.py master/buildbot/data/schedulers.py master/buildbot/data/properties.py master/buildbot/data/builders.py master/buildbot/data/logchunks.py master/buildbot/data/test_result_sets.py master/buildbot/data/forceschedulers.py master/buildbot/data/changesources.py master/buildbot/data/build_data.py master/buildbot/data/test_results.py master/buildbot/data/sourcestamps.py master/buildbot/data/root.py master/buildbot/data/patches.py master/buildbot/data/exceptions.py master/buildbot/changes/gerritchangesource.py master/buildbot/changes/mail.py master/buildbot/changes/gitpoller.py master/buildbot/changes/svnpoller.py master/buildbot/changes/p4poller.py master/buildbot/changes/hgpoller.py master/buildbot/changes/github.py master/buildbot/changes/changes.py master/buildbot/changes/pb.py master/buildbot/changes/bitbucket.py master/buildbot/changes/filter.py master/buildbot/changes/base.py master/buildbot/changes/manager.py master/buildbot/schedulers/forcesched.py master/buildbot/schedulers/trysched.py master/buildbot/schedulers/base.py master/buildbot/schedulers/timed.py master/buildbot/schedulers/canceller.py master/buildbot/schedulers/basic.py master/buildbot/schedulers/canceller_buildset.py master/buildbot/schedulers/dependent.py master/buildbot/schedulers/triggerable.py master/buildbot/schedulers/manager.py master/buildbot/schedulers/filter.py master/buildbot/scripts/runner.py master/buildbot/scripts/base.py master/buildbot/scripts/logwatcher.py master/buildbot/scripts/upgrade_master.py master/buildbot/scripts/start.py master/buildbot/scripts/create_master.py master/buildbot/scripts/reconfig.py master/buildbot/scripts/stop.py master/buildbot/scripts/cleanupdb.py master/buildbot/scripts/sendchange.py master/buildbot/scripts/checkconfig.py master/buildbot/scripts/user.py master/buildbot/scripts/tryserver.py master/buildbot/scripts/sample.cfg master/buildbot/scripts/restart.py master/buildbot/scripts/trycmd.py master/buildbot/clients/tryclient.py master/buildbot/clients/sendchange.py master/buildbot/clients/usersclient.py master/buildbot/config/master.py master/buildbot/config/builder.py master/buildbot/config/errors.py master/buildbot/config/checks.py master/buildbot/config/__init__.py master/buildbot/master.py master/buildbot/statistics/capture.py master/buildbot/statistics/stats_service.py master/buildbot/statistics/storage_backends/influxdb_client.py master/buildbot/statistics/storage_backends/base.py master/buildbot/statistics/__init__.py master/buildbot/secrets/providers/vault_hvac.py master/buildbot/secrets/providers/vault.py master/buildbot/secrets/providers/file.py master/buildbot/secrets/providers/passwordstore.py master/buildbot/secrets/providers/base.py master/buildbot/secrets/secret.py master/buildbot/secrets/manager.py master/buildbot/machine/generic.py master/buildbot/machine/latent.py master/buildbot/machine/base.py master/buildbot/machine/manager.py master/buildbot/plugins/db.py master/buildbot/plugins/__init__.py master/buildbot/locks.py master/buildbot/mq/wamp.py master/buildbot/mq/simple.py master/buildbot/mq/base.py master/buildbot/mq/connector.py master/buildbot/manhole.py master/buildbot/buildbot_net_usage_data.py master/buildbot/wamp/connector.py master/buildbot/configurators/janitor.py master/buildbot/configurators/__init__.py master/buildbot/pbutil.py master/buildbot/interfaces.py master/buildbot/__init__.py master/buildbot/monkeypatches/__init__.py master/buildbot/monkeypatches/servicechecks.py master/buildbot/monkeypatches/decorators.py master/buildbot/asyncio.py master/buildbot/revlinks.py master/buildbot/scheduler.py master/buildbot/warnings.py master/buildbot/errors.py master/buildbot/buildrequest.py worker/buildbot_worker/commands/transfer.py worker/buildbot_worker/commands/fs.py worker/buildbot_worker/commands/base.py worker/buildbot_worker/commands/shell.py worker/buildbot_worker/commands/utils.py worker/buildbot_worker/commands/registry.py worker/buildbot_worker/runprocess.py worker/buildbot_worker/pb.py worker/buildbot_worker/scripts/runner.py worker/buildbot_worker/scripts/create_worker.py worker/buildbot_worker/scripts/logwatcher.py worker/buildbot_worker/scripts/start.py worker/buildbot_worker/scripts/stop.py worker/buildbot_worker/scripts/restart.py worker/buildbot_worker/scripts/base.py worker/buildbot_worker/util/buffer_manager.py worker/buildbot_worker/util/lineboundaries.py worker/buildbot_worker/util/__init__.py worker/buildbot_worker/util/_hangcheck.py worker/buildbot_worker/util/deferwaiter.py worker/buildbot_worker/util/_notifier.py worker/buildbot_worker/msgpack.py worker/buildbot_worker/base.py worker/buildbot_worker/__init__.py worker/buildbot_worker/pbutil.py worker/buildbot_worker/tunnel.py worker/buildbot_worker/monkeypatches/testcase_assert.py worker/buildbot_worker/monkeypatches/__init__.py worker/buildbot_worker/null.py worker/buildbot_worker/compat.py worker/buildbot_worker/interfaces.py worker/buildbot_worker/bot.py worker/buildbot_worker/backports/__init__.py worker/buildbot_worker/exceptions.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -133,6 +133,8 @@
Loading
133 133
134 134
    @defer.inlineCallbacks
135 135
    def command_START(self, args, **kwargs):
136 +
        self.bot.post('/setChatMenuButton', json={'chat_id': self.channel.id,
137 +
                                                  'menu_button': {'type': 'commands'}})
136 138
        yield self.command_HELLO(args)
137 139
        reactor.callLater(0.2, self.command_HELP, '')
138 140
@@ -150,7 +152,7 @@
Loading
150 152
    command_NAY.usage = "nay - never mind the command we are currently discussing"
151 153
152 154
    @classmethod
153 -
    def describe_commands(cls):
155 +
    def get_commands(cls):
154 156
        commands = cls.build_commands()
155 157
        response = []
156 158
        for command in commands:
@@ -160,9 +162,13 @@
Loading
160 162
            doc = getattr(meth, '__doc__', None)
161 163
            if not doc:
162 164
                doc = command
163 -
            response.append(f"{command} - {doc}")
165 +
            response.append((command, doc))
164 166
        return response
165 167
168 +
    @classmethod
169 +
    def describe_commands(cls):
170 +
        return [f"{command} - {doc}" for command, doc in cls.get_commands()]
171 +
166 172
    @Contact.overrideCommand
167 173
    def command_COMMANDS(self, args, **kwargs):
168 174
        if args.lower() == 'botfather':
@@ -177,10 +183,10 @@
Loading
177 183
    def command_GETID(self, args, **kwargs):
178 184
        """get user and chat ID"""
179 185
        if self.is_private_chat:
180 -
            self.send(f"Your ID is {self.user_id}.")
186 +
            self.send(f"Your ID is `{self.user_id}`.")
181 187
        else:
182 -
            yield self.send(f"{self.user_name}, your ID is {self.user_id}.")
183 -
            self.send(f'This {self.channel.chat_info.get("type", "group")} ID is {self.chat_id}.')
188 +
            yield self.send(f"{self.user_name}, your ID is `{self.user_id}`.")
189 +
            self.send(f'This {self.channel.chat_info.get("type", "group")} ID is `{self.chat_id}`.')
184 190
    command_GETID.usage = "getid - get user and chat ID that can be put in the master " \
185 191
                          "configuration file"
186 192
@@ -608,6 +614,8 @@
Loading
608 614
            channel = self.getChannel(c)
609 615
            channel.add_notification_events(self.notify_events)
610 616
        yield self.loadState()
617 +
        commands = [{'command': command, 'description': doc} for command, doc in TelegramContact.get_commands()]
618 +
        self.post('/setMyCommands', json={'commands': commands})
611 619
612 620
    results_emoji = {
613 621
        SUCCESS: ' ✅',

Learn more Showing 2 files with coverage changes found.

Changes in worker/buildbot_worker/tunnel.py
-1
+1
Loading file...
Changes in master/buildbot/util/queue.py
-6
+6
Loading file...
Files Coverage
master/buildbot 0.01% 92.52%
worker/buildbot_worker 0.03% 86.38%
Project Totals (345 files) 92.07%
Loading