[openstack-dev] [swift][horizon] Simulating hierarchical directory structure

John Dickinson me at not.mn
Mon Jan 21 19:09:37 UTC 2013

On Jan 21, 2013, at 10:56 AM, Dean Troyer <dtroyer at gmail.com> wrote:
> I have a couple of questions regarding the desire to make Swift CLI
> and Horizon more consistent in their behaviour:
> 1) a) Should the directory marker objects in a Swift container be
> displayed at all?  b) If yes, should they be displayed denoting their
> status as something different from the usual container objects, say
> with a trailing '/' as other utilities like tar(1) do?

Directory marker objects are real objects and thus should be included in normal listings. They only affect listings with the "path" query parameter.

While still supported for backwards compatibility, the "path" listings have been deprecated in favor of prefix/delimiter queries. Docs that include path query references should be updated to use prefix/delimiter queries.

> 2) Should Swift CLI automatically create the directory marker objects
> when objects with a prefix containing '/' is uploaded?

No. see above. Instead, apps should use the prefix/delimiter queries. Legacy apps that use the old path queries will still work.

> 3) How far should the Swift CLI go in supporting the
> psuedo-hierarchical directory simulation?

What are the options you are suggesting here?

> dt
> -- 
> Dean Troyer
> dtroyer at gmail.com
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4082 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130121/5501cb38/attachment.bin>

More information about the OpenStack-dev mailing list