top

Package cfg handles working with the Glide configuration files.

The cfg package contains the ability to parse (unmarshal) and write (marshal) glide.yaml and glide.lock files. These files contains the details about projects managed by Glide.

To convert yaml into a cfg.Config instance use the cfg.ConfigFromYaml function. The yaml, typically in a glide.yaml file, has the following structure.

package: github.com/Masterminds/glide
homepage: https://masterminds.github.io/glide
license: MIT
owners:
- name: Matt Butcher
  email: technosophos@gmail.com
  homepage: http://technosophos.com
- name: Matt Farina
  email: matt@mattfarina.com
  homepage: https://www.mattfarina.com
ignore:
- appengine
excludeDirs:
- node_modules
import:
- package: gopkg.in/yaml.v2
- package: github.com/Masterminds/vcs
  version: ^1.2.0
  repo:    git@github.com:Masterminds/vcs
  vcs:     git
- package: github.com/codegangsta/cli
- package: github.com/Masterminds/semver
  version: ^1.0.0

These elements are:

- package: The top level package is the location in the GOPATH. This is used
  for things such as making sure an import isn't also importing the top level
  package.
- homepage: To find the place where you can find details about the package or
  applications. For example, http://k8s.io
- license: The license is either an SPDX license string or the filepath to the
  license. This allows automation and consumers to easily identify the license.
- owners: The owners is a list of one or more owners for the project. This
  can be a person or organization and is useful for things like notifying the
  owners of a security issue without filing a public bug.
- ignore: A list of packages for Glide to ignore importing. These are package
  names to ignore rather than directories.
- excludeDirs: A list of directories in the local codebase to exclude from
  scanning for dependencies.
- import: A list of packages to import. Each package can include:
    - package: The name of the package to import and the only non-optional item.
    - version: A semantic version, semantic version range, branch, tag, or
      commit id to use.
    - repo: If the package name isn't the repo location or this is a private
      repository it can go here. The package will be checked out from the
      repo and put where the package name specifies. This allows using forks.
    - vcs: A VCS to use such as git, hg, bzr, or svn. This is only needed
      when the type cannot be detected from the name. For example, a repo
      ending in .git or on GitHub can be detected to be Git. For a repo on
      Bitbucket we can contact the API to discover the type.
- testImport: A list of development packages not already listed under import.
  Each package has the same details as those listed under import.

