ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.3k stars 123 forks source link

git sync issue #91

Open jeanchristopheMICHEL opened 8 months ago

jeanchristopheMICHEL commented 8 months ago

Expected Behavior

When I use the (re-)new git sync menu (from 0.2.3-a), with Git environnement well done, when I use "git pull" after a "git fetch", I must see requests collection.

Actual Behavior

After "git fetch" action, I can see commit history, all branches, but there is no request Screen Shot 11-03-23 at 11 23 AM

Reproduction Steps

  1. Define git synch
  2. create 2 simple requests
  3. git comit
  4. git push
  5. confirm this commit is present from gitlab interface

From an other laptop

  1. define git synch
  2. git pull

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 10 Entreprise 22H2

Installation method

download .exe

Last Known Working Insomnium version

0.2.1

LCLLL commented 8 months ago

Yeah, the same thing happened to me. When i git clone one that already exists "Collections" project, it will auto group into "Documents", and show some error "The provided document does not match any of the registered formats [OpenAPI 2.0 (Swagger), ОрепАрІ 3.×, ОрепАРІ 3.0.x, OpenAPI 3.1.x]"

stehlifn commented 7 months ago

+1

alex-graz commented 7 months ago

+1

cextremerar commented 7 months ago

+1

educbraga commented 7 months ago

I'm not sure, but I think Insomnium searches for .insomnium folders, not .insomnia.

ArturVRSampaio commented 5 months ago

same error on kubuntu, installed using .deb file

trbtm commented 3 months ago

I had the same problems. They were caused by two collections with the same name in the git repository. I reverted the commits adding another collection and used the Git Clone functionality and that solved my issues. Maybe this helps someone.