github.com/kr/godep@v0.0.0-20180126220526-ce0bfadeb516/Changelog.md (about) 1 #v80 (2018/01/26) 2 3 * Address lin/vet feedback. 4 5 #v79 (2017/02/01) 6 7 * Fixes #531: fullPackageInDir didn't capture the error from fillPackage() 8 9 #v78 (2017/01/19) 10 11 * Don't use build.ImportDir when discovering packages for the package spec. Fixes #529 12 13 #v77 (2017/01/13) 14 15 * Don't include quotes around hg revisions 16 17 #v76 (2017/01/10) 18 19 * Default to vendor being on unless older go versions. 20 21 #v75 (2016/11/02) 22 23 * Add "AUTHORS" and "CONTRIBUTORS" to legal files list: https://github.com/tools/godep/pull/522 24 25 #v74 (2016/06/01) 26 27 * Enable vendor/ on go1.7 28 * No longer use a godep workspace, use vendor/ (yay!) 29 * Notify that support for Godep workspaces will be removed once go1.8 ships 30 31 #v73 (2016/05/31) 32 33 * Fix permission changes on Windows via @alexbrand. Closes #481. 34 35 #v72 (2016/05/27) 36 37 * Improve handling of git remote show origin. Should help in cases where remote HEAD is ambiguous. 38 * Add ISSUE_TEMPLATE 39 40 #v71 (2016/05/24) 41 42 * Preserve permissions on copied files. 43 44 #v70 (2016/05/20) 45 46 * Fix the May changelog dates 47 * No need to call build.Import, we already have the root of the dependency. Fixes an additional comment on #365 48 49 #v69 (2016/05/16) 50 51 * Make sure `devel-<short sha>` enabled `vendor/` unless there is a classic Godep _workspace already. 52 53 #v68 (2016/05/16) 54 55 * `devel-<short sha>` is always considered newer than any released go version 56 57 #v67 (2016/05/13) 58 59 * Attempt to handle missing deps a little better. 60 61 #v66 (2016/05/10) 62 63 * Use `git remote show origin` to find the default branch when restoring a git based package repository that is in detached head state 64 65 #v65 (2016/05/09) 66 67 * Rewrite update so that it considers new transitive dependencies, both in the same repo and outside of it. 68 69 #v64 (2016/05/09) 70 71 * godep update golang.org/x/tools/go/vcs 72 73 #v63 (2016/05/03) 74 75 * Support recording devel-<short sha> so development versions of Go can be matched 76 77 #v62 (2016/04/07) 78 79 * Note new go1.6+ behavior of not checking out master in README / restore help text. 80 81 #v61 (2016/04/06) 82 83 * Obey go version build tags based on recorded major go version. Fixes #448. 84 85 #v60 (2016/03/18) 86 87 * Make the $GOPATH check a warning. 88 89 #v59 (2016/03/18) 90 91 * Enforce requirement to be inside of a go src directory. A lot of time is usually spent 92 tracking down bug reports where people are doign stuff from outside of their $GOPATH. This 93 should help with that, at least until there it time to properly test godep use outside of a 94 $GOPATH and fix the issues. 95 96 #v58 (2016/03/15) 97 98 * Add GodepVersion to Godeps.json file so that as godep changes / adds features / fixes bugs we can know which version of godep most recently wrote out the file. 99 100 #v57 (2016/03/07) 101 102 * Don't use `git rev-parse --show-toplevel` to determine git repo roots as it resolves symlinks: https://github.com/tools/godep/pull/418 103 104 # v56 (2016/02/26) 105 106 * replace path comparisons with case insensitive pathEqual() 107 * add versionString() to debug output 108 * Send log output to Stderr 109 110 # v55 2016/02/22 111 112 * re-saved deps to clean out extra stuff (see v54; godep restore; godep save -r=false; rm -rf Godeps; godep save -r). We're still using a workspace with rewrites so users of older go version can still go get this tool. 113 * Replace simple == with strings.EqualFold in listFiles to avoid problems with case insensitive filesystems ("Code" != "code" when doing a byte by byte comparison) 114 115 # v54 2016/02/22 116 117 * Update some docs around vendor/ 118 * More precise recording of dependencies. Removed recursive copying of sub directories of a package (precise vendoring). This should allow using `./...` with the go tool for compilation of project using `vendor/`. See https://github.com/tools/godep/pull/415 119 120 # v53 2016/02/11 121 122 * Disable VendorExperiment if a godep workspace already exists. 123 124 # v52 2016/01/27 125 126 * Trim 'rc' out of go version strings when determining major version. 127 128 # v51 2016/01/21 129 130 * Trim 'beta' out of go version strings when determining major version. 131 132 # v50 2016/01/19 133 134 * More verbose output on save -v. 135 136 # v49 2016/01/13 137 138 * Add UK spelling license/licence to the pile + fix up a bunch of typos 139 * Clarify tag handling in docs 140 141 # v48 2016/01/13 142 143 * Abort restore if there is no $GOPATH set. 144 145 # v47 2016/01/12 146 147 * Dev versions of go should honor the current meaning of GO15VENDOREXPERIMENT 148 149 # v46 2016/01/03 150 151 * Record "devel" when the release is a devel release of go (compiled from git). 152 153 # v45 2015/12/28 154 155 * Upcase windows drive letters before comparing. Fixes #383. 156 157 # v44 2015/12/23 158 159 * Clean package roots when attempting to find a vendor directory so we don't loop forever. 160 * Fixes 382 161 162 # v43 2015/12/22 163 164 * Better error messages when parsing Godeps.json: Fixes #372 165 166 # v42 2015/12/22 167 168 * Fix a bunch of GO15VENDOREXPERIMENT issues 169 * Find package directories better. Previously we used build.FindOnly which didn't work the way I expected it to (any dir would work w/o error). 170 * Set the VendorExperiment bool based on go version as 1.6 defaults to on. 171 * A bunch of extra debugging for use while sanity checking myself. 172 * vendor flag for test structs. 173 * Some tests for vendor/ stuff: 174 * Basic Test 175 * Transitive 176 * Transitive, across GOPATHs + collapse vendor/ directories. 177 * Should Fix #358 178 179 # v41 2015/12/17 180 181 * Don't rewrite packages outside of the project. This would happen if you specified 182 an external package for vendoring when you ran `goodep save -r ./... github.com/some/other/package` 183 184 # v40 2015/12/17 185 186 * When downloading a dependency, create the base directory if needed. 187 188 # v39 2015/12/16 189 190 * Record only the major go version (ex. go1.5) instead of the complete string. 191 192 # v38 2015/12/16 193 194 * Replace `go get`, further fix up restore error handling/reporting. 195 * Fixes #186 196 * Don't bother restoring/downloading if already done. 197 198 # v37 2015/12/15 199 200 * Change up how download/restore works a little 201 * Try to load the package after downloading/restoring. Previously 202 that was done too early in the process. 203 * make previous verbose output debug output 204 * report a typed error instead of a string from listPackage so it can 205 be asserted to provide a nicer error. 206 * Catch go get errors that say there are no go files found. See code 207 comment as to why. 208 * do *all* downloading during download phase. 209 210 # v36 2015/12/14 211 212 * Fixes #358: Using wrong variable. Will add test after release. 213 214 # v35 2015/12/11 215 216 * Fixes #356: Major performance regressions in v34 217 * Enable cpu profiling via flag on save. 218 * Cache packages by dir 219 * Don't do a full import pass on deps for packages in the GOROOT 220 * create a bit less garbage at times 221 * Generalize -v & -d flags 222 223 # v34 2015/12/08 224 225 * We now use build.Context to help locate packages only and do our own parsing (via go/ast). 226 * Fixes reported issues caused by v33 (Removal of `go list`): 227 * #345: Bug in godep restore 228 * #346: Fix loading a dot package 229 * #348: Godep save issue when importing lib/pq 230 * #350: undefined: build.MultiplePackageError 231 * #351: stow away helper files 232 * #353: cannot find package "appengine" 233 * Don't process imports of `.go` files tagged with the `appengine` build tag. 234 235 # v33 2015/12/07 236 237 * Replace the use of `go list`. This is a large change although all existing tests pass. 238 * Don't process the imports of `.go` files with the `ignore` build tag. 239 240 # v32 2015/12/02 241 242 * Eval Symlinks in Contains() check. 243 244 # v31 2015/12/02 245 246 * In restore, mention which package had the problem -- @shurcool 247 248 # v30 2015/11/25 249 250 * Add `-t` flag to the `godep get` command. 251 252 # v29 2015/11/17 253 254 * Temp work around to fix issue with LICENSE files. 255 256 # v28 2015/11/09 257 258 * Make `version` an actual command. 259 260 # v27 2015/11/06 261 262 * run command once during restore -v 263 264 # v26 2015/11/05 265 266 * Better fix for the issue fixed in v25: All update paths are now path.Clean()'d 267 268 # v25 2015/11/05 269 270 * `godep update package/` == `godep update package`. Fixes #313 271 272 # v24 2015/11/05 273 274 * Honor -t during update. Fixes #312 275 276 # v23 2015/11/05 277 278 * Do not use --debug to find full revision name for mercurial repositories 279 280 # v22 2015/11/14 281 282 * s/GOVENDOREXPERIMENT/GO15VENDOREXPERIMENT :-( 283 284 # v21 2015/11/13 285 286 * Fix #310: Case insensitive fs issue 287 288 # v20 2015/11/13 289 290 * Attempt to include license files when vendoring. (@client9) 291 292 # v19 2015/11/3 293 294 * Fix conflict error message. Revisions were swapped. Also better selection of package that needs update. 295 296 # v18 2015/10/16 297 298 * Improve error message when trying to save a conflicting revision. 299 300 # v17 2015/10/15 301 302 * Fix for v16 bug. All vcs list commands now produce paths relative to the root of the vcs. 303 304 # v16 2015/10/15 305 306 * Determine repo root using vcs commands and use that instead of dep.dir 307 308 # v15 2015/10/14 309 310 * Update .travis.yml file to do releases to github 311 312 # v14 2015/10/08 313 314 * Don't print out a workspace path when GO15VENDOREXPERIMENT is active. The vendor/ directory is not a valid workspace, so can't be added to your $GOPATH. 315 316 # v13 2015/10/07 317 318 * Do restores in 2 separate steps, first download all deps and then check out the recorded revisions. 319 * Update Changelog date format 320 321 # v12 2015/09/22 322 323 * Extract errors into separate file. 324 325 # v11 2015/08/22 326 327 * Amend code to pass golint. 328 329 # v10 2015/09/21 330 331 * Analyse vendored package test dependencies. 332 * Update documentation. 333 334 # v9 2015/09/17 335 336 * Don't save test dependencies by default. 337 338 # v8 2015/09/17 339 340 * Reorganize code. 341 342 # v7 2015/09/09 343 344 * Add verbose flag. 345 * Skip untracked files. 346 * Add VCS list command. 347 348 # v6 2015/09/04 349 350 * Revert ignoring testdata directories and instead ignore it while 351 processing Go files and copy the whole directory unmodified. 352 353 # v5 2015/09/04 354 355 * Fix vcs selection in restore command to work as go get does 356 357 # v4 2015/09/03 358 359 * Remove the deprecated copy option. 360 361 # v3 2015/08/26 362 363 * Ignore testdata directories 364 365 # v2 2015/08/11 366 367 * Include command line packages in the set to copy 368 369 This is a simplification to how we define the behavior 370 of the save command. Now it has two distinct package 371 parameters, the "root set" and the "destination", and 372 they have clearer roles. The packages listed on the 373 command line form the root set; they and all their 374 dependencies will be copied into the Godeps directory. 375 Additionally, the destination (always ".") will form the 376 initial list of "seen" import paths to exclude from 377 copying. 378 379 In the common case, the root set is equal to the 380 destination, so the effective behavior doesn't change. 381 This is primarily just a simpler definition. However, if 382 the user specifies a package on the command line that 383 lives outside of . then that package will be copied. 384 385 As a side effect, there's a simplification to the way we 386 add packages to the initial "seen" set. Formerly, to 387 avoid copying dependencies unnecessarily, we would try 388 to find the root of the VCS repo for each package in the 389 root set, and mark the import path of the entire repo as 390 seen. This meant for a repo at path C, if destination 391 C/S imports C/T, we would not copy C/T into C/S/Godeps. 392 Now we don't treat the repo root specially, and as 393 mentioned above, the destination alone is considered 394 seen. 395 396 This also means we don't require listed packages to be 397 in VCS unless they're outside of the destination. 398 399 # v1 2015/07/20 400 401 * godep version command 402 403 Output the version as well as some godep runtime information that is 404 useful for debugging user's issues. 405 406 The version const would be bumped each time a PR is merged into master 407 to ensure that we'll be able to tell which version someone got when they 408 did a `go get github.com/tools/godep`. 409 410 # Older changes 411 412 Many and more, see `git log -p`