github.com/Ownercz/glide@v0.13.4-0.20210823071621-a5ffe19e4499/docs/importing.md (about)

     1  # Importing
     2  
     3  Glide has limited support for importing from other formats.
     4  
     5  **Note:** If you'd like to help build importers, we'd love some pull
     6  requests. Just take a look at `cmd/godeps.git`.
     7  
     8  ## Godeps and Godeps-Git
     9  
    10  To import from Godeps or Godeps-Git format, run `glide godeps`. This
    11  will read the `glide.yaml`, then look for `Godeps` or `Godeps-Git` files
    12  to also read. It will then attempt to merge the packages in those files
    13  into the current YAML, printing the resulting YAML to standard out.
    14  
    15  The preferred procedure for merging:
    16  
    17  ```
    18  $ glide godeps # look at the output and see if it's okay
    19  $ glide -q godeps > glide.yaml # Write the merged file
    20  ```