#dev-log

1 messages ยท Page 34 of 1

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20190916.5 succeeded

Requested by

Leon Sandรธy

Duration

00:07:17

Build pipeline

Bot

oak estuaryBOT
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20190916.6 succeeded

Requested by

GitHub

Duration

00:07:38

Build pipeline

Bot

oak estuaryBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
ebon magnetBOT
#

Build 20190917.1 failed

Requested by

GitHub

Duration

00:01:14

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190917.2 succeeded

Requested by

GitHub

Duration

00:03:05

Build pipeline

Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20190917.3 succeeded

Requested by

GitHub

Duration

00:08:10

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] branch deleted: bot\-utils\-checks\-use\-fixture
#
[python-discord/bot] branch deleted: add\-converter\-tests
north knotBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20190917.4 succeeded

Requested by

GitHub

Duration

00:08:00

Build pipeline

Bot

regal archBOT
#
[python-discord/site] New branch created: infractions\-default\-ordering
#

The most recent infraction a user has is usually the most relevant to us. This PR aims to make the life of moderators easier by sorting the infractions by their inserted_at date, with the most recently inserted infractions first.

Note: The id field does not have an entirely chronological order, because we did not import historical infractions in chronological order. That's why the inserted_at field is chosen instead of the id field.

ebon magnetBOT
#

Build 20190917.5 succeeded

Requested by

Scragly

Duration

00:02:54

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190917.1 succeeded

Requested by

GitHub

Duration

00:04:03

Build pipeline

Site

#

Build 20190917.6 succeeded

Requested by

GitHub

Duration

00:03:06

Build pipeline

Bot

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

Build 20190917.7 succeeded

Requested by

GitHub

Duration

00:08:15

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20190917.8 succeeded

Requested by

GitHub

Duration

00:02:58

Build pipeline

Bot

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

Build 20190917.9 succeeded

Requested by

GitHub

Duration

00:08:08

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20190917.10 failed

Requested by

GitHub

Duration

00:03:21

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190917.11 succeeded

Requested by

GitHub

Duration

00:03:06

Build pipeline

Bot

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

Build 20190917.12 succeeded

Requested by

GitHub

Duration

00:07:39

Build pipeline

Bot

oak estuaryBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: enhance\-offtopicnames\-search
regal archBOT
#

There's a more colorful description, with examples, in the issue: #435. The examples there were generated using this code.

Taken from commit cfb6b63:
This commit is meant to enhance the search feature in three separate, but related ways:

  1. By changing the type annotation of the query to OffTopicName, we will use the same character translation table for the query as we did when storing the off-topic name, leading to better matches.

  2. By adding a membership test, query in name...

ebon magnetBOT
#

Build 20190917.13 succeeded

Requested by

GitHub

Duration

00:02:56

Build pipeline

Bot

regal archBOT
#
[python-discord/site] New branch created: container\-refinement
regal archBOT
#

I've done some refinement for the Dockerfiles. This has resulted in the following improvements:

  • Build time is reduced from 1:08 to 0:50 when tested on my machine.
  • Image size is reduced from 549.2 MB to 466.2MB

Change Details

  • Dockerfile.local has been changed to local.Dockerfile for better filetype detection.

  • Changed from interactive adduser command that resulted in logged warnings to the non-interactive useradd command.

    • --system makes it a homeless non-lo...
ebon magnetBOT
#

Build 20190917.2 succeeded

Requested by

GitHub

Duration

00:04:35

Build pipeline

Site

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190917.3 succeeded

Requested by

GitHub

Duration

00:03:35

Build pipeline

Site

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190917.4 succeeded

Requested by

GitHub

Duration

00:03:37

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190917.5 succeeded

Requested by

GitHub

Duration

00:04:37

Build pipeline

Site

regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
#
[python-discord/bot] New branch created: codeblock\-suggestion\-escape\-markdown
#

If the content we prepare for the codeblock suggestion embed defined in the bot cog contains markdown characters (e.g., __, **), this will cause Discord to apply markdown, since both the codeblock syntax example as well as the codeblock result example will contain the
characters, making it a matched formatting pair.

This will hide those characters, which often have a function in the code, and break the example of a formatted codeblock:
![2019-09-18_09-06](https://user-images.github...

ebon magnetBOT
#

Build 20190918.1 succeeded

Requested by

GitHub

Duration

00:03:03

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20190918.2 succeeded

Requested by

GitHub

Duration

00:08:24

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] New branch created: hemlock\-infraction\-date\-humanization
ebon magnetBOT
#

Build 20190918.3 succeeded

Requested by

GitHub

Duration

00:02:41

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: codeblock\-suggestion\-escape\-markdown
north knotBOT
ebon magnetBOT
#

Build 20190918.1 succeeded

Requested by

GitHub

Duration

00:06:43

Build pipeline

Site

north knotBOT
ebon magnetBOT
#

Build 20190918.4 succeeded

Requested by

GitHub

Duration

00:08:09

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190918.5 succeeded

Requested by

GitHub

Duration

00:02:42

Build pipeline

Bot

#

Build 20190918.7 succeeded

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

#

Build 20190918.9 failed

Requested by

GitHub

Duration

00:02:27

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190918.10 succeeded

Requested by

GitHub

Duration

00:02:43

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190918.12 succeeded

Requested by

GitHub

Duration

00:02:58

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: bot\-cogs\-information\-tests
ebon magnetBOT
#

Build 20190918.13 succeeded

Requested by

GitHub

Duration

00:02:39

