#1877 closed defect (wontfix)

SFTP: use new eventual utilities from deferredutil

Reported by: davidsarah Owned by: daira
Priority: minor Milestone: 1.15.0
Component: code-frontend-ftp-sftp Version: 1.9.2
Keywords: sftp deferred eventual cloud-backend leasedb easy cleanup Cc: zooko
Launchpad Bug:

Description (last modified by daira)

The cloud backend + leasedb merge adds several deferred utilities: https://github.com/davidsarah/tahoe-lafs/commit/7671b3e33f0c91e764fb869175ff.

eventually_callback and eventually_errback were modelled on the versions already in sftpd.py, with an error-reporting improvement. eventual_chain is an abstraction of the pattern

source.addCallbacks(eventually_callback(target), eventually_errback(target))

which is used twice in sftpd.py. So we should change sftpd to use these versions, once the cloud backend + leasedb merge has landed.

Change History (8)

comment:1 Changed at 2012-11-24T19:41:51Z by davidsarah

  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed at 2012-11-25T16:38:41Z by zooko

  • Cc zooko added

comment:3 Changed at 2013-08-06T23:04:22Z by daira

  • Description modified (diff)
  • Milestone changed from 1.11.0 to 1.12.0
  • Owner changed from davidsarah to daira
  • Status changed from assigned to new

comment:4 Changed at 2014-12-02T19:52:57Z by warner

  • Component changed from code-frontend to code-frontend-ftp-sftp

comment:5 Changed at 2016-03-22T05:02:25Z by warner

  • Milestone changed from 1.12.0 to 1.13.0

Milestone renamed

comment:6 Changed at 2016-06-28T18:17:14Z by warner

  • Milestone changed from 1.13.0 to 1.14.0

renaming milestone

comment:7 Changed at 2020-06-30T14:45:46Z by exarkun

  • Milestone changed from 1.14.0 to 1.15.0

Moving tickets out of closed milestones.

comment:8 Changed at 2020-10-30T12:35:44Z by exarkun

  • Resolution set to wontfix
  • Status changed from new to closed

The established line of development on the "cloud backend" branch has been abandoned. This ticket is being closed as part of a batch-ticket cleanup for "cloud backend"-related tickets.

If this is a bug, it is probably genuinely no longer relevant. The "cloud backend" branch is too large and unwieldy to ever be merged into the main line of development (particularly now that the Python 3 porting effort is significantly underway).

If this is a feature, it may be relevant to some future efforts - if they are sufficiently similar to the "cloud backend" effort - but I am still closing it because there are no immediate plans for a new development effort in such a direction.

Tickets related to the "leasedb" are included in this set because the "leasedb" code is in the "cloud backend" branch and fairly well intertwined with the "cloud backend". If there is interest in lease implementation change at some future time then that effort will essentially have to be restarted as well.

Note: See TracTickets for help on using tickets.