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