Build pipeline

Bot

north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20190918.14 succeeded

Requested by

GitHub

Duration

00:07:52

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#

When an user posts a codeblock that takes up a majority of the discord message view, it can become difficult to view the code while also communicating with the helped user which usually results in the !paste tag being sent.

Automating that task in some way could result in the use of the hastebin being used more widely and cleaning up the channels a bit by being suggested right away.
Adjusting the flood prevention when code is present may also help the case, for example by sending them a...

ebon magnetBOT
#

Build 20190918.15 succeeded

Requested by

GitHub

Duration

00:02:42

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190918.16 succeeded

Requested by

GitHub

Duration

00:02:49

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190918.17 succeeded

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

#

Build 20190918.18 succeeded

Requested by

GitHub

Duration

00:02:54

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: hemlock\-infraction\-date\-humanization
#
[python-discord/bot] branch deleted: enhance\-offtopicnames\-search
ebon magnetBOT
#

Build 20190918.20 succeeded

Requested by

GitHub

Duration

00:02:39

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20190918.19 succeeded

Requested by

GitHub

Duration

00:08:16

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20190918.21 succeeded

Requested by

GitHub

Duration

00:03:00

Build pipeline

Bot

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

Build 20190918.22 succeeded

Requested by

GitHub

Duration

00:07:47

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/site] New branch created: update\-linting
regal archBOT
ebon magnetBOT
#

Build 20190918.23 succeeded

Requested by

GitHub

Duration

00:03:41

Build pipeline

Bot

ebon magnetBOT
#

Build 20190919.1 failed

Requested by

GitHub

Duration

00:01:13

Build pipeline

Site

ebon magnetBOT
#

Build 20190919.2 succeeded

Requested by

GitHub

Duration

00:04:46

Build pipeline

Site

north knotBOT
#

Postgres backup completed!

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20190919.1 succeeded

Requested by

GitHub

Duration

00:08:07

Build pipeline

Bot

oak estuaryBOT
regal archBOT
oak estuaryBOT
regal archBOT
#

Partial review, my time's up for now, but I think leaving a partial review speeds up the process with such a large number of changes. I've gone through the files manually and checked the function signatures myself.

Also, why doesn't this cause a linting error? It seems to be missing a return type annotation:

https://github.com/python-discord/bot/blob/138567f371fa2db8675c2b5661ff5526e774335a/bot/pagination.py#L303-L306

#

inner does not return a callable, but a union of None and the return value of the decorated original callable (func) in return await func(...).

Since we don't strictly enforce commands to return None, by allowing the return await ctx.send pattern, I don't think we can make a reasonable assumption of what func will return, so I guess we could use Optional[Any] or something.

        async def inner(self: Callable, ctx: Context, *args, **kwargs) -> Optional[A...
ebon magnetBOT
#

Build 20190919.2 failed

Requested by

GitHub

Duration

00:02:10

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190919.3 succeeded

Requested by

GitHub

Duration

00:02:50

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190919.4 succeeded

Requested by

GitHub

Duration

00:03:05

Build pipeline

Bot

regal archBOT
#

This does not return the OrderedDict itself, but an item from that dict:
https://github.com/python-discord/bot/blob/f30dcc476a4233eb4785ab0c6996225f3c440caf/bot/cogs/doc.py#L55

The values that it returns are just cached return values from the function it decorates and that one is annotated with Optional[Embed], so this decorator returns that, too. However, It's not strictly said that we will never use this decorator for another function, so maybe Any or Optional[Any] would be bett...

regal archBOT
ebon magnetBOT
#

Build 20190919.5 failed

Requested by

GitHub

Duration

00:02:08

Build pipeline

Bot

#

Build 20190919.6 failed

Requested by

GitHub

Duration

00:02:09

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190919.7 succeeded

Requested by

GitHub

Duration

00:03:04

Build pipeline

Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190919.9 succeeded

Requested by

GitHub

Duration

00:02:56

Build pipeline

Bot

#

Build 20190919.8 succeeded

Requested by

GitHub

Duration

00:02:57

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190919.10 succeeded

Requested by

GitHub

Duration

00:02:56

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190920.1 succeeded

Requested by

GitHub

Duration

00:04:30

Build pipeline

Site

north knotBOT
#

Postgres backup completed!

regal archBOT
#

What should I do with this PR? Make it a test-only PR? In that case I should probably clean up the history with a force push

Let's revitalize this PR.

I think it's a good idea to have a couple of test cases in place for that regex validation. I know it's not a strict requirement for the test coverage in terms of lines touched during testing, but it would be beneficial in terms of feature coverage.

regal archBOT
#
[python-discord/site] New branch created: line\_ending\_fix
ebon magnetBOT
#

Build 20190920.2 succeeded

Requested by

GitHub

Duration

00:04:37

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: line\_ending\_fix
north knotBOT
ebon magnetBOT
#

Build 20190920.3 succeeded

Requested by

GitHub

Duration

00:07:36

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190920.4 succeeded

Requested by

GitHub

Duration

00:04:37

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: container\-refinement
ebon magnetBOT
#

Build 20190920.6 succeeded

Requested by

GitHub

Duration

00:04:32

Build pipeline

Site

#

Build 20190920.5 failed

Requested by

GitHub

Duration

00:05:56

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: infractions\-default\-ordering
ebon magnetBOT
#

Build 20190920.1 succeeded

Requested by

GitHub

Duration

00:03:55

Build pipeline

Bot

#

Build 20190920.7 failed

Requested by

GitHub

Duration

00:05:05

Build pipeline

Site

regal archBOT
#

Here are a few:

  • parse_rfc1123: a string that is not in the correct format.
    • Maybe this shouldn't be tested since it really just tests if strptime raises an exception (which I think we can safely assume will always happen since it's the standard library?)
  • humanize_delta: an unsupported precision
  • humanize_delta: max_units above what's supported or negative
  • wait_until: a start that's in the future relative to time (difference results in negative seconds)
