#dev-log

1 messages ยท Page 39 of 1

ebon magnetBOT
#

Build 20191208.1 succeeded

Requested by

GitHub

Duration

00:02:20

Build pipeline

Snekbox

regal archBOT
#
[python-discord/snekbox] branch deleted: python\-3\.8
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191208.2 succeeded

Requested by

GitHub

Duration

00:06:11

Build pipeline

Snekbox

native joltBOT
#
[python-discord/flake8-annotations] New branch created: ci\-improvements
north knotBOT
#

Postgres backup completed!

regal archBOT
#

The in_channel decorator raised 'NoneType' is not iterable when it wasn't passed, due to the default value of hidden_channels being None but not checked against before iterating over it. This edit ensures said argument and bypass_roles are set to an empty list in cases where they have a value of None instead.

Error:
image

Working as intended, after the fix:
![image](htt...

ebon magnetBOT
#

Build 20191209.1 succeeded

Requested by

GitHub

Duration

00:01:55

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20191209.2 succeeded

Requested by

GitHub

Duration

00:03:37

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20191209.3 succeeded

Requested by

GitHub

Duration

00:01:56

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191209.4 succeeded

Requested by

GitHub

Duration

00:01:52

Build pipeline

Bot

native joltBOT
regal archBOT
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191209.1 succeeded

Requested by

GitHub

Duration

00:04:13

Build pipeline

Site

native joltBOT
#
[python-discord/flake8-annotations] New branch created: v1\.1\.2\-dev
#
[python-discord/flake8-annotations] branch deleted: ci\-improvements
native joltBOT
regal archBOT
native joltBOT
native joltBOT
#

After experimenting between the various proposed alternatives, it ends up being a pretty significant simplification to just request the list of lines from flake8 and just join them when we need the source to obtain a typed AST for the rest of the checker. This obviates any need for this plugin to separately consider stdin vs. file inputs since flake8 is already doing this for us.

This fix will be included in v1.1.2, to be merged by #53

north knotBOT
#

Postgres backup completed!

ebon magnetBOT
#

Build 20191210.1 failed

Requested by

GitHub

Duration

00:01:32

Build pipeline

Django Simple Bulma

regal archBOT
#
[python-discord/bot] New branch created: discord\-testers\-whitelist
ebon magnetBOT
#

Build 20191210.1 succeeded

Requested by

GitHub

Duration

00:01:52

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: enhancement/644\-mute\-kicks\-voice
#

Closes #644

If the kick fails, the bot will send a message saying that applying the infraction failed. I felt that's adequate compared to a specific message for a voice channel kick failure. A specific message can be done easily if it's sent separately from the usual "confirmation message". However, integrating it into the confirmation message would require more thought and effort as it wasn't designed to be extensible to such degree.

ebon magnetBOT
#

Build 20191210.2 succeeded

Requested by

GitHub

Duration

00:01:49

Build pipeline

Bot

regal archBOT
#

Hi @andrei-dracea, thanks for the PR!

Can you describe in more detail what exactly this change does? Maybe show a screenshot or something to illustrate?

Also, when you reformat the entire file in your PR it can be a bit tricky to review since it obscures what you actually changed. It's fine this time since the formatting change seems to be an improvement, but do try to keep that in mind in the future.

regal archBOT
regal archBOT
#

Yeah, I think that all sounds reasonable, and we should probably get this merged. Because of the custom css rule possibility, I guess we should at least bump the version to 0.2. one might argue that a breaking change should lead to a major version increase, not a minor version increase, but I'm not comfortable calling this v1.0 before it's far, far more done than it currently is. This repo is really still in its infancy.

regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
#
[python-discord/bot] New branch created: feature/645\-voice\-event\-log
#

Closes #645.

Stalled until an icon is chosen (see the issue referenced above).

Some things I'm unsure of:

  • The state has an afk attribute but I chose to omit it. See commit message for details.
  • A change is currently only ignored if it is the before state has the ignored channel. For example, this means joining an ignored channel will log a state change, but leaving an ignored channel will not log anything. Something along the lines of the following channel changes may be ...
ebon magnetBOT
#

Build 20191211.1 succeeded

Requested by

GitHub

Duration

00:01:51

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: bug/650\-tag\-fallback\-respect\-checks
ebon magnetBOT
#

Build 20191211.2 succeeded

Requested by

GitHub

Duration

00:02:02

Build pipeline

Bot

regal archBOT
#

What do we want?

We want notifications in the #meta channel whenever someone pledges to our Patreon account, or when someone increases their pledge from one dollar amount to another.

Whenever this happens, a webhook in the channel should post something like

@some_user has pledged $3 to the Python Discord Patreon. This brings our total income up to $42 per month! , @some_user!

All the money donated to our Patreon goes towards prizes for t...

regal archBOT
regal archBOT
#

Currently, messages posted in #checkpoint by the bot will usually be posted with a delete_after of 10 seconds or so, so they will automatically be removed. This helps the channel stay clean so that the important messages at the top of it will stay there. The bot also automatically deletes any messages posted in this channel by other users.

However, when the bot posts messages in this channel that are not related to the Verification cog, they will never get deleted. For example, if a user...

#

I'd like to be able to clean a channel from the comfort of another channel.

For example:
!clean all 200 #python-discussion should run this command inside the #python-discussion channel instead of in the channel it was invoked from.

When this happens, the bot should output its feedback into the channel you invoked the command in. So, if I was in #admins and I used this command, the bot should post its feedback in #admins, not in #python-discussion.

regal archBOT
ebon magnetBOT
#

Build 20191212.1 succeeded

Requested by

GitHub

Duration

00:01:50

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: enhancement/690\-clean\-cmd
ebon magnetBOT
#

Build 20191212.2 succeeded

Requested by

GitHub

Duration

00:01:43

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: enh/verification/688/allow\-mods\-cmds
ebon magnetBOT
#

Build 20191212.3 succeeded

Requested by

GitHub

Duration

00:01:39

Build pipeline

Bot

regal archBOT
#

I was about to clarify in a response, yeah.
However, it's not specific to the author, just generally the specified message as a start point and the following extra n messages afterwards which can sometimes help establish a conversational context. (for example if multiple people were laying into someone, we could gather a single context of a relevant section and use it with multiple infractions.

regal archBOT
#
[python-discord/bot] New branch created: enh/mod/624/edit\-recent\-infraction
ebon magnetBOT
#

Build 20191212.4 succeeded

Requested by

GitHub

Duration

00:01:50

Build pipeline

Bot

ebon magnetBOT
#

Build 20191212.5 succeeded

Requested by

GitHub

Duration

00:01:51

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20191212.6 succeeded

Requested by

GitHub

Duration

00:01:41

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: bug/650\-tag\-fallback\-respect\-checks
ebon magnetBOT
#

Build 20191212.8 failed

Requested by

GitHub

Duration

00:02:35

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20191212.7 succeeded

Requested by

GitHub

Duration

00:03:44

Build pipeline

Bot

regal archBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20191212.9 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

regal archBOT
#

I don't mind the mic icon, however I'd suggest instead picking the same icon type as the voice channels already use: the volume icon.

image

<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" viewBox="0 0 24 24">
<path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M11.383 3.07904C11.009 2.92504 10.579 3.01004 10.293 3.29604L6 8.00204H3C2.45 8.00...
regal archBOT
#

This looks like it could almost worth with the existing watch channels base class. However, the main obstacle is that it tracks which users are watched. This affects a few things:

  1. Messages are ignored if the user isn't watched
  2. The header includes a reason and the actor
  3. There is a function to list watched users

I think a flag could be added to not track users but this may make the code messy or seem "patched together", notably the header code. It may be better to use a subclas...

#

As a note, the final image will need to be 128x128px.

No problem; I make them as SVGs anyway. I just export to 24x24 because that is it's actual display size.

Should we use a red one for when they leave, a green one for when they join and a blue one for other information?

I don't mind implementing that but it does honestly feel like too minute of a detail. That doesn't mean it's a bad thing though, I suppose. Maybe yellow for switching channels.

ebon magnetBOT
#

Build 20191212.10 succeeded

Requested by

GitHub

Duration

00:01:54

Build pipeline

Bot

regal archBOT
#

1b938af Moderation: show HTTP status code in the log fo... - MarkKoz
d0e14dc Moderation: catch HTTPException when applying a... - MarkKoz
f0e993a Infractions: kick user from voice after muting ... - MarkKoz
9e5e367 Merge branch 'master' into enhancement/644-mute... - Akarys42
0445acf Merge pull request #684 from python-discord/enh... - MarkKoz

#
[python-discord/bot] branch deleted: enhancement/644\-mute\-kicks\-voice
north knotBOT
ebon magnetBOT
#

Build 20191212.11 succeeded

Requested by

GitHub

Duration

00:03:45

Build pipeline

Bot

#

Build 20191212.12 succeeded

Requested by

GitHub

Duration

00:01:49

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: subclass\-bot
north knotBOT
ebon magnetBOT
#

Build 20191212.13 succeeded

Requested by

GitHub

Duration

00:03:39

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191212.14 failed

Requested by

GitHub

Duration

00:01:17

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191212.15 succeeded

Requested by

GitHub

Duration

00:01:56

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191212.16 succeeded

Requested by

GitHub

Duration

00:01:53

Build pipeline

Bot

#

Build 20191212.17 succeeded

Requested by

GitHub

Duration

00:01:56

Build pipeline

Bot

#

Build 20191212.18 succeeded

Requested by

GitHub

Duration

00:01:52

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191212.19 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191212.20 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20191212.21 succeeded

Requested by

GitHub

Duration

00:03:40

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20191212.22 succeeded

Requested by

GitHub

Duration

00:01:50

Build pipeline

Bot

regal archBOT
#

9d551cc Add a generic converter for only allowing certa... - MarkKoz
729ac3d ModManagement: allow "recent" as ID to edit inf... - MarkKoz
c1bf0a4 ModManagement: display ID of edited infraction ... - MarkKoz
56833bb ModManagement: add more aliases for "special" p... - MarkKoz
eb53a45 Converters: rename string to allowed_strings - MarkKoz

#
[python-discord/bot] branch deleted: enh/mod/624/edit\-recent\-infraction
north knotBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20191212.23 succeeded

Requested by

GitHub

Duration

00:03:44

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191212.24 succeeded

Requested by

GitHub

Duration

00:02:04

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191212.25 succeeded

Requested by

GitHub

Duration

00:01:51

Build pipeline

Bot

regal archBOT
#

7e25475 Improved type hinting for format_infraction_wi... - ikuyarihS [51f8001](https://github.com/python-discord/bot/commit/51f80015c5db9ab8e85ea2304789491d4c72c053) Created until_expiration to get the remaining... - ikuyarihS [82eb5e1](https://github.com/python-discord/bot/commit/82eb5e1c46e378a6f3778e17cc342193b910ded5) Implemented remaining time until expiration for... - ikuyarihS [c1aeb6d](https://github.com/python-discord/bot/commit/c1aeb6d263172168f77845408e8d2756f6cb2813) Apply suggestions from Mark - removing . at t... - ikuyarihS [3c80adb`](https://github.com/python-discord/bot/commit/3c80adba70f1400fcde2679891e76bd7bf408f85) Merge branch 'master' into Display-time-left-un... - scragly

#
[python-discord/bot] branch deleted: Display\-time\-left\-until\-expiration\-of\-infraction
#

7e25475 Improved type hinting for format_infraction_wi... - ikuyarihS [51f8001](https://github.com/python-discord/bot/commit/51f80015c5db9ab8e85ea2304789491d4c72c053) Created until_expiration to get the remaining... - ikuyarihS [82eb5e1](https://github.com/python-discord/bot/commit/82eb5e1c46e378a6f3778e17cc342193b910ded5) Implemented remaining time until expiration for... - ikuyarihS [c1aeb6d](https://github.com/python-discord/bot/commit/c1aeb6d263172168f77845408e8d2756f6cb2813) Apply suggestions from Mark - removing . at t... - ikuyarihS [3c80adb`](https://github.com/python-discord/bot/commit/3c80adba70f1400fcde2679891e76bd7bf408f85) Merge branch 'master' into Display-time-left-un... - scragly

north knotBOT
ebon magnetBOT
#

Build 20191212.26 succeeded

Requested by

GitHub

Duration

00:04:17

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20191212.27 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

ebon magnetBOT
#

Build 20191212.1 failed

Requested by

GitHub

Duration

00:00:24

Build pipeline

Django Crispy Bulma

#

Build 20191212.2 succeeded

Requested by

GitHub

Duration

00:01:38

Build pipeline

Django Crispy Bulma

regal archBOT
ebon magnetBOT
#

Build 20191212.3 succeeded

Requested by

Leon Sandรธy

Duration

00:01:34

Build pipeline

Django Crispy Bulma

regal archBOT
#
[python-discord/django-crispy-bulma] New tag created: 0\.2
ebon magnetBOT
ebon magnetBOT
#

Build 20191212.28 succeeded

Requested by

GitHub

Duration

00:01:57

Build pipeline

Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20191213.1 succeeded

Requested by

GitHub

Duration

00:03:42

Build pipeline

Bot

regal archBOT
#

I know you didn't touch this, but while we're here, is there any particular reason why invoke_without_command=True is set? If it is left to the default False, the @with_role check can be on the command group, but not any of the subcommands - it will invoke the group command (and all checks) when any subcommand is called. The only thing that would need to change is to only send the help if there's no subcommand (and do a manual check) -

if not ctx.invoked_subcommand:
   await...
#
[python-discord/bot] New branch created: revert\-510\-reddit\-api\-oauth
#
[python-discord/bot] branch deleted: revert\-510\-reddit\-api\-oauth
ebon magnetBOT
#

Build 20191213.2 failed

Requested by

GitHub

Duration

00:00:25

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20191213.3 succeeded

Requested by

Joseph Banks

Duration

00:03:40

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: revert\-695\-revert\-510\-reddit\-api\-oauth
#

Re-implements #510 which had to be reverted due to a crash on the bot.

Closes #354.

  • Requests API tokens on extension init
  • Client ID and Secrets for Reddit API set up in bot constants and config
  • HTTP Requests use the API to receive responses
  • Change User-Agent to be complaint with Reddits API rules (https://github.com/reddit-archive/reddit/wiki/API)

Client_ID and Secret have to be created by an admin (https://www.reddit.com/prefs/apps).
The User-Agent string has to be modifie...

ebon magnetBOT
#

Build 20191213.4 succeeded

Requested by

GitHub

Duration

00:01:44

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191213.5 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191213.6 succeeded

Requested by

GitHub

Duration

00:01:51

Build pipeline

Bot

regal archBOT
#

e07cf73 Added unittest for bot.utils.time - ikuyarihS
b17dbe5 Splitting test cases for humanize_delta into ... - ikuyarihS
0aee728 Added missing docstring for test_humanize_delt... - ikuyarihS [beed213](https://github.com/python-discord/bot/commit/beed21355e7f0e25b69637768843c53d510b8969) Changed asserttoself.assertIsfortest_w... - ikuyarihS
ccdd836 Splitting test cases for `format_infraction_wit... - ikuyarihS

#
[python-discord/bot] branch deleted: Write\-unit\-tests\-for\-\`bot/utils/time\.py\`
north knotBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20191213.7 succeeded

Requested by

GitHub

Duration

00:03:44

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191213.8 succeeded

Requested by

GitHub

Duration

00:01:41

Build pipeline

Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20191213.9 succeeded

Requested by

GitHub

Duration

00:03:40

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20191213.11 succeeded

Requested by

GitHub

Duration

00:01:37

Build pipeline

Bot

regal archBOT
#

0ddf9e6 Verification: allow mods+ to use commands in ch... - MarkKoz
65c7319 Verification: delete bots' messages (#689) - MarkKoz
c9cc19c Verification: check channel before checking for... - MarkKoz
50c952b Merge branch 'master' into enh/verification/688... - MarkKoz
d750c45 Merge pull request #692 from python-discord/enh... - MarkKoz

#
[python-discord/bot] branch deleted: enh/verification/688/allow\-mods\-cmds
north knotBOT
ebon magnetBOT
#

Build 20191213.12 succeeded

Requested by

GitHub

Duration

00:03:48

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191213.13 succeeded

Requested by

GitHub

Duration

00:01:44

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: enh/mod/534/no\-ping\-dm\-fail
north knotBOT
ebon magnetBOT
#

Build 20191213.14 succeeded

Requested by

GitHub

Duration

00:03:31

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20191213.15 succeeded

Requested by

GitHub

Duration

00:01:44

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: revert\-695\-revert\-510\-reddit\-api\-oauth
north knotBOT
ebon magnetBOT
#

Build 20191213.16 succeeded

Requested by

GitHub

Duration

00:03:34

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
#

Abstract

For now, we don't have any way to know when the bot is laggy if it is the bot, the site or discord API that is laggy. This command can be used to report the latency of all of them.

Specification

When the command !ping is entered, the bot should respond with an embed containing the following information :

  • Bot latency : delta between the message !ping creation time and the moment the bot start processing the command.
  • Site latency : time taken by the bot to reach...
regal archBOT
regal archBOT
#

Perhaps. I could see the benefit in not having to install those while developing. However, a requirements.txt would mean foregoing any sort of locking mechanism like what pipenv provides. I don't mind since these packages aren't crucial to the basic Python eval working. However, some sub dependencies may conflict with the sub dependencies in the Pipfile.lock.

Ultimately I don't feel a strong need to do anything different. Adding to a Pipfile is simple and good enough given how little mai...

ebon magnetBOT
#

Build 20191213.17 succeeded

Requested by

GitHub

Duration

00:01:51

Build pipeline

Bot

regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
#
[python-discord/snekbox] New branch created: 3\-external\-libs
ebon magnetBOT
#

Build 20191214.1 failed

Requested by

GitHub

Duration

00:03:05

Build pipeline

Snekbox

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20191214.1 failed

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191214.1 succeeded

Requested by

GitHub

Duration

00:02:14

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20191214.2 succeeded

Requested by

GitHub

Duration

00:01:43

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191214.3 succeeded

Requested by

GitHub

Duration

00:01:45

Build pipeline

Bot

native joltBOT
regal archBOT
#
[python-discord/site] branch deleted: \#222\-offensive\-msg\-autodeletion
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191215.1 succeeded

Requested by

GitHub

Duration

00:04:12

Build pipeline

Site

north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20191215.1 failed

Requested by

GitHub

Duration

00:04:06

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20191215.2 succeeded

Requested by

GitHub

Duration

00:04:00

Build pipeline

Snekbox

regal archBOT
#

Is there a fast way to do it, or it needs to be done by hand?

Maybe pip freeze can help, otherwise by hand.

since it isn't used in the snekbox code directly, and therefore can't break it

Still would rather not have anything break even if it's one package.

Plus, it will avoid us to manually update a package when a new version is out.

Fair point perhaps. However, I don't think this would happen often so I'm OK with manual updates. Also, either way, a rebuild will still n...

ebon magnetBOT
#

Build 20191215.3 succeeded

Requested by

GitHub

Duration

00:04:28

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20191215.1 succeeded

Requested by

GitHub

Duration

00:01:49

Build pipeline

Bot

regal archBOT
regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20191216.1 succeeded

Requested by

GitHub

Duration

00:04:26

Build pipeline

Snekbox

regal archBOT
regal archBOT
regal archBOT
#

Hey @eimul,

I think you've ended up in the wrong place. The repository you've created an issue in is the repository for discord bot of Python Discord, an online Python community. While our bot uses discord.py, we are not affiliated with the library in any way. You can find the repository of the discord.py library here.

That said, repositories and issues are typically not meant to ask help, but rather to report bugs ...

regal archBOT
#

Addresses #627

This PR would add a proper Converter (in converters.py) to fetch users from the Discord API in case they don't exist in the Python Discord DB, so they can be added, and infractions can be applied properly (given their ID is provided.)

The most important change in structure here is that a post_user function is added to moderation.utils, meant to be used by post_infraction. That basically means I'm changing the responsabilities of post_infraction (but after tryin...

ebon magnetBOT
#

Build 20191216.1 succeeded

Requested by

GitHub

Duration

00:01:54

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191216.2 succeeded

Requested by

GitHub

Duration

00:04:28

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20191216.3 succeeded

Requested by

GitHub

Duration

00:04:22

Build pipeline

Snekbox

regal archBOT
#
[python-discord/snekbox] branch deleted: 3\-external\-libs
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191216.4 succeeded

Requested by

GitHub

Duration

00:05:21

Build pipeline

Snekbox

regal archBOT
#

Nobody is actively working on this at the moment. It's a community project on the Python Discord (pythondiscord.com), and while the community is thriving and extremely active, this project has lost some steam since we're not really using it for anything in our other repos.

If either of you would be interested in working on this in a more active capacity, do join our community and come talk to us about it. Pull requests will also be accepted, reviewed and merged if approved.

So is the proj...

regal archBOT
#
[python-discord/snekbox] New branch created: ci\-test
ebon magnetBOT
#

Build 20191216.5 failed

Requested by

GitHub

Duration

00:00:15

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20191216.6 failed

Requested by

GitHub

Duration

00:00:18

Build pipeline

Snekbox

ebon magnetBOT
#

Build 20191216.7 failed

Requested by

GitHub

Duration

00:00:16

Build pipeline

Snekbox

ebon magnetBOT
#

Build 20191216.8 failed

Requested by

GitHub

Duration

00:00:16

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20191216.9 has been canceled

Requested by

GitHub

Duration

00:01:56

Build pipeline

Snekbox

ebon magnetBOT
#

Build 20191216.11 succeeded

Requested by

GitHub

Duration

00:07:51

Build pipeline

Snekbox

regal archBOT
#
[python-discord/snekbox] branch deleted: ci\-test
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191216.12 succeeded

Requested by

GitHub

Duration

00:09:03

Build pipeline

Snekbox

regal archBOT
#
[python-discord/snekbox] New branch created: limit\-numpy\-threads
#
[python-discord/snekbox] New branch created: thread\-env\-var
ebon magnetBOT
#

Build 20191216.13 succeeded

Requested by

GitHub

Duration

00:04:38

Build pipeline

Snekbox

north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191216.1 succeeded

Requested by

Leon Sandรธy

Duration

00:04:11

Build pipeline

Site

regal archBOT
#
[python-discord/snekbox] branch deleted: limit\-numpy\-threads
#
[python-discord/snekbox] branch deleted: thread\-env\-var
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191216.14 succeeded

Requested by

GitHub

Duration

00:05:12

Build pipeline

Snekbox

regal archBOT
#
[python-discord/snekbox] New branch created: ci\-improvements
ebon magnetBOT
#

Build 20191216.15 succeeded

Requested by

GitHub

Duration

00:02:20

Build pipeline

Snekbox

north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: user\-sync\-on\-user\-update
regal archBOT
ebon magnetBOT
#

Build 20191217.1 succeeded

Requested by

GitHub

Duration

00:01:48

Build pipeline

Bot

native joltBOT
#
[python-discord/flake8-annotations] branch deleted: v1\.1\.2\-dev
#
[python-discord/flake8-annotations] New tag created: v1\.1\.2
regal archBOT
native joltBOT
#
[python-discord/flake8-annotations] New branch created: v1\.2\.0\-dev
regal archBOT
#

Also, there is a fetch_user somewhere in the infraction scheduler IIRC. Not sure if it should be removed if proxy_user is going to stay. After all, if fetch_user failed once (and thus we fell back to proxy_user), it's likely to fail again. On the other hand, it failing would be some weird, likely intermittent, API issue because we'd not fall back if the user doesn't exist.

north knotBOT
#

Postgres backup completed!

regal archBOT
#

Summary

The role synchronization utility occasionally starts before the bot's role cache has been filled resulting in all the roles being deleted from the database table.

Background

Since we frequently add and delete roles from our guild, we have an automated synchronization utility that keeps the database up to date with the actual roles on our guild. Currently, the mechanism waits for the READY signal to be dispatched by discord.py after the bot starts, as that typically sign...

regal archBOT
#

I like the speaker. We've color coded everything else, so I kind of think @scragly's suggestion to use red and green for suitable events is a good one.

Historically we've used red for anything negatory (leaving, getting banned, removing), green for anything affirmative (joining, being unbanned, adding), and blue for anything that falls inbetween (edits, information, etcetera). We've never used yellow because white on yellow has poor legibility.

regal archBOT
native joltBOT
regal archBOT
ebon magnetBOT
#

Build 20191218.1 succeeded

Requested by

GitHub

Duration

00:01:56

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191218.2 succeeded

Requested by

GitHub

Duration

00:01:31

Build pipeline

Bot

regal archBOT
#

Now, I do think this event may also fire after the guild has become temporarily unavailable due to issues with the Discord API.

Possibly yes since it is dispatched after the ready event, which is known to be dispatched when reconnecting.

Have the bot ping the core-dev role with a message/embed detailing the diff and make it wait for confirmation in the form of a reaction by a core-dev.

Wait indefinitely or have a time out and abort? Also concerned a reaction may not be explicit...

regal archBOT
#

Possibly yes since it is dispatched after the ready event, which is known to be dispatched when reconnecting.

Typically. it's dispatched as soon as the bot receives and has processed the guild information from the API, which is normally before the READY event (unless the latency issues happen).

Dec 18 19:26:12 Bot: |                           bot.api |    DEBUG | Scheduled 33 pending logging tasks.
Dec 18 19:26:12 Bot: |                 bot.cogs.sync.cog |    DEBUG | Guild B...
regal archBOT
#

Sorry, we're technically both right. I should have clarified I meant it comes after the webhook READY but as we've discussed this gets delayed by discord.py until the guilds are processed. I mean that if we know the ready event is dispatched during reconnect, this means guilds are processed during reconnect (unless the READY already gives guilds as available but I believe they are always unavailable in READY and must come from GUILD_CREATE) and consequently on_guild_available is dis...

regal archBOT
#

I'll pick this up in a few hours, to refactor it and finish it.

Question: how should proxy_user work? I find strange the way it's done. It says Used when a Member or User object cannot be resolved., but it's still required to have a row for that user in the local DB. So, for this to work, it would be necessary to POST that user, basically with a made up ID. Isn't that a bit dangerous?

On the other hand, there's a PR by @Numerlor that removes both proxy_users and makes a class of...

native joltBOT
#
[python-discord/flake8-annotations] branch deleted: v1\.2\.0\-dev
native joltBOT
#
[python-discord/flake8-annotations] New branch created: dev\-next
regal archBOT
#

The fetch may fail even if the user is already in the database since our
API is, of course, separate from Discord's. It this situation the
interactions will behave as they currently do - they work as long as the
user is in the database. Better than not having anything at all to fall
back on.

If we want it to really be robust, then fake information could be posted to
the API if it's fallen back to a proxy user. It's not a big deal since the
ID is the only important field and that is being sup...

native joltBOT
#

Fixed

  • Add missing classifier test cases for POSONLYARGS
  • Re-add the tree argument to the checker so flake8 identifies the plugin as needing to run

In the v1.1.2 release, the tree input to the checker was removed in favor of instead requesting the lines of the file to be linted, allowing for a more generic handling of both stdin and file input. Though tree was never used, since the AST from flake8 is untyped, flake8 requires the checker instance to request at least one argu...

regal archBOT
#
[python-discord/site] New branch created: fix\-infraction\-validator
regal archBOT
#

The active infractions queryset only gets filtered by the fields specified. This meant that if the same user and type had another infraction instance which was active, the validator would fail. The validator assumes failure if it sees any items still in the queryset after filtering.

By including the active field in the validator, the queryset will be filtered by the active field too. In the case described above, the queryset would end up empty because a no infractions which are active will...

north knotBOT
#

Postgres backup completed!

ebon magnetBOT
#

Build 20191219.1 failed

Requested by

GitHub

Duration

00:01:54

Build pipeline

Site

regal archBOT
#

@SebastiaanZ The side affect of adding active to the validator's fields is that it is now a required field. ModelSerializer does not "inherit" the default value specified in the model, despite active having a default. Setting it in InfractionSerializer like so

class InfractionSerializer(ModelSerializer):
    """A class providing (de-)serialization of `Infraction` instances."""
    active = BooleanField(default=True)

does not work because not all infraction types ar...

regal archBOT
#

Okay, that makes sense. I think I'm in favor of:

The simplest fix is to explicitly require active. This may make sense from a design point of view anyway because it is otherwise confusing that some infraction types need to default to True while others to False.

Using a default value of True when we do not even want to allow that value for some entries in the first place doesn't sound like it passes the principle of least surprise to me. We could, in theory, use a default value o...

native joltBOT
native joltBOT
native joltBOT
#

As partially accomplished by #48, we're looking at utilizing tox as much as possible in order to best unify the multi-environment testing experience between the local environment & CI. We'd like to complete the move by migrating linting into the tox process, simplifying the local process to just an invocation of tox to accomplish all of the necessary code inspection.

We can also look to projects like Click for inspiration...

native joltBOT
#
[python-discord/flake8-annotations] New branch created: ci\-adventures
regal archBOT
ebon magnetBOT
#

Build 20191219.2 failed

Requested by

GitHub

Duration

00:01:45

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20191219.3 succeeded

Requested by

GitHub

Duration

00:01:45

Build pipeline

Site

regal archBOT
regal archBOT
#

Looks like it's effectively the same thing. If this is the correct documentation for django.templatetags.static.static() then it uses django.contrib.staticfiles.storage.staticfiles_storage.url() anyway:

If the django.contrib.staticfiles app is installed, the tag will serve files using url() method of the storage specified by STATICFILES_STORAGE.

Regarding [STATICFILES_STORAGE](https://docs.djangoproje...

#
[python-discord/bot] New branch created: bug/mod/s317/explicit\-active\-value
ebon magnetBOT
#

Build 20191219.1 succeeded

Requested by

GitHub

Duration

00:01:29

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: user\-sync\-on\-user\-update
north knotBOT
ebon magnetBOT
#

Build 20191219.2 succeeded

Requested by

GitHub

Duration

00:03:26

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20191220.1 succeeded

Requested by

GitHub

Duration

00:01:36

Build pipeline

Bot

regal archBOT
#

A couple of issues came up, so now it looks worse.

As you said, @MarkKoz, it would be a good idea to have that discord.Object from proxy_user(id) still working, in case fetching fails, but the error doesn't imply the user doesn't exist. The problem is that I can't (I think) import the proxy_users from the moderation utils to converters (I think there's a circular import issue?) so these commits add a new proxy_user as a helper in the FetchedUser class itself. That's an abomin...

north knotBOT
#

Postgres backup completed!

ebon magnetBOT
#

Build 20191220.2 succeeded

Requested by

GitHub

Duration

00:01:59

Build pipeline

Bot

regal archBOT
#

in case fetching fails, but the error doesn't imply the user doesn't exist.

Why not? If it's a NotFound AKA 404 then that's exactly what it implies.

The problem is that I can't (I think) import the proxy_users...

There isn't a need to import it. Make the object inside the FetchedUser converter. Here's a rough example:

class FetchedUser:
    async def convert():
        ...

        try:
            # If the fetch succeeds just return the user
            re...
#

Why not? If it's a NotFound AKA 404 then that's exactly what it implies.
My sentence should be read as "if there is an error and it doesn't imply the user doesn't exist, then return a proxy," sorry if I worded it poorly, the comma shouldn't be there (in case fetching fails but the error doesn't imply the user doesn't exist)

The original proxy_users can likely just be completely removed and replaced by FetchedUser
That makes it much easier then. But management.py does use `pro...

native joltBOT
regal archBOT
#

But management.py does use proxy_use (to search for infractions.)

Oh that is a good case for it. I'd say leave it. You should just move proxy_user into the converters module to avoid any imports and allow the FetchedUser to return the proxy e.g. return await ProxyUser.convert(user_id).

Regarding #651, it's stale so I wouldn't wait for it. I don't think the resulting conflicts will be too bad. If you really want it merged first, you could try poking the author or even ask to tak...

native joltBOT
native joltBOT
#
[python-discord/flake8-annotations] branch deleted: dev\-next
native joltBOT
#
[python-discord/flake8-annotations] New tag created: v1\.1\.3
regal archBOT
ebon magnetBOT
#

Build 20191220.1 succeeded

Requested by

GitHub

Duration

00:01:54

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20191220.2 succeeded

Requested by

GitHub

Duration

00:01:57

Build pipeline

Site

ebon magnetBOT
#

Build 20191220.3 succeeded

Requested by

GitHub

Duration

00:01:56

Build pipeline

Site

regal archBOT
#
[python-discord/branding] New branch created: voice\-state
ebon magnetBOT
#

Build 20191221.1 succeeded

Requested by

GitHub

Duration

00:01:45

Build pipeline

Bot

#

Build 20191221.2 succeeded

Requested by

GitHub

Duration

00:01:38

Build pipeline

Bot

#

Build 20191221.3 succeeded

Requested by

GitHub

Duration

00:01:29

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#

I think it'd be better to ask to run the sync command manually rather than using reactions. Partially to avoid misclicks but mainly because it's much simpler to implement.

The main thing is that I'd also want an excessive diff check for manually invoked synchronizations and have the bot respond with "This is what I'm about to do, is it okay?". When you run a manual synchronization command after that, you don't know if things have significantly changed after that last warning.

As an ex...

regal archBOT
regal archBOT
#

For the most part, this seems to work.

This fetch_user needs to be addressed somehow (e.g. skip DM if user is a proxy) because otherwise it will raise an error https://github.com/python-discord/bot/blob/3b6c7d88695fa6703ab94786b3ec8aade32f9c3e/bot/cogs/moderation/scheduler.py#L110

Watch channels have their own proxy_user which should be removed. The commands there should also use FetchedUser

https://github.com/python-discord/bot/blob/3b6c7d88695fa6703ab94786b3ec8aade32f9c3e/bot...

north knotBOT
#

Postgres backup completed!

ebon magnetBOT
#

Build 20191222.1 succeeded

Requested by

GitHub

Duration

00:01:35

Build pipeline

Bot

#

Build 20191222.2 succeeded

Requested by

GitHub

Duration

00:01:53

Build pipeline

Bot

#

Build 20191222.3 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

ebon magnetBOT
#

Build 20191222.4 succeeded

Requested by

GitHub

Duration

00:01:30

Build pipeline

Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20191222.5 succeeded

Requested by

Leon Sandรธy

Duration

00:03:17

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20191222.6 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

ebon magnetBOT
#

Build 20191222.7 succeeded

Requested by

GitHub

Duration

00:01:57

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: SebastiaanZ\-add\-duckies
ebon magnetBOT
regal archBOT
#
[python-discord/bot] branch deleted: SebastiaanZ\-add\-duckies
north knotBOT
ebon magnetBOT
#

Build 20191222.9 succeeded

Requested by

GitHub

Duration

00:03:25

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20191222.10 succeeded

Requested by

GitHub

Duration

00:01:58

Build pipeline

Bot

ebon magnetBOT
#

Build 20191222.11 succeeded

Requested by

GitHub

Duration

00:01:31

Build pipeline

Bot

regal archBOT
#
[python-discord/branding] New branch created: sticker\_and\_banners
#
[python-discord/branding] branch deleted: sticker\_and\_banners
regal archBOT
#
[python-discord/site] New branch created: code\-jam\-6\-update
#
[python-discord/site] branch deleted: code\-jam\-6\-update
ebon magnetBOT
#

Build 20191223.1 succeeded

Requested by

GitHub

Duration

00:01:51

Build pipeline

Site

north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191223.2 succeeded

Requested by

GitHub

Duration

00:03:39

Build pipeline

Site

regal archBOT
#

I think it's easier to maintain aliases if they are located near the actual commands. Furthermore, creating separate functions for aliases feels redundant and harder to maintain (particularly the parameters and their type annotations). I wonder if it's possible to create a decorator for commands which can add an alias for a command. Perhaps the command resolution of discord.py can be manipulated rather than having to create "dummy" commands for aliases (this may prove to be complicated for su...

north knotBOT
#

Postgres backup completed!

native joltBOT
#

Bumps pipenv-setup from 2.2.4 to 2.2.5.

Release notes
Sourced from pipenv-setup's releases.

Minor Bug Fix
allow sync to work in the absence of lockfile if --pipfile flag is supplied

Commits

8e4d15e bump build on macOS 3.5.2 -> 3.5.7
3687ea1 lower colorama for python 3.4
a18a43e Merge remote-tracking branch 'origin/master' into sync-pipfile-wo-lockfile
bc633d8 allow pipfile sync w/o lockfile
f88ccfe ide files
bca4985 Create funding.yml ...

#
[python-discord/flake8-annotations] New branch created: dependabot/pip/pipenv\-setup\-2\.2\.5
ebon magnetBOT
#

Build 20191223.1 succeeded

Requested by

GitHub

Duration

00:01:28

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191223.2 succeeded

Requested by

GitHub

Duration

00:01:38

Build pipeline

Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20191223.3 succeeded

Requested by

GitHub

Duration

00:03:05

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#

The same way our off topic channels change their name every day, the staff one (464905259261755392, whatever its name is now) could do the same.

This should have the same interface of commands as the off topic channels, giving the possibility to add names, delete them, search them, and everything else, so most of the code should be shared. But the name pools for each category, off topic and staff...

regal archBOT
#

Would it be reasonable to ask to be assigned for all the remaining rules?

#595 #596 #597 #598 #599 #602 #603

I've done #600 and #601 now and since they're all very similar, I think the remaining ones could go into a single PR so that it's easier to review as one batch. Would also be easier to work on for me. Let me know if that works.

ebon magnetBOT
#

Build 20191224.1 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Django Simple Bulma

regal archBOT
north knotBOT
#

Postgres backup completed!

ebon magnetBOT
#

Build 20191224.2 succeeded

Requested by

Leon Sandรธy

Duration

00:01:24

Build pipeline

Django Simple Bulma

regal archBOT
#

For 1.2.0, we should add support for Django 2.2, Django 3.0 and Python 3.8.

  • We've already merged #38, which should allow us to support Django 3.0.
  • This app probably already supports Python 3.8, but this needs to be tested.

So here's what needs to be done before we release the 1.2.0:

  • [ ] Test django-simple-bulma inside a Django 3.0 app running Python 3.8, and verify that it still works as expected.
  • [ ] Make a pull request to the setup.py file and add Django 2.2, Django 3....
regal archBOT
regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
#

If snekbox would return an output of exactly 11 lines, with 10 newline characters, it will truncate the final returning line without sending the output to be uploaded.

The source is a mismatch in the snekbox cog, within format_output--the number of lines to output is set to output.count("\n") but later output is sliced with output.split("\n")[:10].

.split() returns up to 11 items if there are exactly 10 \n's which results in the loss of the final line of output.

Testcase:...

regal archBOT
#
[python-discord/bot] New branch created: eval\-enhancements
regal archBOT
#

Now that snekbox support some external libraries (see python-discord/snekbox#51), I think this is a good time to work on some improvements :

  • [ ] Feature : Re-evaluate snippet with emoji reaction (closes #676)
  • [X] Bug : Eval is unable to run on Windows because of Signals.SIGKILL not being defined
  • [ ] Bug : Formatting strip spaces on blank lines (closes #699)
  • [ ] Bug : The 11th line is not displayed when there is exactly 11 lines of output (closes #709)
  • [ ] Tests : Write un...
ebon magnetBOT
#

Build 20191225.1 succeeded

Requested by

GitHub

Duration

00:01:35

Build pipeline

Bot

ebon magnetBOT
#

Build 20191225.1 succeeded

Requested by

Leon Sandรธy

Duration

00:01:13

Build pipeline

Django Simple Bulma

ebon magnetBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: bug/backend/b704/ready\-missing\-cache
regal archBOT
#

Fixes #704

Description

wait_until_guild_available

There is now a bot.wait_until_guild_available() coroutine which is similar to wait_until_ready().
https://github.com/python-discord/bot/blob/5c394a13ce20f48b33f500083946d64b927eeadc/bot/bot.py#L85
However, it waits for a specific guild (the Python Discord guild) to be be available. When a guild is available, it means the ready event must have already been dispatched and the cache already available (most importantly, it's...

ebon magnetBOT
#

Build 20191225.2 failed

Requested by

GitHub

Duration

00:01:32

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20191225.3 succeeded

Requested by

GitHub

Duration

00:01:23

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: discord\-testers\-whitelist
north knotBOT
ebon magnetBOT
#

Build 20191225.4 succeeded

Requested by

Leon Sandรธy

Duration

00:03:02

Build pipeline

Bot

oak estuaryBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20191226.1 succeeded

Requested by

GitHub

Duration

00:03:41

Build pipeline

Bot

oak estuaryBOT
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20191226.1 succeeded

Requested by

GitHub

Duration

00:03:41

Build pipeline

Site

native joltBOT
regal archBOT
ebon magnetBOT
#

Build 20191226.1 succeeded

Requested by

GitHub

Duration

00:01:15

Build pipeline

Django Simple Bulma

regal archBOT
ebon magnetBOT
#

Build 20191227.1 failed

Requested by

GitHub

Duration

00:01:25

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
#

LGTM. as for your questions:

The state has an afk attribute but I chose to omit it. See commit message for details.

with the channel name change, that makes sense.

Broadcasting may be a poor name given the "Go Live" streaming feature. The former is for using a camera while the latter is for sharing one's screen. Can anyone think of a better name than Broadcasting? Perhaps video was fine all along.

Broadcasting sounds fine.

Should broadcasting or streaming use green/red ic...

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20191227.2 failed

Requested by

GitHub

Duration

00:01:17

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#
[python-discord/branding] New branch created: sticker\_and\_banners
regal archBOT
#
[python-discord/snekbox] New branch created: proper\-chroot
north knotBOT
#

Postgres backup completed!

regal archBOT
#

Description

devfs and sysfs were problematic since they were being mounted as tmpfs, which is r/w. For example, the Python process could write to cgroups. Now, only what is needed to run Python gets mounted. This boils down to the venv itself and some shared libraries Python needs.

  • Use a config file for NsJail instead of command-line options
  • Map 65534 (nobody) user & group inside the user namespace to 65534 outside the namespace rather than mapping to current uid/guid (which...
ebon magnetBOT
#

Build 20191229.1 succeeded

Requested by

GitHub

Duration

00:03:42

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20191229.1 succeeded

Requested by

GitHub

Duration

00:01:48

Build pipeline

Bot

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: audio\-whitelist
ebon magnetBOT
#

Build 20191229.2 succeeded

Requested by

GitHub

Duration

00:01:31

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: audio\-whitelist
north knotBOT
ebon magnetBOT
#

Build 20191229.3 succeeded

Requested by

Leon Sandรธy

Duration

00:03:07

Build pipeline

Bot

oak estuaryBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: feat/watch/b713/show\-name\-if\-watched
ebon magnetBOT
#

Build 20191230.1 succeeded

Requested by

GitHub

Duration

00:01:52

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
#

Currently, when the shortened version of the description doesn't include a double newline or an ending sentence, the output will be the full scraped description which can be longer than the longest allowed embed or description length for discord:

This PR adds a few alternatives to a sentence end when looking up a description cutoff point and defaults to 1000 characters if none of those are found.

ebon magnetBOT
#

Build 20191231.1 succeeded

Requested by

GitHub

Duration

00:01:54

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
#

Snekbox

  • [ ] Mention that snekbox is an optional requirement.
  • [ ] Link to documentation for setting up snekbox (the README.md on GitHub is fine).
  • [ ] Document configuring urls.snekbox_eval_api in the config.

Tests

  • [ ] Show how to run tests and some basics on interpreting coverage results.
    • This could be a separate article so it can be shared with the site.
  • [ ] Link to the README.md in the tests directory on GitHub.
    • Yes, this does describes how run tes...
north knotBOT
#

Postgres backup completed!

native joltBOT
#
[python-discord/flake8-annotations] branch deleted: dependabot/pip/pipenv\-setup\-2\.2\.5
#
[python-discord/flake8-annotations] New branch created: dev\-next
#
[python-discord/flake8-annotations] branch deleted: ci\-adventures
#

A workaround has been identified in the upstream issue, allowing us to unblock & add this test into the next dev branch.

The immediate issue is apparently caused by the lack of an existing .coverage file when attempting to append coverage information. By specifying parallel runs in a .coveragerc file, the issue is resolved. It is not clear why the presence of subprocess brings out this issue, but the workaround...

north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20200103.1 failed

Requested by

GitHub

Duration

00:01:23

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200103.2 succeeded

Requested by

GitHub

Duration

00:01:37

Build pipeline

Bot

regal archBOT
#

Abstract

Each day when the off-topic channel names change, the bot will post in that channel announcing what name the channel changed to.

Specification

The post itself should look something along the lines of:

Channel name changed to ot0-channel-name

Additional features

Lemon and I thought it might be fun to add some metrics to this post. Namely the of number times this channel name has been picked, and the name's creation date. A possible format for this might look...

regal archBOT
#

As of right now, if you search the history of off-topic channels, there is no way of knowing what the channel name was at the time unless someone in the conversation history explicitly says what it is. And since the channel names are jokes, if you're reading the channel history and see people joking about whatever the name was at the time, you miss out on the joke!

How often is this actually a situation somebody actually finds themselves in?

The other reason I would like to see this...

regal archBOT
#

These are excellent points!

How often is this actually a situation somebody finds themselves in?

Probably not very much lol. But I personally have been in this situation more than once, as I often like to read channel history; but I'm probably in the minority there. I still think it would be a fun feature though regardless.

In regards to your point about the duplicate and modification of how we select new channel names:

  1. I didn't know about that issue, it's a great idea though.
    ...
north knotBOT
#

Postgres backup completed!

north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20200105.1 succeeded

Requested by

GitHub

Duration

00:01:43

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: dependabot/pip/django\-2\.2\.8
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20200105.2 succeeded

Requested by

GitHub

Duration

00:03:35

Build pipeline

Site

regal archBOT
north knotBOT
#

Postgres backup completed!

native joltBOT
#
[python-discord/flake8-annotations] New branch created: dependabot/pip/pipenv\-setup\-2\.2\.5
#

Bumps pipenv-setup from 2.2.4 to 2.2.5.

Release notes
Sourced from pipenv-setup's releases.

Minor Bug Fix
allow sync to work in the absence of lockfile if --pipfile flag is supplied

Commits

8e4d15e bump build on macOS 3.5.2 -> 3.5.7
3687ea1 lower colorama for python 3.4
a18a43e Merge remote-tracking branch 'origin/master' into sync-pipfile-wo-lockfile
bc633d8 allow pipfile sync w/o lockfile
f88ccfe ide files
bca4985 Create funding.yml ...

regal archBOT
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20200106.1 succeeded

Requested by

Leon Sandรธy

Duration

00:04:07

Build pipeline

Site

regal archBOT
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20200106.2 succeeded

Requested by

GitHub

Duration

00:03:24

Build pipeline

Site

native joltBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
north knotBOT
#

Postgres backup completed!

north knotBOT
#

Postgres backup completed!

regal archBOT
#

Sometime between Nov 11 and now, the output behavior of snekbox changed. Previously, code like this:

print(1)
raise ValueError()

Would reflect stderr and stdout in the output order (that is, the "1" in the output would come before the traceback. Sometime between Nov 11 and late Dec this behavior changed, with stderr coming before stdout in most (all?) cases. This is probably related to the change between ash and bash in 93dab0fa061fdfcf3fdb59210a220ae01c3b4a2e, since bash has buf...

regal archBOT
#
[python-discord/bot] New branch created: LordHemlock\-Invite\_White\_List
regal archBOT
ebon magnetBOT
#

Build 20200109.1 succeeded

Requested by

GitHub

Duration

00:01:30

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: LordHemlock\-Invite\_White\_List
north knotBOT
ebon magnetBOT
#

Build 20200109.2 succeeded

Requested by

GitHub

Duration

00:03:20

Build pipeline

Bot

oak estuaryBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
#

No, I don't feel like I understand the involved technologies well enough--most of my experience is outside the devops area, and I feel like this is pretty squarely in that direction. The core of the issue is that buffering is now occurring when there wasn't any before, but there's a large variety of solutions between shells, shell configuration, python configuration, and probably more I'm unaware of. I'm sure someone else has a better view of what could be done than I do.

north knotBOT
#

Postgres backup completed!

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20200111.1 succeeded

Requested by

Leon Sandรธy

Duration

00:03:11

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20200111.1 succeeded

Requested by

GitHub

Duration

00:03:37

Build pipeline

Snekbox

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: pep\-empty\-field\-fix
#

Some PEPs have a metadata field that is present but has an empty value (e.g. PEP 249), causing an exception to be raised when attempting to add it as an embed field value, which cannot be empty.

This refactors the information parsing to prevent the field from being added if there is no value to provide, as well as cut down on copy+paste when populating fields in the embed.

Closes #720

ebon magnetBOT
#

Build 20200111.2 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

half spokeBOT
#

<@&267628507062992896> WARNING: Unable to get DEFCON settings!

ebon bolt
#

noooo

#

bot staging how could you

regal archBOT
#
[python-discord/bot] New branch created: setup\-prometheus\-endpoint
half spokeBOT
#

<@&267628507062992896> WARNING: Unable to get DEFCON settings!

#

<@&267628507062992896> WARNING: Unable to get DEFCON settings!

regal archBOT
regal archBOT
#

Export metrics about guild members and guild messages by channel into Prometheus. This starts a background aiohttp web server on port 9330 which can then be scraped as needed.

Compared to the initial idea of using StatsD to push metrics elsewhere, this has the following advantages:

  • No user setup is required (the port is just opened, and done)
  • Automatically exports metrics about the Python interpreter (garbage collections, system version information)
  • On Linux, automatically exports...
ebon magnetBOT
#

Build 20200112.3 succeeded

Requested by

GitHub

Duration

00:01:35

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: pep\-empty\-field\-fix
#
[python-discord/bot] branch deleted: feat/watch/b713/show\-name\-if\-watched
#
[python-discord/bot] branch deleted: bug/mod/s317/explicit\-active\-value
north knotBOT
ebon magnetBOT
#

Build 20200112.4 succeeded

Requested by

GitHub

Duration

00:03:18

Build pipeline

Bot

oak estuaryBOT
north knotBOT
ebon magnetBOT
#

Build 20200112.5 succeeded

Requested by

GitHub

Duration

00:03:24

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20200112.6 succeeded

Requested by

GitHub

Duration

00:01:22

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200112.1 failed

Requested by

GitHub

Duration

00:01:21

Build pipeline

Site

regal archBOT
#
[python-discord/bot] New branch created: tagptroll1\-rules\-optional\-args
ebon magnetBOT
#

Build 20200112.7 failed

Requested by

GitHub

Duration

00:00:59

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20200112.8 succeeded

Requested by

GitHub

Duration

00:01:36

Build pipeline

Bot

ebon magnetBOT
#

Build 20200112.9 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: setup\-prometheus\-endpoint
north knotBOT
ebon magnetBOT
#

Build 20200112.10 succeeded

Requested by

GitHub

Duration

00:03:27

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] branch deleted: tagptroll1\-rules\-optional\-args
north knotBOT
ebon magnetBOT
#

Build 20200112.11 succeeded

Requested by

GitHub

Duration

00:03:11

Build pipeline

Bot

oak estuaryBOT
regal archBOT
north knotBOT