Opened 19 years ago
Last modified 8 years ago
#344 assigned enhancement
Unify file/folder names in ~/config/settings
Reported by: | diver | Owned by: | nobody |
---|---|---|---|
Priority: | low | Milestone: | Unscheduled |
Component: | - General | Version: | R1/Development |
Keywords: | R2 | Cc: | |
Blocked By: | Blocking: | #2836 | |
Platform: | All |
Description (last modified by )
Could we prettify ~/config/settings? Currently there is no standard settings names for apps/prefs some of them capitalized/underlined or have settings postfix. Maybe would be better to have a standart naming, such as for ex: "$app_name$_settings" or just "$app_name$" in the lower case or 1st letter in upper case like "$App_name$". screenshot of current name hell will follow.
Some folders could also do with a unified name, e.g. in Tracker there's DefaultFolderTemplates and DefaultQueryTemplates, but "Tracker New Templates".
Some folders are lower case, which should be upper case, e.g. deskbar, expander, pe.
What about boot, global, kernel, mime_db, printers, system?
Attachments (1)
Change History (18)
comment:1 by , 19 years ago
attachments.description: | setings hell → settings hell |
---|
by , 19 years ago
Attachment: | settings.PNG added |
---|
comment:2 by , 19 years ago
Owner: | changed from | to
---|
comment:3 by , 19 years ago
I would like that, too, but we'd need to "break" compatibility for that, ie. when upgrading to Haiku, you'd lose all your settings. Of course, we could make all apps be able to read old settings, but write their settings to a different place afterwards - but that's not very nice, and probably also just not worth the effort.
comment:4 by , 19 years ago
bug_group: | → developers |
---|
comment:5 by , 18 years ago
Description: | modified (diff) |
---|---|
Platform: | → All |
Priority: | normal → low |
comment:6 by , 18 years ago
Do we want to do this, at all? This looks more like something for R2 when we define a real settings API which does this job, automatically.
comment:7 by , 17 years ago
Type: | bug → enhancement |
---|
comment:8 by , 17 years ago
Milestone: | R1 → Unscheduled |
---|
Change the milestone according to the type change of the ticket.
comment:9 by , 16 years ago
Component: | Applications → - General |
---|
I would agree with you 3 years ago, but since it already took 7 years for Haiku, I don't think this would "break" compatibility for that many people, but from consistent POV it would make more point to rename those settings.
comment:11 by , 15 years ago
A settings class/API could create settings files of a specific type. This filetype could have attributes for the application name, version and the file's purpose, which the app would supply through the class.
To lessen the risk of name conflict the files' names would be based on the application signature, minus the "application/". Hide the filename column if you like and show only the attribute columns.
A single settings file might not be ideal for every application, so one could allow multiple files (adding a filename suffix) or opt for a folder with contents instead, using the same API.
If the class is made to look up the app name, signature and version on its own, then programmer "lazyness" (not supplying values, not having to invent a filename) might actually help create order.
comment:12 by , 15 years ago
Version: | R1/pre-alpha1 → R1/Development |
---|
comment:14 by , 11 years ago
I don't think PM has changed anything about this "settings hell". The issue is still the same only 5 years have gone by... :)
FWIW, while we're repackaging apps for haikuports, I'm all for cleaning up where we can and go with "$app_name$_settings".
comment:15 by , 10 years ago
Description: | modified (diff) |
---|---|
Keywords: | R2 added |
Summary: | ~/config/settings → Unify file/folder names in ~/config/settings |
comment:16 by , 10 years ago
Blocking: | 2836 added |
---|
comment:17 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
settings hell