#
[python-discord/site] New branch created: citest
north knotBOT
ebon magnetBOT
#

Build 20190920.8 succeeded

Requested by

Scragly

Duration

00:06:14

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: citest
north knotBOT
ebon magnetBOT
#

Build 20190920.9 succeeded

Requested by

GitHub

Duration

00:06:59

Build pipeline

Site

regal archBOT
regal archBOT
#
[python-discord/site] New branch created: docker\-fix
ebon magnetBOT
#

Build 20190921.2 succeeded

Requested by

GitHub

Duration

00:04:32

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: docker\-fix
north knotBOT
ebon magnetBOT
#

Build 20190921.3 succeeded

Requested by

GitHub

Duration

00:07:42

Build pipeline

Site

regal archBOT
#
[python-discord/site] New branch created: bad\-lint\-tester
regal archBOT
#
[python-discord/site] New branch created: ci\-job\-merge
ebon magnetBOT
#

Build 20190921.4 succeeded

Requested by

GitHub

Duration

00:03:36

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.5 succeeded

Requested by

GitHub

Duration

00:03:28

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.7 failed

Requested by

Scragly

Duration

00:01:09

Build pipeline

Site

#

Build 20190921.6 succeeded

Requested by

GitHub

Duration

00:03:31

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.8 failed

Requested by

GitHub

Duration

00:03:18

Build pipeline

Site

#

Build 20190921.9 succeeded

Requested by

GitHub

Duration

00:03:25

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.10 failed

Requested by

Scragly

Duration

00:01:14

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.11 failed

Requested by

Scragly

Duration

00:01:27

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.12 failed

Requested by

GitHub

Duration

00:01:32

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.13 failed

Requested by

GitHub

Duration

00:01:33

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.14 succeeded

Requested by

GitHub

Duration

00:02:00

Build pipeline

Site

#

Build 20190921.15 failed

Requested by

Scragly

Duration

00:01:59

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.16 succeeded

Requested by

GitHub

Duration

00:01:54

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.17 succeeded

Requested by

GitHub

Duration

00:01:56

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: ci\-job\-merge
north knotBOT
ebon magnetBOT
#

Build 20190921.18 succeeded

Requested by

GitHub

Duration

00:05:01

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190921.1 failed

Requested by

GitHub

Duration

00:00:00

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20190921.2 succeeded

Requested by

GitHub

Duration

00:02:39

Build pipeline

Snekbox

north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#

@MarkKoz No, but you asked what you had to do with this PR and it was getting stale. I tried answering that question by saying that I think that your tests are still a useful addition to the site, but I guess my wording threw you off.

It's currently conflicting with master, though, because of the now redundant changes in the model file. I wouldn't be opposed to you cleaning up the history in this case, since I don't think it's going to complicate reviews.

regal archBOT
regal archBOT
#
[python-discord/site] New branch created: docker\-refine2
regal archBOT
#

The last docker refinement resulted in uwsgi being installed from apt, which ended up causing an issue where the app was not discovered when the container was run. Due to that, it was set back to the original install through pip and building from source.

This PR applies another method instead, while also looking into the last few things that come to mind that would be able to improve the image speed and size.

uWSGI

A more python-friendly distribution package that is maintained by ...

ebon magnetBOT
#

Build 20190921.19 succeeded

Requested by

GitHub

Duration

00:01:55

Build pipeline

Site

regal archBOT
#

Currently, we have a !roles command, which lists out all the roles. However, it would also be useful to have a !role <role> command, to get more info on a certain role.

