Issue #267: Added and i386 import properties to the documentation
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b452b1..df6963a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,5 +1,6 @@ # Release 0.9.1 (xxxx-xx-xx) +- Issue #267: Added `os` and `arch` import properties to the documentation. - Fixed #267: Glide was only walking the import tree based on build flags for the current OS and Arch. This is a problem for systems like docker that have variation built in.
diff --git a/docs/glide.yaml.md b/docs/glide.yaml.md index 9937939..85a2172 100644 --- a/docs/glide.yaml.md +++ b/docs/glide.yaml.md
@@ -35,7 +35,9 @@ - `package`: The name of the package to import and the only non-optional item. Package names follow the same patterns the `go` tool does. That means: - Package names that map to a VCS remote location end in .git, .bzr, .hg, or .svn. For example, `example.com/foo/pkg.git/subpkg`. - GitHub, BitBucket, Launchpad, IBM Bluemix Services, and Go on Google Source are special cases that don't need the VCS extension. - - `version`: A semantic version, semantic version range, branch, tag, or commit id to use. For more information see the [versioning documentation](versions.md). - - `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. + - `version`: A semantic version, semantic version range, branch, tag, or commit id to use. For more information see the [versioning documentation](versions.md). + - `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. + - `os`: A list of operating systems used for filtering. If set it will compare the current runtime OS to the one specified and only fetch the dependency if there is a match. If not set filtering is skipped. The names are the same used in build flags and `GOOS` environment variable. + - `arch`: A list of architectures used for filtering. If set it will compare the current runtime architecture to the one specified and only fetch the dependency if there is a match. If not set filtering is skipped. The names are the same used in build flags and `GOARCH` environment variable. - `devImport`: A list of development packages. Each package has the same details as those listed under import.