#dev-log

1 messages ยท Page 61 of 1

regal archBOT
regal archBOT
#
[python-discord/forms-backend] branch deleted: renovate/uvicorn\-0\.x
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/webpack\-cli\-4\.x
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/react\-router\-dom\-5\.x
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/swc\-core\-1\.x
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/sentry\-monorepo
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/jest\-monorepo
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/font\-awesome
#
jb3
[python-discord/forms-backend] branch deleted: ks123/routes\-parsing
#
jb3
[python-discord/forms-frontend] New branch created: Switch\-suspense\-loader\-to\-RingLoader
#
[python-discord/forms-frontend] branch deleted: Switch\-suspense\-loader\-to\-RingLoader
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/sentry\-monorepo
#
jb3
[python-discord/forms-backend] branch deleted: ks123/form\-delete
regal archBOT
#
[python-discord/forms-backend] New branch created: sebastiaan/ci/status\-embed
regal archBOT
#
[python-discord/forms-backend] branch deleted: sebastiaan/ci/status\-embed
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: sebastiaan/ci/status\-embed
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: remove\-selenium
oak estuaryBOT
odd spireBOT
regal archBOT
#

This makes the script safer. e and pipefail I consider essentially for any non-trivial script to get some sane error handling behaviour.

        run: |
          set -euo pipefail
          curl -s -H "Authorization: token $GITHUB_TOKEN" ${{ github.event.workflow_run.artifacts_url }} > artifacts.json

Also consider setting x, which will output each command as its executed for debugging purposes.

The || exit ... will no longer be necessary after commands unl...

regal archBOT
#
[python-discord/forms-backend] New branch created: ks123/response\-delete
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/sir-lancebot] branch deleted: sebastiaan/advent\-of\-code/refactor\-background\-tasks
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
#
jb3
[python-discord/forms-frontend] New branch created: bugfix/webpack\-config
#

@MarkKoz we could start every name specific to the test suite with something like __PyDisTest_ (I believe PyCharm does something like this for its debugger), while also checking if the set of names defined in the user's submission is a subset of the ones we expect to run tests with. I don't know off the top of my head what changing those configurations for snekbox would entail but I'll of course wait to see what Akarys says before doing any work towards this.

regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: bugfix/webpack\-config
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: add\-cross\-env
#
jb3
[python-discord/forms-backend] branch deleted: ks123/response\-delete
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/forms-backend] New branch created: docs/api\-spec
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] New branch created: submission\-timestamp
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] branch deleted: submission\-timestamp
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] branch deleted: docs/api\-spec
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] New branch created: discord\-webhook
regal archBOT
#
[python-discord/async-rediscache] New branch created: release/0\.1\.3
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: renovate/webpack\-5\.x
regal archBOT
#

Hello @GitHubEmploy,

Since this change doesn't seem to have any linked issues, neither any reasoning about why this change has been made, I'm going to close this PR.
Feel free to add a comment explaining why do you think we should ignore this flake8 error.

Thanks for your interest in our project!

If you don't change this, the program will become liable for crashing randomly. After this, It will stop, IDK why, but for me when I changed this it stopped. You guys can resear...

regal archBOT
#
[python-discord/async-rediscache] branch deleted: release/0\.1\.3
#
[python-discord/async-rediscache] New branch created: release/0\.2\.0
#
[python-discord/async-rediscache] New branch created: release/0\.1\.3
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/webpack\-5\.x
#

It's high time for a new release of Async RedisCache. This new version will bring a number of new features to this package and add a deprecation warning to the usage of NamespaceLock.

New features

Atomic Compound Operations

All compound operations consisting of multiple Redis commands should now be atomic from a Redis perspective due to the usage of a Lua Redis script that adds the missing functionality.

RedisQueue Task Iteration

You can now iterate over a RedisQueue w...

#
[python-discord/async-rediscache] New tag created: v0\.2\.0\-rc2
#
[python-discord/forms-frontend] New branch created: renovate/sentry\-monorepo
#
[python-discord/async-rediscache] New tag created: v0\.2\.0\-rc3
#
[python-discord/async-rediscache] branch deleted: release/0\.1\.3
regal archBOT
#
[python-discord/async-rediscache] New tag created: v0\.2\.0\-rc4
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/sentry\-monorepo
#
[python-discord/async-rediscache] New tag created: v0\.2\.0
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: swfarnsworth/developer\_command
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] New branch created: ks123/form\-patch
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] New branch created: ks123/dns\-check\-remove
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/forms-backend] branch deleted: ks123/dns\-check\-remove
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
regal archBOT
#
jb3
[python-discord/bot] New branch created: native\-gating
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: native\-gating
oak estuaryBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
oak estuaryBOT
regal archBOT
#
jb3

We want to DM users some information once they pass the native Discord verification gate. To do this we need to watch for the pending attribute of the user change from True to False.

As of now we have implemented this by keeping track of a list of users who need to receive a welcome DM in a set called pending_members in the Verification cog but we should switch this to use on_member_update(before, after) as soon as discord.py makes this available.