Implementation details

  • Ability to get info on multiple roles? !role <role_1> <role_2>
  • Info that would be helpful:
    • Role ID
    • Role Name
    • Role Color as hex/hsv
    • Is role mentionable
    • Number of members with the role? (Blacklist certain high volume, easily checked ones like `@Develope...
regal archBOT
ebon magnetBOT
#

Build 20190921.20 succeeded

Requested by

GitHub

Duration

00:02:00

Build pipeline

Site

regal archBOT
#
[python-discord/bot] New branch created: add\-role\-info\-command
ebon magnetBOT
#

Build 20190921.1 succeeded

Requested by

GitHub

Duration

00:03:59

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190921.2 succeeded

Requested by

GitHub

Duration

00:03:58

Build pipeline

Bot

native joltBOT
native joltBOT
#
[python-discord/flake8-annotations] branch deleted: type\-comment\-investigation
#
[python-discord/flake8-annotations] branch deleted: v1\.0\.1\-dev
#
[python-discord/flake8-annotations] New branch created: v1\.0\.1\-dev
plucky glen
#

I hate you

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

PR Placeholder for v1.1.0 release

  • Fix for #32 (Line number incorrect for return values in the presence of multiline docstrings)
  • Fix for #33 (Improper handling of nested functions in class methods)
  • Sync setup.py dev dependencies with Pipfile
  • Update setup.py metadata (#38)
  • Add issue templates (#35)
  • Add support for type comments (#36)

Closes: #32
Closes: #33
Closes: #35
Closes: #36

regal archBOT
#
[python-discord/site] branch deleted: django\-ot\-names
north knotBOT
ebon magnetBOT
#

Build 20190922.1 succeeded

Requested by

GitHub

Duration

00:05:13

Build pipeline

Site

regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
#

The background task we create to update off-topic names at midnight UTC fails if it receives a non-success API response. The reason is that our bot.api_client will raise the bot.api.ResponseCodeError exception on non-success response status codes. This means that the off-topic channel names won't be updated again until either the bot is restarted or the task is started manually again by an admin.

The relevant lines of code:
https://github.com/python-discord/bot/blob/e70c96248bd7b54841...

regal archBOT
#

My reasoning went along the lines of:

  • We're validating embed fields here, which, according the Discord API reference, should always have the type Dict[str, Union[str, bool]].
  • The tag validation function itself assumes that you pass an object of this form as well.

However, I think your point is that the purpose of a validation function is to validate if the object we pass in holds those and more stringent constraints. Honestly, I think we/I may be over-complicating this a bit, whi...

ebon magnetBOT
#

Build 20190922.2 succeeded

Requested by

GitHub

Duration

00:02:01

Build pipeline

Site

regal archBOT
regal archBOT
regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190922.1 succeeded

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190922.2 succeeded

Requested by

GitHub

Duration

00:02:42

Build pipeline

Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190922.5 succeeded

Requested by

GitHub

Duration

00:03:51

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190922.6 failed

Requested by

GitHub

Duration

00:02:58

Build pipeline

Bot

#

Build 20190922.7 failed

Requested by

GitHub

Duration

00:03:03

Build pipeline

Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190923.1 succeeded

Requested by

GitHub

Duration

00:01:54

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190923.1 failed

Requested by

GitHub

Duration

00:02:05

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190923.2 succeeded

Requested by

GitHub

Duration

00:02:49

Build pipeline

Bot

regal archBOT
#

034b901 Use a .whl for wiki package instead of git repo. - scragly
e885454 Change back to official python base image, remo... - scragly
90b4bfd Fix shell script name for whl building to refer... - scragly
ffec348 Install pipenv & pyuwsgi before copying project... - scragly
61b2a1c Readdressing Docker Refinement (#257) - scragly

#
[python-discord/site] branch deleted: docker\-refine2
north knotBOT
ebon magnetBOT
#

Build 20190923.2 succeeded

Requested by

GitHub

Duration

00:03:54

Build pipeline

Site

regal archBOT
regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20190923.3 succeeded

Requested by

GitHub

Duration

00:03:56

Build pipeline

Site

north knotBOT
#

Postgres backup completed!

regal archBOT
#
[python-discord/bot] branch deleted: flake8\-plugins
ebon magnetBOT
#

Build 20190923.4 succeeded

Requested by

GitHub

Duration

00:03:01

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20190923.3 succeeded

Requested by

GitHub

Duration

00:08:05

Build pipeline

Bot

oak estuaryBOT
regal archBOT
oak estuaryBOT
regal archBOT
#
[python-discord/bot] branch deleted: defcon\-fix\-django
north knotBOT
ebon magnetBOT
#

Build 20190923.5 succeeded

Requested by

GitHub

Duration

00:08:12

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] New branch created: docker\-ci\-refine
regal archBOT
regal archBOT
#

Finally, the last major repository to be looked at.

Dockerfile

The base image has been adjusted to use the now-preferred python:3.7-slim debian image, in-line with both site and seasonalbot after their respective refinements.
Closes #420

The Dockerfile has been brought out of it's docker directory as it's the only item within.

Comments have been added to the Dockerfile to encourage stages to be documented if changes occur in future and to aid in ensuring it's easy to...

ebon magnetBOT
#

Build 20190923.6 succeeded

Requested by

GitHub

Duration

00:01:51

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190923.7 succeeded

Requested by

GitHub

Duration

00:01:47

Build pipeline

Bot

regal archBOT
regal archBOT
#

The tests @jchristgit has written for the ExpirationDate make me thing that it's meant to be used on ISO datetime strings like they are returned by our API:

@pytest.mark.parametrize(
    ('value', 'expected'),
    (
        # sorry aliens
        ('2199-01-01T00:00:00', datetime(2199, 1, 1)),
    )
)
def test_expiration_date_converter_for_valid(value: str, expected: datetime):
    converter = ExpirationDate()
    assert asyncio.run(converter.convert(None, value)) == expec...
ebon magnetBOT
#

Build 20190923.8 failed

Requested by

GitHub

Duration

00:02:16

Build pipeline

Bot

#

Build 20190923.9 succeeded

Requested by

GitHub

Duration

00:02:48

Build pipeline

Bot

regal archBOT
#

Sometimes one may have an idea of what the name of an object/attribute is but not which namespace it's in. It would be helpful to have a command which can return possible matches for a given term. I think the best format would be a paginated embed with a list of all matched names that are hyperlinked to their docs. Perhaps this would need to be a separate command so that the library name can be passed as a separate argument.

regal archBOT
ebon magnetBOT
#

Build 20190923.10 succeeded

Requested by

GitHub

Duration

00:03:07

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: duration\-converter\-fix
#

The current ExpirationDate converter does not convert duration strings to datetime.datetime objects correctly. To remedy the problem, I've written a new Duration converter that uses regex matching to extract the relevant duration units and dateutil.relativedelta.relativedelta to compute a datetime.datetime that's the given duration in the future.

I've left the old ExpirationDate converter in place for now, since the new Duration converter may not be the most optimal method. However...

ebon magnetBOT
#

Build 20190923.11 succeeded

Requested by

GitHub

Duration

00:02:59

Build pipeline

Bot

regal archBOT
#

Originally I was going to suggest changing the datetime import for the test module because this quite verbose. But, of course, datetime is a sin against PEP8 so it would possibly add confusion if it was imported another way. So I propose you use a parametrised fixture for this, and the fixture takes care of calling fromisoformat. I think a parameterised fixture would be the right way to do that.

regal archBOT
regal archBOT
#
[python-discord/snekbox] New branch created: add\-flake8\-annotations
ebon magnetBOT
#

Build 20190923.13 succeeded

Requested by

GitHub

Duration

00:02:39

Build pipeline

Bot

#

Build 20190923.1 succeeded

Requested by

GitHub

Duration

00:02:33

Build pipeline

Snekbox

ebon magnetBOT
#

Build 20190923.2 succeeded

Requested by

GitHub

Duration

00:02:22

Build pipeline

Snekbox

regal archBOT
#
[python-discord/snekbox] branch deleted: add\-flake8\-annotations
north knotBOT
ebon magnetBOT
#

Build 20190923.3 succeeded

Requested by

GitHub

Duration

00:03:13

Build pipeline

Snekbox

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

Build 20190923.14 succeeded

Requested by

GitHub

Duration

00:07:38

Build pipeline

Bot

oak estuaryBOT
regal archBOT
regal archBOT
regal archBOT
regal archBOT
#

This works fine for exact input(s), but I think the Greedy operator is more harmful than helpful here.

Along with being case-sensitive, it also partially surpresses some of the feedback from invalid parameters and stops parsing if an invalid role is found. I think the desired behavior could be accomplished with something along the lines of *roles: Union[Role, str] and a helper fallback converter (or just a custom converter).

regal archBOT
regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190924.2 succeeded

Requested by

GitHub

Duration

00:02:40

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: rich\-embed\-false\-positive\-fix
#

Rich Embed Filter Changes

The rich embed filter is plagued by false positives now Discord has added more custom preview embeds for various websites. Since these embeds have the rich type instead of the link type, they triggered the filter we have in place.

This commit remedies that by using the existing URL regex pattern to list all the URLs contained in the message content and then checking if the embed url is a member of that list. If so, it's very likely
that the embed was au...

ebon magnetBOT
#

Build 20190924.3 succeeded

Requested by

GitHub

Duration

00:03:05

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190924.5 succeeded

Requested by

GitHub

Duration

00:02:43

Build pipeline

Bot

regal archBOT
#

This looks promising, although it won't work in the current form. See my review comment.

From a more meta-perspective, one consequence this approach will have is that if we fail to update the off-topic names due to some temporary outage, they won't be updated until we hit the next UTC midnight. This is not that bad, but we could also think of rescheduling the name change, say, half an hour later if it fails instead of waiting a whole day to try again.

That said, the current changes will...

#

This won't work, since you're now trying to access the api attribute of the Bot object with the name bot, not the bot.api module:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 9, in func
  File "/home/sebastiaan/pydis/repositories/djangobot/bot/cogs/off_topic_names.py", line 56, in update_names
    except bot.api.ResponseCodeError as e:
AttributeError: 'Bot' object has no attribute 'api'
...
ebon magnetBOT
#

Build 20190924.6 failed

Requested by

GitHub

Duration

00:01:56

Build pipeline

Bot

ebon magnetBOT
#

Build 20190924.7 succeeded

Requested by

GitHub

Duration

00:02:51

Build pipeline

Bot

native joltBOT
regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190924.8 succeeded

Requested by

GitHub

Duration

00:01:44

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190924.9 succeeded

Requested by

GitHub

Duration

00:01:48

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190924.10 succeeded

Requested by

GitHub

Duration

00:01:40

Build pipeline

Bot

regal archBOT
#

fe9efe6 Reformat indents, use Docker@2 task for azure i... - scragly
6a2d6b9 Pin dependencies, pre-build regex pkg. - scragly
8755a93 Add a dev-only compose for new devs who don't h... - scragly
5fdaced Remove unneeded Pipfile scripts and azure stage... - scragly
4f11cbb Add docker build condition for CI. - scragly

#

Hey @Akarys42,

Your general fix is very solid, thanks.

The retry approach works well as well, but we had a conversation about the OffTopicNames cog in the core-dev team and decided that we currently don't want to use retry logic for the off-topic names. I know I was the one who suggested it in the first place, but could you remove it from your PR?

The main reason is that we're thinking of an alternative approach for the entire cog, now that we've got access to features like the new d...

north knotBOT
ebon magnetBOT
#

Build 20190924.11 succeeded

Requested by

GitHub

Duration

00:03:34

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20190924.12 succeeded

Requested by

GitHub

Duration

00:01:49

Build pipeline

Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20190924.13 succeeded

Requested by

GitHub

Duration

00:03:22

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20190924.14 succeeded

Requested by

GitHub

Duration

00:01:36

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: rich\-embed\-false\-positive\-fix
#
[python-discord/bot] New branch created: all\-the\-shields
north knotBOT
regal archBOT
ebon magnetBOT
#

Build 20190924.15 succeeded

Requested by

GitHub

Duration

00:03:33

Build pipeline

Bot

oak estuaryBOT
ebon magnetBOT
#

Build 20190924.16 succeeded

Requested by

GitHub

Duration

00:01:39

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: all\-the\-shields
north knotBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20190924.17 succeeded

Requested by

GitHub

Duration

00:03:24

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20190924.1 succeeded

Requested by

GitHub

Duration

00:04:25

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190924.2 succeeded

Requested by

GitHub

Duration

00:01:55

Build pipeline

Site

ebon magnetBOT
#

Build 20190924.18 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190924.19 succeeded

Requested by

GitHub

Duration

00:01:36

Build pipeline

Bot

regal archBOT
north knotBOT
ebon magnetBOT
#

Build 20190924.20 succeeded

Requested by

GitHub

Duration

00:03:26

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20190924.1 failed

Requested by

GitHub

Duration

00:00:30

Build pipeline

Snekbox

regal archBOT
#
[python-discord/bot] New branch created: hemlock\-change\-note\-type
ebon magnetBOT
#

Build 20190924.21 succeeded

Requested by

GitHub

Duration

00:01:37

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: hemlock\-change\-note\-type
north knotBOT
ebon magnetBOT
#

Build 20190924.22 succeeded

Requested by

GitHub

Duration

00:03:38

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/site] branch deleted: update\-linting
north knotBOT
ebon magnetBOT
#

Build 20190924.3 succeeded

Requested by

GitHub

Duration

00:04:49

Build pipeline

Site

regal archBOT
oak estuaryBOT
regal archBOT
#

If I'm correctly interpreting the intent of this issue as alleviating pains for local dev, I think the functionalilty introduced by #444 meets the spirit of this issue.

With this repository now providing the postgres backend via docker-compose, contributors are able to competently work on the bot solely from its own repo. As far as I can tell this provides a viable cross-platform experience with minimal additional setup (e.g. getting the bot token from the API) and no reliance on getting t...

regal archBOT
native joltBOT
regal archBOT
north knotBOT
#

Postgres backup completed!

regal archBOT
#

The new Infraction model has a specific type field option for notes that we recently started using (python-discord/bot#452). This means that we're now storing notes as "note" in the database and no longer use the misnomer of "hidden warning".

However, there are still a lot of "hidden warning" infractions in the database that were set prior to merging the PR referenced above. I th...

regal archBOT
#

When the need for taking notes arose, we started using "shadow warnings" to be able to record a note without sending a notification to the user. Since the latter is a misnomer for the former, we decided to create a separate infraction type in the back-end for notes, "note", and we recently started using it (see #452).

I think it's a good idea to completely remove the association between warnings and notes and treat them as completely different infraction types by removing the `"shadowwar...

regal archBOT
#
[python-discord/bot] New branch created: minor\-moderation\-mods
#

This PR addresses the following issues:

  • #318: Remove permanent mutes & add them as aliases of their respective tempmutes
  • #325: Remove infraction reason from confirmation message
  • #453: Decouple notes and warnings by removing the "shadow warning" aliases

And a Kaizen:

  • #385: Unhide the !tags command

I made these changes on a computer without Docker capabilities so I'm going to leave this as a draft until I can test this evening.

ebon magnetBOT
#

Build 20190925.1 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

native joltBOT
native joltBOT
#
[python-discord/flake8-annotations] New branch created: v1\.1\.1\-dev
regal archBOT
#
[python-discord/bot] New branch created: hemlock\-free\-fix
ebon magnetBOT
#

Build 20190925.2 succeeded

Requested by

GitHub

Duration

00:01:32

Build pipeline

Bot

regal archBOT
native joltBOT
regal archBOT
ebon magnetBOT
#

Build 20190925.3 succeeded

Requested by

GitHub

Duration

00:01:39

Build pipeline

Bot

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190925.4 succeeded

Requested by

GitHub

Duration

00:01:46

Build pipeline

Bot

regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: infraction\-edit\-merge
#

Closes #349.

Some things to note:

  • If the duration converter fails, the argument will instead be considered part of a reason. Therefore a typo like !infraction edit 1337 50 (missing a unit for the duration) will make the reason 50 and expiration unchanged.
  • The new reason is no longer displayed in the confirmation message. This is similar to #325.
  • The two old commands are gone. Only infraction edit can be used.
  • Expiration for all infractions can still be edited, even on...
ebon magnetBOT
#

Build 20190926.1 succeeded

Requested by

GitHub

Duration

00:01:36

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: hemlock\-free\-fix
north knotBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20190926.2 succeeded

Requested by

GitHub

Duration

00:03:33

Build pipeline

Bot

regal archBOT
#

Some things to note:

* If the duration converter fails, the argument will instead be considered part of a reason. Therefore a typo like `!infraction edit 1337 50` (missing a unit for the duration) will make the reason `50` and expiration unchanged.

* The new reason is no longer displayed in the confirmation message. This is similar to #38 

Your solution looks smart.

I'm debating with myself whether or not I should even add, so take this suggestion with a pinch of...

regal archBOT
#

In a slightly, let's call it "interesting", vote and debate with the moderation team, we decided that we want to display infraction datetime strings in an ISO-like string ("%Y-%m-%d %H:%M"), like here:

https://github.com/python-discord/bot/blob/1685d676008d3092fa1e2377769613a5063e10f8/bot/cogs/moderation.py#L1132

This has not been consistently changed throughout the cog, yet, and many occurrences of %c still exist. Nevertheless, I think we should strive for consistency and use the n...

#

Your current code does not give feedback when the duration was not changed.

Not explicitly. But if the "confirmation message" that is sent afterwards does not mention the duration but only the reason, then one can assume the duration did not change. Just want to be clear: are you saying that is not adequate? If that's the case, then sure I can agree to this:

A solution would be to always indicate if the duration field was touched, change or not.

#

Too bad we can't really mix "just" comments and requested changes, so I've added this as a separate comment.

Yesterday (for me) we briefly talked about being able to set exact dates instead of a relative duration for the expiration field. I've checked and I've not seen it used, so I'm not married to it. If we do want it, I may be better to have a separate converter that converts datetime strings of a certain format to a datetime instead of creating a hybrid one that both parses relative du...

north knotBOT
#

Postgres backup completed!

regal archBOT
regal archBOT
regal archBOT
#
[python-discord/site] New branch created: decoupling\-warnings\-and\-notes
regal archBOT
#

The Django rewrite introduced a new type of infraction: the note infraction; this new infraction type replaced the misnomer "hidden warnings". To retroactively apply this to historical infractions, the Django migration script stored all infractions that were stored as "hidden warnings" in the old database as notes in the new database. So far, so good.

Unfortunately, the new Django bot still sent notes as "hidden warnings" to the API, until this was corrected by python-discord/bot#452. Th...

ebon magnetBOT
#

Build 20190926.1 succeeded

Requested by

GitHub

Duration

00:02:22

Build pipeline

Site

regal archBOT
#

Raw text in editor:

1. Clone your forked repository using `git clone` followed by your fork's Git URL.
```
$ git clone https://github.com/kosayoda/seasonalbot
```
2. Once cloned, change your working directory to the repository:
```
$ cd seasonalbot
```

Intended output:

  1. Clone your forked repository using git clone followed by your fork's Git URL.
$ git clone https://github.com/kosayoda/seasonalbot
  1. Once cloned, change your working directory ...
regal archBOT
ebon magnetBOT
#

Build 20190926.3 succeeded

Requested by

GitHub

Duration

00:01:50

Build pipeline

Bot

regal archBOT
#

Yesterday (for me) we briefly talked about being able to set exact dates instead of a relative duration for the expiration field. I've checked and I've not seen it used, so I'm not married to it. If we do want it, I may be better to have a separate converter that converts datetime strings of a certain format to a datetime instead of creating a hybrid one that both parses relative durations and absolute datetime strings.

I currently see not no real use for it, though, although it coul...

regal archBOT
ebon magnetBOT
#

Build 20190926.4 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] branch deleted: minor\-moderation\-mods
north knotBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20190926.5 succeeded

