github.com/wuciyou/godep@v0.0.0-20170205210856-a9cd0561f946/Changelog.md (about)

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