WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: scm related dynamic files  (Read 3626 times)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
scm related dynamic files
« on: June 29, 2012, 03:30:14 AM »
Suggestion to place scm related dynamic files by preference into separate (sub-)dirs whenever that is easily configurable.
Such practice could make it easier to manage inclusion/exclusion with backup.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: scm related dynamic files
« Reply #1 on: June 29, 2012, 09:36:59 AM »
Currently that location is /opt/scm/APPNAME, and then a symlink exists inside the scm pointing to that location.  Is this the kind of location that is meant? 

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: scm related dynamic files
« Reply #2 on: June 30, 2012, 12:56:33 AM »
Not being very familiar with scm as of yet I hadn't noticed that location.

What I had noticed is that scm apps I tried left config & data files in ~/
So my idea would be that e.g. instead of writing to ~/.config an scm app would write to ~/.config/scm or ~/.config_scm or to ~/.appname_scm instead of ~/.appname

"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: scm related dynamic files
« Reply #3 on: June 30, 2012, 01:55:37 AM »
I don't like that idea.
Why should xchat.tcz and xchat.scm have different config directories.  That would make switching from one to the other impractical.