Requested by

GitHub

Duration

00:03:26

Build pipeline

Bot

regal archBOT
#

It can be replaced, as far as I'm concerned. There's a utility function in the WatchChannel ABC that's used by the talentpool cog for a display that's very similar to the infraction search output. Originally, I had the idea of promoting that local utility function into a general one, but you've already taken care of that now.

The only thing left is testing, but you've probably thought of that as well. I guess we need to wait for #421 for that.

north knotBOT
ebon magnetBOT
#

Build 20190926.6 succeeded

Requested by

Sebastiaan Zeeff

Duration

00:03:25

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20190926.7 succeeded

Requested by

GitHub

Duration

00:01:38

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20190926.8 succeeded

Requested by

Sebastiaan Zeeff

Duration

00:03:31

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#

Our current condition for building and pushing the docker container to docker hub only checks the build is not a PullRequest (disregarding testing):

https://github.com/python-discord/bot/blob/7df21f2a702e99729c843cd26a61aca17ffba379/azure-pipelines.yml#L50-L53

This means that a manually triggered build (e.g., when a build fails to run for some reason and you trigger it yourself) for any branch, it will automatically build, push, and deploy the container. (This just happened...)

...

native joltBOT
#

I've created a new draft based on some input from @scragly

name: Publish to PyPI

