Opened 21 months ago

Last modified 7 weeks ago

#34479 new Cleanup/optimization

Support "watchfiles" in the autoreloader

Reported by: Tom Forbes Owned by:
Component: Utilities Version: 4.2
Severity: Normal Keywords:
Cc: Ülgen Sarıkavak, Evstifeev Roman, şuayip üzülmez Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As per https://forum.djangoproject.com/t/the-future-of-the-watchman-autoreloader/19973, I believe we should drop support for the pywatchman autoreloader backend and switch to watchfiles. The current pywatchman implementation is broken.

This should make it a bit easier to test, and the implementation seems like it will be simpler than our watchman implementation.

Change History (12)

comment:1 by David Sanders, 21 months ago

Triage Stage: UnreviewedAccepted
Type: New featureCleanup/optimization

Cool 👍 Looks like a fair bit of support from the community to improve it, just need to determine what the improvement is?

Are you going to assign yourself Tom?

comment:2 by David Sanders, 21 months ago

Owner: nobody removed
Status: assignednew

comment:3 by Anvansh Singh, 20 months ago

Seems like Tom already has a PR for it (https://github.com/django/django/pull/16747). But I don't think much work has been done on it in the past month. Anyways, I would like to work on this one if Tom isn't already working on it.

comment:4 by Ülgen Sarıkavak, 9 months ago

Cc: Ülgen Sarıkavak added

comment:5 by Mariusz Felisiak, 9 months ago

Ülgen, Can I ask why you added yourself to CC in hundreds of tickets in the last way days? You can use a django-updates mailing list or follow the timeline to track updates on all tickets.

in reply to:  5 ; comment:6 by Ülgen Sarıkavak, 9 months ago

Replying to Mariusz Felisiak:

Ülgen, Can I ask why you added yourself to CC in hundreds of tickets in the last way days? You can use a django-updates mailing list or follow the timeline to track updates on all tickets.

Hey Maurizs. I was checking issues before the next sessions of Djangonaut Space and GSoC. According to my notes, it shouldn't be more than 50 issues so far, and I did go over almost 600 issues to select a small portion of them that interests me and the people I work with. I believe this is a proper use of the CC feature, but if it is creating notifications for all those other people and there is no way to deactivate it on my end, I'll be more careful about it. Thanks for the comment and the direction.

Last edited 9 months ago by Ülgen Sarıkavak (previous) (diff)

in reply to:  6 comment:7 by Mariusz Felisiak, 9 months ago

Replying to Ülgen Sarıkavak:

According to my notes, it shouldn't be more than 50 issues so far,

120 :) I think it's more than enough for GSoC and Djangonaut space. Crossing fingers that they will be fixed by you.

comment:8 by Ülgen Sarıkavak, 9 months ago

Got it, thanks again. I'll do my best, at least for a couple of them :)

Last edited 9 months ago by Ülgen Sarıkavak (previous) (diff)

comment:9 by Ahmed Ibrahim, 4 months ago

What's the status here?

comment:10 by Ahmed Ibrahim, 2 months ago

News? and where can I build consensus? the mailing list is read only

comment:11 by Evstifeev Roman, 8 weeks ago

Cc: Evstifeev Roman added

comment:12 by şuayip üzülmez, 7 weeks ago

Cc: şuayip üzülmez added
Note: See TracTickets for help on using tickets.
Back to Top