Imported by 314 package(s)

  1. github.com/Barberrrry/glide/cmd
  2. github.com/Barberrrry/glide/dependency
  3. github.com/FGrosse/glide/action
  4. github.com/FGrosse/glide/dependency
  5. github.com/FGrosse/glide/gb
  6. github.com/FGrosse/glide/godep
  7. github.com/FGrosse/glide/gom
  8. github.com/FGrosse/glide/gpm
  9. github.com/FGrosse/glide/importer
  10. github.com/FGrosse/glide/repo
  11. github.com/Masterminds/glide-report
  12. github.com/Masterminds/glide-report/rules
  13. github.com/Masterminds/glide/action
  14. github.com/Masterminds/glide/dependency
  15. github.com/Masterminds/glide/gb
  16. github.com/Masterminds/glide/godep
  17. github.com/Masterminds/glide/gom
  18. github.com/Masterminds/glide/gpm
  19. github.com/Masterminds/glide/importer
  20. github.com/Masterminds/glide/repo
  21. github.com/Skarlso/glide/action
  22. github.com/Skarlso/glide/dependency
  23. github.com/Skarlso/glide/gb
  24. github.com/Skarlso/glide/godep
  25. github.com/Skarlso/glide/gom
  26. github.com/Skarlso/glide/gpm
  27. github.com/Skarlso/glide/importer
  28. github.com/Skarlso/glide/repo
  29. github.com/akutz/glide/action
  30. github.com/akutz/glide/dependency
  31. github.com/akutz/glide/godep
  32. github.com/akutz/glide/gom
  33. github.com/akutz/glide/gpm
  34. github.com/akutz/glide/importer
  35. github.com/akutz/glide/repo
  36. github.com/albrow/glide/action
  37. github.com/albrow/glide/dependency
  38. github.com/albrow/glide/gb
  39. github.com/albrow/glide/godep
  40. github.com/albrow/glide/gom
  41. github.com/albrow/glide/gpm
  42. github.com/albrow/glide/importer
  43. github.com/albrow/glide/repo
  44. github.com/alde/glide/action
  45. github.com/alde/glide/dependency
  46. github.com/alde/glide/gb
  47. github.com/alde/glide/godep
  48. github.com/alde/glide/gom
  49. github.com/alde/glide/gpm
  50. github.com/alde/glide/importer
  51. github.com/alde/glide/repo
  52. github.com/andrewzeneski/glide/cmd
  53. github.com/andrewzeneski/glide/dependency
  54. github.com/bacongobbler/glide/action
  55. github.com/bacongobbler/glide/dependency
  56. github.com/bacongobbler/glide/gb
  57. github.com/bacongobbler/glide/godep
  58. github.com/bacongobbler/glide/gpm
  59. github.com/bacongobbler/glide/importer
  60. github.com/bacongobbler/glide/repo
  61. github.com/bryanpaluch/glide/action
  62. github.com/bryanpaluch/glide/dependency
  63. github.com/bryanpaluch/glide/gb
  64. github.com/bryanpaluch/glide/godep
  65. github.com/bryanpaluch/glide/gom
  66. github.com/bryanpaluch/glide/gpm
  67. github.com/bryanpaluch/glide/importer
  68. github.com/bryanpaluch/glide/repo
  69. github.com/daniel-garcia/glide/action
  70. github.com/daniel-garcia/glide/dependency
  71. github.com/daniel-garcia/glide/gb
  72. github.com/daniel-garcia/glide/godep
  73. github.com/daniel-garcia/glide/gpm
  74. github.com/daniel-garcia/glide/importer
  75. github.com/daniel-garcia/glide/repo
  76. github.com/dmitris/glide/action
  77. github.com/dmitris/glide/dependency
  78. github.com/dmitris/glide/gb
  79. github.com/dmitris/glide/godep
  80. github.com/dmitris/glide/gpm
  81. github.com/dmitris/glide/importer
  82. github.com/dmitris/glide/repo
  83. github.com/favadi/glide/cmd
  84. github.com/favadi/glide/dependency
  85. github.com/fibonacci1729/glide/action
  86. github.com/fibonacci1729/glide/dependency
  87. github.com/fibonacci1729/glide/gb
  88. github.com/fibonacci1729/glide/godep
  89. github.com/fibonacci1729/glide/gom
  90. github.com/fibonacci1729/glide/gpm
  91. github.com/fibonacci1729/glide/importer
  92. github.com/fibonacci1729/glide/repo
  93. github.com/franciscocpg/glide/action
  94. github.com/franciscocpg/glide/dependency
  95. github.com/franciscocpg/glide/gb
  96. github.com/franciscocpg/glide/godep
  97. github.com/franciscocpg/glide/gom
  98. github.com/franciscocpg/glide/gpm
  99. github.com/franciscocpg/glide/importer
  100. github.com/franciscocpg/glide/repo
  101. github.com/garywu125/glide/action
  102. github.com/garywu125/glide/dependency
  103. github.com/garywu125/glide/gb
  104. github.com/garywu125/glide/godep
  105. github.com/garywu125/glide/gom
  106. github.com/garywu125/glide/gpm
  107. github.com/garywu125/glide/importer
  108. github.com/garywu125/glide/repo
  109. github.com/gdm85/glide/action
  110. github.com/gdm85/glide/dependency
  111. github.com/gdm85/glide/gb
  112. github.com/gdm85/glide/godep
  113. github.com/gdm85/glide/gpm
  114. github.com/gdm85/glide/importer
  115. github.com/gdm85/glide/repo
  116. github.com/hectorj/glide/cmd
  117. github.com/hectorj/glide/dependency
  118. github.com/jrick/glide/cmd
  119. github.com/jrick/glide/dependency
  120. github.com/karfield/glide/action
  121. github.com/karfield/glide/dependency
  122. github.com/karfield/glide/gb
  123. github.com/karfield/glide/godep
  124. github.com/karfield/glide/gpm
  125. github.com/karfield/glide/importer
  126. github.com/karfield/glide/repo
  127. github.com/kelcecil/glide/action
  128. github.com/kelcecil/glide/dependency
  129. github.com/kelcecil/glide/gb
  130. github.com/kelcecil/glide/godep
  131. github.com/kelcecil/glide/gom
  132. github.com/kelcecil/glide/gpm
  133. github.com/kelcecil/glide/importer
  134. github.com/kelcecil/glide/repo
  135. github.com/klaidliadon/glide/action
  136. github.com/klaidliadon/glide/dependency
  137. github.com/klaidliadon/glide/gb
  138. github.com/klaidliadon/glide/godep
  139. github.com/klaidliadon/glide/gpm
  140. github.com/klaidliadon/glide/importer
  141. github.com/klaidliadon/glide/repo
  142. github.com/kngu9/glide/action
  143. github.com/kngu9/glide/dependency
  144. github.com/kngu9/glide/gb
  145. github.com/kngu9/glide/godep
  146. github.com/kngu9/glide/gom
  147. github.com/kngu9/glide/gpm
  148. github.com/kngu9/glide/importer
  149. github.com/kngu9/glide/repo
  150. github.com/kshlm/glide/cmd
  151. github.com/kshlm/glide/dependency
  152. github.com/lamielle/glide/cmd
  153. github.com/lamielle/glide/dependency
  154. github.com/masterminds/glide-report
  155. github.com/masterminds/glide-report/rules
  156. github.com/masterminds/glide/action
  157. github.com/masterminds/glide/dependency
  158. github.com/masterminds/glide/gb
  159. github.com/masterminds/glide/godep
  160. github.com/masterminds/glide/gom
  161. github.com/masterminds/glide/gpm
  162. github.com/masterminds/glide/importer
  163. github.com/masterminds/glide/repo
  164. github.com/mattfarina/glide-hash
  165. github.com/mattfarina/glide-stripvcs
  166. github.com/mfycheng/glide/action
  167. github.com/mfycheng/glide/dependency
  168. github.com/mfycheng/glide/gb
  169. github.com/mfycheng/glide/godep
  170. github.com/mfycheng/glide/gom
  171. github.com/mfycheng/glide/gpm
  172. github.com/mfycheng/glide/importer
  173. github.com/mfycheng/glide/repo
  174. github.com/mgutz/glide/action
  175. github.com/mgutz/glide/dependency
  176. github.com/mgutz/glide/gb
  177. github.com/mgutz/glide/godep
  178. github.com/mgutz/glide/gom
  179. github.com/mgutz/glide/gpm
  180. github.com/mgutz/glide/importer
  181. github.com/mgutz/glide/repo
  182. github.com/mh-cbon/glide/action
  183. github.com/mh-cbon/glide/dependency
  184. github.com/mh-cbon/glide/gb
  185. github.com/mh-cbon/glide/godep
  186. github.com/mh-cbon/glide/gom
  187. github.com/mh-cbon/glide/gpm
  188. github.com/mh-cbon/glide/importer
  189. github.com/mh-cbon/glide/repo
  190. github.com/miolini/glide/cmd
  191. github.com/miolini/glide/dependency
  192. github.com/myENA/glide/action
  193. github.com/myENA/glide/dependency
  194. github.com/myENA/glide/gb
  195. github.com/myENA/glide/godep
  196. github.com/myENA/glide/gom
  197. github.com/myENA/glide/gpm
  198. github.com/myENA/glide/importer
  199. github.com/myENA/glide/repo
  200. github.com/n0needt0/glide/action
  201. github.com/n0needt0/glide/dependency
  202. github.com/n0needt0/glide/gb
  203. github.com/n0needt0/glide/godep
  204. github.com/n0needt0/glide/gom
  205. github.com/n0needt0/glide/gpm
  206. github.com/n0needt0/glide/importer
  207. github.com/n0needt0/glide/repo
  208. github.com/ngdinhtoan/glide-cleanup
  209. github.com/polaris1119/glide/action
  210. github.com/polaris1119/glide/dependency
  211. github.com/polaris1119/glide/gb
  212. github.com/polaris1119/glide/godep
  213. github.com/polaris1119/glide/gom
  214. github.com/polaris1119/glide/gpm
  215. github.com/polaris1119/glide/importer
  216. github.com/polaris1119/glide/repo
  217. github.com/ryanfowler/glide/action
  218. github.com/ryanfowler/glide/dependency
  219. github.com/ryanfowler/glide/gb
  220. github.com/ryanfowler/glide/godep
  221. github.com/ryanfowler/glide/gom
  222. github.com/ryanfowler/glide/gpm
  223. github.com/ryanfowler/glide/importer
  224. github.com/ryanfowler/glide/repo
  225. github.com/s-urbaniak/glide-vc
  226. github.com/s-urbaniak/glide/action
  227. github.com/s-urbaniak/glide/dependency
  228. github.com/s-urbaniak/glide/gb
  229. github.com/s-urbaniak/glide/godep
  230. github.com/s-urbaniak/glide/gom
  231. github.com/s-urbaniak/glide/gpm
  232. github.com/s-urbaniak/glide/importer
  233. github.com/s-urbaniak/glide/repo
  234. github.com/sgotti/glide-vc
  235. github.com/sgotti/glide/action
  236. github.com/sgotti/glide/dependency
  237. github.com/sgotti/glide/gb
  238. github.com/sgotti/glide/godep
  239. github.com/sgotti/glide/gpm
  240. github.com/sgotti/glide/importer
  241. github.com/sgotti/glide/repo
  242. github.com/skarlso/glide/action
  243. github.com/skarlso/glide/dependency
  244. github.com/skarlso/glide/gb
  245. github.com/skarlso/glide/godep
  246. github.com/skarlso/glide/gom
  247. github.com/skarlso/glide/gpm
  248. github.com/skarlso/glide/importer
  249. github.com/skarlso/glide/repo
  250. github.com/szuecs/glide-report
  251. github.com/szuecs/glide-report/rules
  252. github.com/thockin/glide/action
  253. github.com/thockin/glide/dependency
  254. github.com/thockin/glide/gb
  255. github.com/thockin/glide/godep
  256. github.com/thockin/glide/gpm
  257. github.com/thockin/glide/importer
  258. github.com/thockin/glide/repo
  259. github.com/tudyzhou/glide/action
  260. github.com/tudyzhou/glide/dependency
  261. github.com/tudyzhou/glide/gb
  262. github.com/tudyzhou/glide/godep
  263. github.com/tudyzhou/glide/gom
  264. github.com/tudyzhou/glide/gpm
  265. github.com/tudyzhou/glide/importer
  266. github.com/tudyzhou/glide/repo
  267. github.com/vburenin/glide/action
  268. github.com/vburenin/glide/dependency
  269. github.com/vburenin/glide/gb
  270. github.com/vburenin/glide/godep
  271. github.com/vburenin/glide/gom
  272. github.com/vburenin/glide/gpm
  273. github.com/vburenin/glide/importer
  274. github.com/vburenin/glide/repo
  275. github.com/yanyiwu/glide/action
  276. github.com/yanyiwu/glide/dependency
  277. github.com/yanyiwu/glide/gb
  278. github.com/yanyiwu/glide/godep
  279. github.com/yanyiwu/glide/gom
  280. github.com/yanyiwu/glide/gpm
  281. github.com/yanyiwu/glide/importer
  282. github.com/yanyiwu/glide/repo
  283. github.com/yeka/glide/action
  284. github.com/yeka/glide/dependency
  285. github.com/yeka/glide/gb
  286. github.com/yeka/glide/godep
  287. github.com/yeka/glide/gpm
  288. github.com/yeka/glide/importer
  289. github.com/yeka/glide/repo
  290. github.com/zjx20/glide/action
  291. github.com/zjx20/glide/dependency
  292. github.com/zjx20/glide/gb
  293. github.com/zjx20/glide/godep
  294. github.com/zjx20/glide/gom
  295. github.com/zjx20/glide/gpm
  296. github.com/zjx20/glide/importer
  297. github.com/zjx20/glide/repo
  298. gopkg.in/Masterminds/glide.v0/action
  299. gopkg.in/Masterminds/glide.v0/cmd
  300. gopkg.in/Masterminds/glide.v0/dependency
  301. gopkg.in/Masterminds/glide.v0/gb
  302. gopkg.in/Masterminds/glide.v0/godep
  303. gopkg.in/Masterminds/glide.v0/gom
  304. gopkg.in/Masterminds/glide.v0/gpm
  305. gopkg.in/Masterminds/glide.v0/importer
  306. gopkg.in/Masterminds/glide.v0/repo
  307. gopkg.in/masterminds/glide.v0/action
  308. gopkg.in/masterminds/glide.v0/dependency
  309. gopkg.in/masterminds/glide.v0/gb
  310. gopkg.in/masterminds/glide.v0/godep
  311. gopkg.in/masterminds/glide.v0/gom
  312. gopkg.in/masterminds/glide.v0/gpm
  313. gopkg.in/masterminds/glide.v0/importer
  314. gopkg.in/masterminds/glide.v0/repo

Imports 4 package(s)

  1. gopkg.in/yaml.v2
  2. github.com/Masterminds/glide/mirrors
  3. github.com/Masterminds/vcs
  4. github.com/Masterminds/glide/util