on:
  release:
    types: [created]

jobs:
  build:
    name: Build dist & publish
    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v1
    - name: Set up Python
      uses: actions/setup-python@v1
      with:
        python-version: '3.x'

    - name: Install build dependencies & build
      run: |
        python -m pip install --upgrade pip
        pip ins...
regal archBOT
#

485b49b Fix AttributeError with cog special methods - MarkKoz
4881148 Merge infraction edit commands - MarkKoz
1685d67 Display "Permanent" in mod log for edited infra... - MarkKoz
7d9db39 Show when field is unchanged in infraction edit... - MarkKoz
666df81 Add utility function to consistently format inf... - MarkKoz

#
[python-discord/bot] branch deleted: infraction\-edit\-merge
north knotBOT
ebon magnetBOT
#

Build 20190927.1 succeeded

Requested by

GitHub

Duration

00:03:31

Build pipeline

Bot

oak estuaryBOT
regal archBOT
#
[python-discord/bot] New branch created: help\-fix
#

Per #456, the !help raises an AttributeError when fetching information for Cogs due to referencing of an attribute that is no longer present in d.py. The no longer present instance attribute has been replaced with cog_name .

This also kaizens in a fix for some incorrect kwargs in one of the watchchannel cog's mod log invocations.

Closes #456

