After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696016 - Implement filename cache to enable name based URIs
Implement filename cache to enable name based URIs
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: mtp backend
1.15.x
Other Linux
: Normal normal
: ---
Assigned To: Philip Langdale
gvfs-maint
Depends on: 695984
Blocks: 696163
 
 
Reported: 2013-03-17 23:12 UTC by Philip Langdale
Modified: 2013-03-30 23:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implement a filename cache to allow for name based URIs (34.85 KB, patch)
2013-03-17 23:12 UTC, Philip Langdale
none Details | Review

Description Philip Langdale 2013-03-17 23:12:28 UTC
Created attachment 239081 [details] [review]
Implement a filename cache to allow for name based URIs

It's becoming too fragile to use item IDs as path elements. Beyond the problems with clients that don't use copy names, there are a bunch of situtations where a path sent by a client could be an id or a filename and it's not 100% possible to tell them apart.
    
When the initial feature set of very limited, this wasn't much of an issue, but with direct read/write support, we are now exposed to a huge set of clients (as opposed to just file managers) with no ability to recognise copy names, and
which generate a lot of mixed form paths, so we're past the tipping point where it's now less of a hassle to maintain a name to id mapping.

The patch provided depends on the patches for bug 695984 so I'm making the bug depend as well.