Timeline for Can Linux files systems resolve a relative path before resolving symlink?
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 22 at 3:11 | vote | accept | Cornelius Dol | ||
| Jan 17 at 13:02 | comment | added | Philip Couling |
@L.CorneliusDol FYI, I've seen the pattern of putting defaults in app code directory and overrides elsewhere, there's nothing wrong with that patten. But the assumption that the overrides live in any specific relative location to app code is discouraged on all operating systems. Each OS has it's own preference for where local config should live and that even changes with OS versions. So idiomatically, your apps ought to have either an environment variable or run script arg to specify the location of data. You can't change what you can't change. 🤷
|
|
| Jan 17 at 13:00 | comment | added | Philip Couling | @L.CorneliusDol oh I wouldn't suggest that you do change it. I've worked with enough "legacy" code to know that it's not worth it. I call it out in this answer as a hint for future readers. IE: If you have the option of coding your app in an idiomatic way then do so. The options I give are for times when you are backed into a corner with no option to re-code | |
| Jan 16 at 17:38 | comment | added | Cornelius Dol | Thanks. The config set up is not as weird as you'd think. The app config sets up the app's requirements, and the dta config specifies optional overrides specific to the particular installation. We have hundreds of installation of several apps, so this is not going to change now. | |
| Jan 16 at 9:01 | history | edited | Philip Couling | CC BY-SA 4.0 |
added 133 characters in body
|
| Jan 16 at 8:08 | history | edited | Philip Couling | CC BY-SA 4.0 |
edited body
|
| Jan 15 at 10:40 | history | edited | Philip Couling | CC BY-SA 4.0 |
deleted 7 characters in body
|
| Jan 15 at 10:28 | history | edited | Philip Couling | CC BY-SA 4.0 |
added 152 characters in body
|
| Jan 15 at 10:21 | history | answered | Philip Couling | CC BY-SA 4.0 |