ebon magnetBOT
#

Build 20190927.2 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

regal archBOT
#
[python-discord/bot] New branch created: update\-flake8\-annotations
ebon magnetBOT
#

Build 20190927.3 succeeded

Requested by

GitHub

Duration

00:01:35

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190927.4 succeeded

Requested by

GitHub

Duration

00:01:32

Build pipeline

Bot

regal archBOT
#
[python-discord/site] New branch created: update\-flake8\-annotations
#

This PR updates some of our dependency pinning

  • flake8-annotations v1.1 was recently released, which includes a fix for incorrect parsing of nested functions. No additional linting necessary.
  • flake8-bandit has been unpinned from v1.0.2 & brought back up to current. The issue that forced the earlier downgrade has been resolved upstream in bandit.

I'm leaving this as a draft so #218 can be addressed in this PR as well. Can...

ebon magnetBOT
#

Build 20190927.1 succeeded

Requested by

GitHub

Duration

00:01:58

Build pipeline

Site

regal archBOT
#
[python-discord/snekbox] New branch created: update\-flake8\-annotations
ebon magnetBOT
#

Build 20190927.1 failed

Requested by

GitHub

Duration

00:02:05

Build pipeline

Snekbox

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

Build 20190927.5 succeeded

Requested by

GitHub

