gopkg.in/tools/godep.v42@v42.0.0-20151223001600-f221061cd941/Changelog.md (about) 1 # v42 2015/12/22 2 3 * Fix a bunch of GO15VENDOREXPERIMENT issues 4 * 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). 5 * Set the VendorExperiment bool based on go version as 1.6 defaults to on. 6 * A bunch of extra debugging for use while sanity checking myself. 7 * vendor flag for test structs. 8 * Some tests for vendor/ stuff: 9 * Basic Test 10 * Transitive 11 * Transitive, across GOPATHs + collapse vendor/ directories. 12 * Should Fix #358 13 14 # v41 2015/12/17 15 16 * Don't rewrite packages outside of the project. This would happen if you specified 17 an external package for vendoring when you ran `goodep save -r ./... github.com/some/other/package` 18 19 # v40 2015/12/17 20 21 * When downloading a dependency, create the base directory if needed. 22 23 # v39 2015/12/16 24 25 * Record only the major go version (ex. go1.5) instead of the complete string. 26 27 # v38 2015/12/16 28 29 * Replace `go get`, further fix up restore error handling/reporting. 30 * Fixes #186 31 * Don't bother restoring/downloading if already done. 32 33 # v37 2015/12/15 34 35 * Change up how download/restore works a little 36 * Try to load the package after downloading/restoring. Previously 37 that was done too early in the process. 38 * make previous verbose output debug output 39 * report a typed error instead of a string from listPackage so it can 40 be asserted to provide a nicer error. 41 * Catch go get errors that say there are no go files found. See code 42 comment as to why. 43 * do *all* downloading during download phase. 44 45 # v36 2015/12/14 46 47 * Fixes #358: Using wrong variable. Will add test after release. 48 49 # v35 2015/12/11 50 51 * Fixes #356: Major performance regressions in v34 52 * Enable cpu profiling via flag on save. 53 * Cache packages by dir 54 * Don't do a full import pass on deps for packages in the GOROOT 55 * create a bit less garbage at times 56 * Generalize -v & -d flags 57 58 # v34 2015/12/08 59 60 * We now use build.Context to help locate packages only and do our own parsing (via go/ast). 61 * Fixes reported issues caused by v33 (Removal of `go list`): 62 * #345: Bug in godep restore 63 * #346: Fix loading a dot package 64 * #348: Godep save issue when importing lib/pq 65 * #350: undefined: build.MultiplePackageError 66 * #351: stow away helper files 67 * #353: cannot find package "appengine" 68 69 # v33 2015/12/07 70 71 * Replace the use of `go list`. This is a large change although all existing tests pass. 72 73 # v32 2015/12/02 74 75 * Eval Symlinks in Contains() check. 76 77 # v31 2015/12/02 78 79 * In restore, mention which package had the problem -- @shurcool 80 81 # v30 2015/11/25 82 83 * Add `-t` flag to the `godep get` command. 84 85 # v29 2015/11/17 86 87 * Temp work around to fix issue with LICENSE files. 88 89 # v28 2015/11/09 90 91 * Make `version` an actual command. 92 93 # v27 2015/11/06 94 95 * run command once during restore -v 96 97 # v26 2015/11/05 98 99 * Better fix for the issue fixed in v25: All update paths are now path.Clean()'d 100 101 # v25 2015/11/05 102 103 * `godep update package/` == `godep update package`. Fixes #313 104 105 # v24 2015/11/05 106 107 * Honor -t during update. Fixes #312 108 109 # v23 2015/11/05 110 111 * Do not use --debug to find full revision name for mercurial repositories 112 113 # v22 2016/11/14 114 115 * s/GOVENDOREXPERIMENT/GO15VENDOREXPERIMENT :-( 116 117 # v21 2016/11/13 118 119 * Fix #310: Case insensitive fs issue 120 121 # v20 2016/11/13 122 123 * Attempt to include license files when vendoring. (@client9) 124 125 # v19 2016/11/3 126 127 * Fix conflict error message. Revisions were swapped. Also better selection of package that needs update. 128 129 # v18 2016/10/16 130 131 * Improve error message when trying to save a conflicting revision. 132 133 # v17 2016/10/15 134 135 * Fix for v16 bug. All vcs list commands now produce paths relative to the root of the vcs. 136 137 # v16 2015/10/15 138 139 * Determine repo root using vcs commands and use that instead of dep.dir 140 141 # v15 2015/10/14 142 143 * Update .travis.yml file to do releases to github 144 145 # v14 2015/10/08 146 147 * 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. 148 149 # v13 2015/10/07 150 151 * Do restores in 2 separate steps, first download all deps and then check out the recorded revisions. 152 * Update Changelog date format 153 154 # v12 2015/09/22 155 156 * Extract errors into separate file. 157 158 # v11 2015/08/22 159 160 * Amend code to pass golint. 161 162 # v10 2015/09/21 163 164 * Analyse vendored package test dependencies. 165 * Update documentation. 166 167 # v9 2015/09/17 168 169 * Don't save test dependencies by default. 170 171 # v8 2015/09/17 172 173 * Reorganize code. 174 175 # v7 2015/09/09 176 177 * Add verbose flag. 178 * Skip untracked files. 179 * Add VCS list command. 180 181 # v6 2015/09/04 182 183 * Revert ignoring testdata directories and instead ignore it while 184 processing Go files and copy the whole directory unmodified. 185 186 # v5 2015/09/04 187 188 * Fix vcs selection in restore command to work as go get does 189 190 # v4 2015/09/03 191 192 * Remove the deprecated copy option. 193 194 # v3 2015/08/26 195 196 * Ignore testdata directories 197 198 # v2 2015/08/11 199 200 * Include command line packages in the set to copy 201 202 This is a simplification to how we define the behavior 203 of the save command. Now it has two distinct package 204 parameters, the "root set" and the "destination", and 205 they have clearer roles. The packages listed on the 206 command line form the root set; they and all their 207 dependencies will be copied into the Godeps directory. 208 Additionally, the destination (always ".") will form the 209 initial list of "seen" import paths to exclude from 210 copying. 211 212 In the common case, the root set is equal to the 213 destination, so the effective behavior doesn't change. 214 This is primarily just a simpler definition. However, if 215 the user specifies a package on the command line that 216 lives outside of . then that package will be copied. 217 218 As a side effect, there's a simplification to the way we 219 add packages to the initial "seen" set. Formerly, to 220 avoid copying dependencies unnecessarily, we would try 221 to find the root of the VCS repo for each package in the 222 root set, and mark the import path of the entire repo as 223 seen. This meant for a repo at path C, if destination 224 C/S imports C/T, we would not copy C/T into C/S/Godeps. 225 Now we don't treat the repo root specially, and as 226 mentioned above, the destination alone is considered 227 seen. 228 229 This also means we don't require listed packages to be 230 in VCS unless they're outside of the destination. 231 232 # v1 2015/07/20 233 234 * godep version command 235 236 Output the version as well as some godep runtime information that is 237 useful for debugging user's issues. 238 239 The version const would be bumped each time a PR is merged into master 240 to ensure that we'll be able to tell which version someone got when they 241 did a `go get github.com/tools/godep`. 242 243 # Older changes 244 245 Many and more, see `git log -p`