• @wizardbeard@lemmy.dbzer0.com
    link
    fedilink
    English
    29
    edit-2
    10 days ago

    It’s wonderful… in a business environment where it is configured well. Nowhere else.

    Each user gets their own personal onedrive. More space than any single user will ever need at work, and you set it up to seamlessly back up most of the folders in the user profile (not the full profile because that will break shit).

    No need to fuck around with the hijacking of the save menu. Save shit where you normally do and it’ll just sync. Integration with Office 365 means that if you open the same office doc simultaneously on multiple machines it just treats it like collaborative editing by multiple users, so no edit conflicts.

    Any non-office file takes two minutes at max to sync to other machines you’re logged into if you’re at the office. Up to five minutes over VPN. Icons overlaid on each file’s icon or preview thumbnail clearly indicate the sync status.

    Sharing files and collaboration is done through old school NTFS shares or Office 365 Sharepoint sites (often linked to a Teams group). Users can share amongst themselves between their OneDrives, but we reccomend

    • @Limonene@lemmy.world
      link
      fedilink
      English
      1510 days ago

      I’m using it in a business setting, and hate it. Our company has lost about a thousand hours of work from OneDrive corrupting git repos. Everyone at the company is aware that you must NEVER allow OneDrive to touch a git repo, but OneDrive keeps adding directories without consent or notification, so people’s git repos keep getting corrupted.

      Maybe it’s the IT department, or maybe Onedrive just sucks.

      • GreyBeard
        link
        fedilink
        English
        510 days ago

        OneDrive doesn’t take over directories without being told to. And specifically, it’s “Known Folders Move” system, only does Documents, Desktop, and Pictures. If KFM is being turned on without user consent, that is IT’s fault. If it is including folders outside those 3? Also IT’s fault.

        It corrupting git repos? Not sure on that one. It doesn’t feel like OneDrive should be doing that, but it does struggle with unusual read/write patterns, so I’m guessing the way git is working doesn’t resemble a standard file saving, and Microsoft being full of developers and owning github should probably be accounting for that use case.

        • @actually@lemmy.world
          link
          fedilink
          English
          410 days ago

          My experience with Dropbox suggests to me that any network file sharing systems should not be mixed with git.

      • @wizardbeard@lemmy.dbzer0.com
        link
        fedilink
        English
        3
        edit-2
        10 days ago

        Lol, while Git does a shit ton more than just file syncing, you’re effectively complaining that mixing two methods of syncing files causes problems.

        I feel like that’s kind of obvious that it would be a bad idea.


        Also, how in the hell are you using Git that it could even be possible to lose thousands of hours of work? Sounds like you guy weren’t properly checking in/out code and using branches well. There shouldn’t be that much work put in between sending it back to the repo on the server. Make a branch, check in every few hours even if it’s not compiling or finished. When it’s finally done you can use the end result. No need to make big “complete” commits when you can just shove all the messy in progress ones into a branch and merge the whole thing when it’s done and ready.


        As far as OneDrive arbitrarily taking over folders? That should never happen. I’m not aware of a configuration that would make that possible (not saying there isn’t one, just that you’d have to go looking for it if you really wanted to fuck this up like that).

        The normal setting is for it to sync the Documents, Pictures, and Desktop folders (including any sub files and folders recursively). So just store your repos outside of those folders and you shouldn’t have any problems.


        To be fair, I’ve also seen OneDrive cause problems with PowerShell modules installed under the user (the default install location when using Install-Module). That tosses them in a subfolder under Documents, and “download files on demand” doesn’t mix well with “load this entire code library of multiple files”. So either use a custom install path, or install on your machine in the AllUsers scope (putting them in the Progams folder I believe).

      • @coronach@lemmy.sdf.org
        link
        fedilink
        English
        3
        edit-2
        10 days ago

        On an only-slightly related note, I knew someone that synced their git repos on nextcloud as well. Surprisingly, no shit hit the fan. This went on for a good long time.

    • Tippon
      link
      fedilink
      English
      410 days ago

      It works great for me at home when it’s set up properly too. It puts my phone photos into folders on my PC and lets me access my files from anywhere 🤷🏻‍♂️