packagesdev / packages

Integrated Packaging Environment for OS X
306 stars 44 forks source link

Custom vs elastic folder #114

Open DavidJameson opened 2 years ago

DavidJameson commented 2 years ago

It is unclear what is the difference between a custom folder and an elastic folder - this may be just a documentation issue but should probably be addressed somewhere.

packagesdev commented 2 years ago

http://s.sudre.free.fr/Software/documentation/Packages/en_2017/Package_Payload.html#2

Would an example in the table make it easier to see the difference?

DavidJameson commented 2 years ago

I had seen that page already — but it was completely unclear what it actually was. A custom folder can have folders inside and so they can all be moved around in one go - consequently it’s unclear to me how that’s different then an elastic folder.

An example would probably make it clear.

D

On Mar 5, 2022, at 3:25 PM, packagesdev @.***> wrote:

http://s.sudre.free.fr/Software/documentation/Packages/en_2017/Package_Payload.html#2 http://s.sudre.free.fr/Software/documentation/Packages/en_2017/Package_Payload.html#2 Would an example in the table make it easier to see the difference?

— Reply to this email directly, view it on GitHub https://github.com/packagesdev/packages/issues/114#issuecomment-1059826498, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNSSUZ22EHXY7OBQTQUYHDU6O7KJANCNFSM5P72YAJQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

packagesdev commented 2 years ago

Custom folder = "my folder name"

Elastic folder = "my folder name/my subfolder name/my subsubfolder name" or "my folder name"

A custom folder represents 1 folder.

An elastic folder can represent a series of enclosed folders (that will share the same POSIX permissions and owner/group).

In 99.95% of cases, you don't need an elastic folder.

See also: http://s.sudre.free.fr/Software/Packages/Q&A_10.html

DavidJameson commented 2 years ago

Yes, I understand what it is — I don’t see anything “elastic” about such folder. I found that misleading. What the Q&A describes is a short cut to writing a path in a single entry to save you from creating individual folders.

Perhaps a better explanation would to be say that if you write

a/b/c/d

it's equivalent to

mkdir -p a/b/c/d

and then you can (presumably) throw some content into folder ‘d’ (but not into a, b, or c)

By the way, please don’t take any of this as a COMPLAINT — on the contrary, this product has saved my ass. I wish there was a way to contribute some funds to support its developers!

On Mar 6, 2022, at 4:47 PM, packagesdev @.***> wrote:

Custom folder = "my folder name"

Elastic folder = "my folder name/my subfolder name/my subsubfolder name" or "my folder name"

A custom folder represents 1 folder.

An elastic folder can represent a series of enclosed folders (that will share the same POSIX permissions and owner/group).

In 99.95% of cases, you don't need an elastic folder.

See also: http://s.sudre.free.fr/Software/Packages/Q&A_10.html http://s.sudre.free.fr/Software/Packages/Q&A_10.html — Reply to this email directly, view it on GitHub https://github.com/packagesdev/packages/issues/114#issuecomment-1060045323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNSSU5T5UXWJSI5B4IITKTU6URY7ANCNFSM5P72YAJQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.