Once a user passes the nati...

regal archBOT
#
jb3
[python-discord/bot] New branch created: native\-gating\-two\-user\-boogaloo
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: native\-gating\-two\-user\-boogaloo
oak estuaryBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] New branch created: metricity\-temp\-fix
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
oak estuaryBOT
odd spireBOT
odd spireBOT
regal archBOT
#

I put this currently to stalled and planning status. We can currently discuss, is this good feature and worth implementing, but until Dewikification project is done, nothing can be actually done. Currently resources is stored in HTML article and there is not way to fetch these without writing complex HTML parsers. After Dewikification is done, we are able to build simple API for such data.

regal archBOT
#
[python-discord/bot] New branch created: ks123/sentry
odd spireBOT
regal archBOT
#
[python-discord/sir-lancebot] New branch created: ks123/sentry
#

Relevant Issues

Approved in #dev-core.

Description

  • Bumped Sentry SDK version from 0.14 to 0.19.
  • Added Redis and aiohttp integrations to Sentry SDK initializing.
  • Added workflow for creating Sentry releases (based on site's one).

Did you:

  • [x] Join the Python Discord Community?
  • [x] If dependencies have been added or updated, run pipenv lock?
  • [x] Lint your code (pipenv run lint)?
  • [x] Set the PR to **allo...
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/bot] New branch created: bug/backend/bot\-j8/api\-session\-closed
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] New branch created: bug/precommit\-pycharm
#

Running the hook through PyCharm used to work a long time ago due to a pipenv bug which eventually got fixed. Now it normally fails because PIPENV_IGNORE_VIRTUALENVS is unset. Manually editing the hook and adding os.putenv('PIPENV_IGNORE_VIRTUALENVS', '1') or similar fixes it.

Recently, I've found out about language: system for the hook, which is a better alternative to setting the environment variable. As per https://github.com/pre-commit/pre-commit/issues/1412#issuecomment-61926374...

odd spireBOT
regal archBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: metricity\-temp\-fix
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
#

Thanks for your first contribution. Unfortunately, this PR is currently pretty far off the mark. I get the sense you did not attempt to run and test this feature. I understand setting up a dev environment in which to run the bot is tedious at the moment, but I encourage you to try to run it locally to test your changes before pushing them.

Speaking of dev environments, you really should get the pre-commit hook set up at the least. This is written in our contributing guidelines. Please re...

#
[python-discord/bot] branch deleted: bug/backend/bot\-j8/api\-session\-closed
oak estuaryBOT
odd spireBOT
regal archBOT
#

Sentry Issue: BOT-JE

last_refreshed_peps may be unset if an error was encountered with refresh_peps_urls, such as the rate limit in #1335

TypeError: unsupported operand type(s) for +: 'NoneType' and 'datetime.timedelta'
  File "discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "bot/exts/utils/utils.py", line 244, in pep_command
    if not (pep...
regal archBOT
#

477af4e Add GitHub API key to config as environment var... - ks129
de3dd22 Move PEP related functions and command to own cog - ks129
d9fed58 Set last PEPs listing at beginning of function - ks129
b7ab159 Make last PEPs listing refresh non-optional - ks129
4527f9a Log warning and return early when can't get PEP... - ks129

#
[python-discord/bot] New branch created: ks123/pep
regal archBOT
regal archBOT
regal archBOT
#

Increment and decrement now return the new value in version 0.3.0.

Could you explain your idea about generics for the type? The types supported by the framework are specific: By supporting generics on the various Redis types, we may give the impression that we support storing generic types. We don't, we only support the four specific types listed in the alias and we use the aliases to indicate which specific types we expect for the various arguments (and return types).

Now, my experienc...

regal archBOT
#
[python-discord/site] New branch created: ks123/sentry
odd spireBOT
regal archBOT
#
[python-discord/snekbox] New branch created: ks123/sentry
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
oak estuaryBOT
odd spireBOT
regal archBOT
regal archBOT
#
[python-discord/snekbox] branch deleted: ks123/sentry
regal archBOT
regal archBOT
#
[python-discord/sir-lancebot] branch deleted: ks123/sentry
night lilyBOT
#
Sir Lancebot

Connected!

odd spireBOT
regal archBOT
#

So the most probable cause for this to happen would be if the webhook feature was enabled, but the webhook link wasn't entered/was removed from the website. This might happen if we for example have an on/off toggle for the hooks, and a separate field to enter the URLs.

What this means, is that it is probably not an error, rather the form is just waiting on a URL to be setup. Ideally, this would be some sort of warning icon on the frontend. If we want to alert the user to an error happening...

regal archBOT
#
[python-discord/forms-frontend] New branch created: renovate/emotion\-monorepo
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/eslint\-7\.x
#
[python-discord/forms-frontend] branch deleted: renovate/emotion\-monorepo
regal archBOT
#
jb3
[python-discord/forms-backend] branch deleted: ks123/form\-patch
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
#

Description

IGDB shut down APIv3 in October 2020. games command is currently built to use v3 of API, but now, when URLs is gone, this command is currently not usable. Command must be migrated APIv4, about to what migrating can be read https://api-docs.igdb.com/#upgrading-to-v4-from-v3.

Steps to Reproduce

When you have API key of IGDB, then genres refreshing task fails, because API not found, also command fails.

Expected Behaviour

Should successfully refresh genres an...

odd spireBOT
regal archBOT
regal archBOT
#
jb3
[python-discord/bot] branch deleted: ks123/sentry
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: ks123/sentry
odd spireBOT
regal archBOT
regal archBOT
odd spireBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: renovate/typescript\-eslint\-monorepo
#
[python-discord/forms-backend] New branch created: big\-int\-fix
odd spireBOT
regal archBOT
regal archBOT
#
jb3
[python-discord/forms-backend] branch deleted: discord\-webhook
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/forms-backend] branch deleted: big\-int\-fix
odd spireBOT
regal archBOT
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/typescript\-eslint\-monorepo
#

