gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Windows - Cannot add any git directory

Open Inovvia opened this issue 1 year ago • 2 comments

Steps to reproduce:

  1. Start via pnpm tauri dev
  2. Press Add New Project
  3. Wait for the prompt
  4. Using windows file picker select a folder w/ a valid git repo.

ipc->add_project: {"path":"C:\Users\username\Documents\websites\git"} Error: Something went wrong at UserError.fromError (ipc.ts:30:10) at ipc.ts:81:33 at async ProjectService.add (projects.ts:79:19) at async HTMLButtonElement.onNewProject (Welcome.svelte:17:23) {code: 'errors.unknown', message: 'Something went wrong'}

I even tried creating a new git repo from scratch in a different directory and disk, but the issue still happened.

image

Inovvia avatar Feb 06 '24 15:02 Inovvia

Unfortunately windows support is not there yet, the issue is rooted in libgit2/openssl iirc. @Qix- do we wanna make an issue here on GitHub to track it?

krlvi avatar Feb 06 '24 20:02 krlvi

Yeah, so far we've only gotten builds working on Windows, there's a number of issues with actually running it. We're doing some refactoring to move stuff to core crates and have a much better foundation on which we can build the app that will all be Windows-tested. It'll take some time though.

We're looking into ways to use GitButler on windows in the meantime though.

Qix- avatar Feb 06 '24 21:02 Qix-

Since there is an MSI based installer for Windows, I'd think that it is more usable now. Is this specific issue fixed?

Byron avatar Apr 21 '24 13:04 Byron

You can open a repo now. But a lot of buttons still seem to have no function at all. Not a usable state (yet)…

lennybacon avatar Apr 21 '24 15:04 lennybacon

@lennybacon would you mind opening new issues for buttons that aren't working? Going to close this for now as this is probably no longer an issue (please let me know if that's not the case).

Qix- avatar Apr 22 '24 09:04 Qix-