• Kogasa@programming.dev
    link
    fedilink
    arrow-up
    22
    arrow-down
    17
    ·
    1 year ago

    Those bugs and PRs would just get closed without comment. Nobody is going to move a dotfile as a breaking change in any established software. You either get it right the first time or probably never.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      31
      arrow-down
      1
      ·
      1 year ago

      The software can read from both locations in a backwards compatible way. Many tools already do this.

      • CosmicTurtle@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        4
        ·
        1 year ago

        The best way to handle this is to have the next version move the old directory (if it exists) and then start reading from there.

        That way it’s in compliance from then forward.

        A UI notice is nice but will probably be ignored.

        • donnachaidh@lemmy.dcmrobertson.com
          link
          fedilink
          arrow-up
          11
          ·
          1 year ago

          That could break some peoples’ dotfile management, e.g. symlinks or git repos. I’d say deprecation notice and reading from both, at least for a while, is better.

    • Imnebuddy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      1 year ago

      I know developers are busy, and I don’t mean to berate them for their choices or work. I only have a two year Computer Information Systems degree and haven’t programmed a lot for a while, but supporting the XDG specification and remaining backwards compatible doesn’t seem to be very difficult or would cause so much breakage (of course, the amount of work would depend on the software and how the hardcoded path is implemented). I look up git repository issues for the software and tend to find ubiquitous examples like vim to be resistant to such change: https://github.com/vim/vim/issues/2034

      This is really frustrating and leads me to find alternative software, such as neovim/doom emacs instead of vim, nushell instead of bash, etc., just to be able to clear up my home directory. I don’t mind if I have to wait for XDG to be supported, but many important projects just label the issue as “won’t fix”. I totally understand where you are coming from.

      List of software with hardcoded paths at this time: https://wiki.archlinux.org/title/XDG_Base_Directory#Hardcoded

      • Kogasa@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        If you install config files to the new location and prefer the new config file location over the old, you risk accidental misconfiguration when a system has both config files (e.g. in a build pipeline that installs the software and then copies the config to the old location). It is not impossible to solve, but there are questions that require some care if you have a large userbase and solidified codebase. More care than it takes to do it right the first time.