Bumps node-notifier from 8.0.0 to 8.0.1.

Changelog
Sourced from node-notifier's changelog.

v8.0.1

fixes possible injection issue for notify-send

Commits

5d62799 v8.0.1
0c4a80d chore: adds changelog
f5a7bc6 fix: test cases
b9d148d patch: fixes possible injection issue for notify-send
See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=node-no...

#
[python-discord/forms-frontend] New branch created: dependabot/npm\_and\_yarn/node\-notifier\-8\.0\.1
#
jb3
[python-discord/forms-frontend] branch deleted: dependabot/npm\_and\_yarn/node\-notifier\-8\.0\.1
regal archBOT
#
[python-discord/site] New branch created: lemon/bug/too\_many\_github\_api\_requests
#

Previously, we were operating under a bad assumption that we would be
updating the last_updated field in the RepositoryMetadata objects
whenever we updated the objects with new data from the GitHub API.

Upon closer inspection, this is not at all what we're doing, and some of
those repository objects had not been updated in over a year!

This introduces auto_now to the field, which will ensure that it is
automatically updated whenever the object is updated.

odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
jb3
[python-discord/site] branch deleted: lemon/bug/too\_many\_github\_api\_requests
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] New branch created: modify\-patch\-behavior
odd spireBOT
regal archBOT
#
jb3
[python-discord/forms-backend] branch deleted: modify\-patch\-behavior
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: renovate/emotion\-monorepo
#
[python-discord/forms-frontend] branch deleted: renovate/emotion\-monorepo
#
[python-discord/forms-frontend] branch deleted: renovate/axios\-0\.x
regal archBOT
#
[python-discord/forms-backend] New branch created: ks123/admin\-adding
odd spireBOT
regal archBOT
#
[python-discord/forms-backend] New branch created: renovate/pyjwt\-2\.x
odd spireBOT
oak estuaryBOT
regal archBOT
regal archBOT
#

Description

Python 3.9.1 has been released today (yay!), which means that it's mature enough for us to start looking into upgrading the Python version of sir-lancebot. We'll obviously have to make sure all our dependencies support 3.9 and everything works well, but it would be nice to use the new language features.

Reasoning

It's better to keep up with Python version, adjusting our code base as required, than making a major leap in major versions with a potential more sizeable mi...

regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/forms-frontend] New branch created: preview\-form\-rendering
#
jb3
[python-discord/forms-frontend] branch deleted: renovate/font\-awesome
regal archBOT
#
[python-discord/forms-backend] New branch created: ks123/responses\-bulk\-delete
odd spireBOT
regal archBOT
#
jb3
[python-discord/forms-backend] branch deleted: renovate/pyjwt\-2\.x
#
jb3
[python-discord/site] branch deleted: joseph/add\-form\-system
#
jb3
[python-discord/site] branch deleted: revert\-348\-off\-topic\-non\-random
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
odd spireBOT
regal archBOT
regal archBOT
regal archBOT
#

477af4e Add GitHub API key to config as environment var... - ks129
de3dd22 Move PEP related functions and command to own cog - ks129
d9fed58 Set last PEPs listing at beginning of function - ks129
b7ab159 Make last PEPs listing refresh non-optional - ks129
4527f9a Log warning and return early when can't get PEP... - ks129

#
[python-discord/bot] branch deleted: ks123/pep
oak estuaryBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT
regal archBOT
#
[python-discord/bot] branch deleted: swfarnsworth/developer\_command
oak estuaryBOT
odd spireBOT
regal archBOT
#

so people can type hint a specific redis cache (e.g., say "this RedisCache maps str -> str only, not all allowed redis types")?

Yes, it would give people the option of specifying which of all redis-compatible types a specific RedisCache is intended to deal with.

What if someone assumes that they'd now be able to add arbitrary types, such as a user-defined type, because they can type hint it using the generic?

Based on my understanding of the specification of typing.TypeVar, we ...

regal archBOT
regal archBOT
odd spireBOT
regal archBOT
odd spireBOT