Ticket #4711 enhancement assigned

Opened 3 years ago

Last modified 6 weeks ago

Remove usage of FilePath.statinfo in twisted

Reported by: cyli Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch: branches/begin-convert-usages-of-filepath-statinfo-4711
Author: cyli Launchpad Bug:

Description

FilePath.statinfo should be deprecated (see #4450) and thus it should no longer be used in Twisted.

It is still used in twisted.protocols.ftp, and twisted.web2.static

Change History

1

Changed 3 years ago by cyli

  • branch set to branches/remove-usages-of-filepath-statinfo-4711
  • branch_author set to cyli

(In [30173]) Branching to 'remove-usages-of-filepath-statinfo-4711'

2

Changed 3 years ago by cyli

Usage of FilePath.statinfo cannot be removed yet because FilePath does not provide accessors for some of the fields. So this ticket is on hold until #4712 is resolved.

3

Changed 2 years ago by cyli

  • branch changed from branches/remove-usages-of-filepath-statinfo-4711 to branches/begin-convert-usages-of-filepath-statinfo-4711

(In [30516]) Branching to 'begin-convert-usages-of-filepath-statinfo-4711'

4

Changed 2 years ago by cyli

(In [30517]) Added a test to ensure that the new accessors for statinfo will work in place of statinfo in twisted/web2/static.py

refs #4711

5

Changed 2 years ago by cyli

(In [30537]) Changed FTP to (mostly) use the new accessor methods in t.p.filepath. However, an accessor for permissions is missing.

refs #4711

6

Changed 2 years ago by cyli

Filed ticket #4813 for filepath to provide the permissions

7

Changed 2 years ago by cyli

  • owner changed from glyph to cyli
  • status changed from new to assigned

8

Changed 2 years ago by <automation>

  • owner cyli deleted

9

Changed 6 weeks ago by itamar

Can this ticket be finished now that #4813 is closed?

Note: See TracTickets for help on using tickets.