I just joined a new team (very small: four developers in total, with two of those leaving soon). The two original developers set up the git repo on a folder in a Windows network share.

Am I taking crazy pills, or is that a bad idea? Our organization does have github/gitlab/bitbucket available, so is there any good reason not to use those hosted solutions?

  • Los@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 年前

    Are you concerned about corruption due to multiple users? Are you using the repo in the intended way? Then it’s fine. Git has locking mechanisms. Pull, work, commit, push.

    • Zargontapel@latte.isnot.coffeeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 年前

      I can’t exactly put my finger on it, but something feels off. For example, on my first day, I wasn’t able to view the files in Windows Explorer (or clone the repo, actually), so the other dev just gave me a zip file of the repo. There’s something fishy going on, and I’m trying to figure it out.

      • Los@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 年前

        Since it’s on a network share, there’s the extra overhead of managing the file system permissions. And you probably hadn’t received access at the point.

        • Zargontapel@latte.isnot.coffeeOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 年前

          That probably is the case, but in my mind I’m also questioning if they’re backing it up regularly, what prevents someone from going in and deleting the files, etc.

          • Los@beehaw.org
            link
            fedilink
            English
            arrow-up
            7
            ·
            3 年前

            Sure, let’s hope they have a backup policy in place for best practice. But also it is kinda decentralized anyway. Every dev is going to have their local repo, and that is essentially a backup.