Duration

00:01:38

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190927.2 failed

Requested by

GitHub

Duration

00:02:05

Build pipeline

Snekbox

regal archBOT
ebon magnetBOT
#

Build 20190927.6 succeeded

Requested by

GitHub

Duration

00:01:37

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

regal archBOT
#
[python-discord/bot] branch deleted: update\-flake8\-annotations
#
[python-discord/bot] New branch created: build\-docker\-on\-master\-only
north knotBOT
ebon magnetBOT
#

Build 20190927.7 succeeded

Requested by

GitHub

Duration

00:03:45

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20190927.9 succeeded

Requested by

GitHub

Duration

00:01:40

Build pipeline

Bot

regal archBOT
#
[python-discord/site] New branch created: build\-docker\-on\-master\-only
ebon magnetBOT
#

Build 20190927.2 succeeded

Requested by

GitHub

Duration

00:02:05

Build pipeline

Site

#

Build 20190927.10 succeeded

Requested by

Sebastiaan Zeeff

Duration

00:01:38

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20190927.11 succeeded

Requested by

GitHub

Duration

00:03:48

Build pipeline

Bot

north knotBOT
ebon magnetBOT
#

Build 20190927.3 succeeded

Requested by

GitHub

Duration

00:04:16

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190927.12 failed

Requested by

Leon Sandรธy

Duration

00:01:22

Build pipeline

Bot

regal archBOT
north knotBOT
oak estuaryBOT
ebon magnetBOT
#

Build 20190927.13 succeeded

Requested by

GitHub

Duration

00:03:42

Build pipeline

Bot

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

Build 20190927.3 failed

Requested by

GitHub

Duration

00:01:46

Build pipeline

Snekbox

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

Build 20190927.14 succeeded

Requested by

GitHub

Duration

00:01:39

Build pipeline

Bot

regal archBOT
regal archBOT
#
[python-discord/site] New branch created: new\-managepy
regal archBOT
#

I've done up a custom manage.py to suit a few custom purposes and to help aid a simplified development setup without resorting to additional shell scripts.

The SiteManager will handle preparing the server before running the correct process to serve the site based on if it's in a production or development environment.

In a development environment, the --debug flag is used to run. This adds the DEBUG environmental variable, the PostgreSQL database is checked that it's ready first befo...

ebon magnetBOT
#

Build 20190927.4 succeeded

Requested by

GitHub

Duration

00:02:00

Build pipeline

Site

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190927.15 succeeded

Requested by

GitHub

Duration

00:01:33

Build pipeline

Bot

regal archBOT
ebon magnetBOT
#

Build 20190927.5 succeeded

Requested by

GitHub

Duration

00:01:58

Build pipeline

Site

regal archBOT
#

The infraction search and edit commands should be separated from the moderation cog and put into a new cog. Should both the moderation and the new cog be moved into a moderation-related subpackage (moglog could go in there too)? If so, what would the package be named and what would the modules (yes, I mean the modules, not the cog classes) be named? Would the contents of utils/moderation.py be moved to the subpackages __init__?

regal archBOT
regal archBOT
ebon magnetBOT
#

Build 20190928.1 succeeded

Requested by

GitHub

Duration

00:01:36

Build pipeline

Bot

north knotBOT
#

Postgres backup completed!

oak estuaryBOT
oak estuaryBOT
regal archBOT
regal archBOT
#
[python-discord/bot] branch deleted: help\-fix
north knotBOT
ebon magnetBOT
#

Build 20190928.2 succeeded

Requested by

GitHub

Duration

00:03:35

Build pipeline

Bot

oak estuaryBOT
regal archBOT
ebon magnetBOT
#

Build 20190928.1 succeeded

Requested by

GitHub

Duration

00:01:57

Build pipeline

Site

regal archBOT
ebon magnetBOT
#

Build 20190928.2 succeeded

Requested by

GitHub

Duration

00:01:53

Build pipeline

Site

regal archBOT
#
[python-discord/bot] New branch created: new\-development\-workflow
regal archBOT
regal archBOT
#
[python-discord/site] New branch created: wiki\-static\-images
ebon magnetBOT
#

Build 20190928.3 succeeded

Requested by

GitHub

Duration

00:01:47

Build pipeline

Site

ebon magnetBOT
#

Build 20190928.4 succeeded

Requested by

GitHub

Duration

00:01:52

Build pipeline

Site

regal archBOT
#
[python-discord/site] branch deleted: wiki\-static\-images
north knotBOT
ebon magnetBOT
#

Build 20190928.5 succeeded

Requested by

GitHub

Duration

00:03:51

Build pipeline

Site

regal archBOT