Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django-q with django-q2 #739

Draft
wants to merge 136 commits into
base: master
Choose a base branch
from
Draft

Update django-q with django-q2 #739

wants to merge 136 commits into from

Conversation

GDay
Copy link
Collaborator

@GDay GDay commented Mar 5, 2024

Still a work in progress. What needs to be done:

  • Update docs to use django-q (instead of django-q2) everywhere. PR: Docs updates django-q2/django-q2#163
  • Update workflow on django-q2 to push both packages to PyPI. (disable push when on the django-q repo)

After merge:

  • Go through all issues and PRs and close the ones that are not relevant anymore (have already been fixed)

LJlkdskdjflsa and others added 30 commits September 1, 2022 12:08
* refactor: show function name as it runs

* feat: log func name when processed

Co-authored-by: Noortheen Raja <[email protected]>
Migrate codecov to coveralls
* Fix readthedocs file

* remove trigger from test workflow
* Update django docs links to 4.0
* Update Django Q to Django Q2
* Use different theme to make difference more clear between the original and this forked one
* Added info notice about this fork
* Some small layout/typo fixes
Co-authored-by: ethemguner
* Add the group column to OrmQ admin page

* Add group field to tasks list and search_field

* Add search by name to Schedule admin page

* Limit succesful task history per schedule with SAVE_LIMIT_GROUP config

* Improve ScheduleAdmin list view performance

Co-authored-by: Marc Sabatier <[email protected]>
* feat: option to save tasks per group/func/name

* test: update tests for save limit

* fix: convert func when save-limit checking

when passed as function it needs to be converted to work

* Add warning if option is not valid

Co-authored-by: Noortheen Raja <[email protected]>
Instead of checking if the django-q logger has any handlers directly,
use the hasHandlers [1] method, which will check if any parent loggers
have handlers as well.

This fixes a bug where django-q configures it's own logging even though
the root logger has a handler set

 1. https://docs.python.org/3/library/logging.html#logging.Logger.hasHandlers

Co-authored-by: Wesley Ellis <[email protected]>
* fix django q2 install command and remove space

* remove warnings for very old versions
having build-system config helps installing  this without setup.py built
GDay and others added 30 commits May 6, 2024 17:28
* Replace black/isort with ruff

* fix typo
* add example project

* format

* fix format
* Add index on task table

* also add models file

* add make commands and limit index

* format
* Add twine check

* add poetry to install

* move up remove black/flake formatting

* fix path

* fix?

* fix rst?

* add rstcheck

* test all files?

* all

* remove complaining image

* only check readme

* remove not needed dependencies
* fix prometheus integration

* fix prometheus integration

* Add also lowercase option

As they seem to support that too: https://github.com/prometheus/client_python/blob/d7c9cd88c7f50097cd86869974301df7615bc9c0/prometheus_client/multiprocess.py#L166-L167

* format

---------

Co-authored-by: Stan Triepels <[email protected]>
* Update monitor.py

* format

---------

Co-authored-by: Stan Triepels <[email protected]>
* Fix 'receive_message_wait_time_seconds' SQS broker management

* Remove socket volume from localstack container
The file should not be installed directly in site-packages. Use the
correct include syntax to include them into the source distribution
package only.
- avoid extra queries when checking the count of success in db
* delete old code

* remove imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.