Repository navigation
Replies: 1 comment
|
The important distinction is that Bruno opens a collection directory; it does not import an individual .bru file as a collection. On Machine 2, choose Open Collection and select the directory that directly contains the collection marker: For the newer Open Collection format, the marker is instead: Do not select a parent directory, a request file, or a child folder. The CLI's collection detection follows the same rule: it looks for bruno.json or opencollection.yml and otherwise reports that the command must be run at the root of a collection. From the cloned repository, verify that Git actually contains the marker and the request files: git ls-files -- bruno.json opencollection.yml collection.bru
git status --shortOn a Linux checkout also check case-sensitive names and whether .gitignore excluded the marker. If the first command prints nothing, Machine 1 may have committed the requests but not the collection root file. If the collection was converted to the YAML format, commit opencollection.yml and open that format's root; do not add arbitrary marker files just to make detection pass. If the root marker is present and the whole collection still fails, the next useful information is the exact Bruno version on both machines and the output of running the CLI from the collection root. The collection-path detection code is here: |
Uh oh!
There was an error while loading. Please reload this page.
On Machine 1 I created a collection along with my software tree and checked it in to my git repository. On Machine 2 I am trying to open that collection after I pulled the project from the repository. No success. Neither import nor open are working. Machine 1 is Windows and Machine 2 is Linux, but that shouldn't matter.
All reactions