1. 17 4月, 2020 1 次提交
  2. 13 4月, 2020 1 次提交
  3. 05 3月, 2020 1 次提交
  4. 16 12月, 2019 1 次提交
  5. 31 10月, 2019 1 次提交
  6. 22 10月, 2019 1 次提交
  7. 03 10月, 2019 1 次提交
  8. 20 8月, 2019 1 次提交
  9. 17 6月, 2019 1 次提交
  10. 16 6月, 2019 1 次提交
    • E
      build: pass mod vendoring flag on newer versions of go · 7d915e23
      Eli Schwartz 提交于
      When go autodetects that it is being run as a go mod, and that there is
      a vendor directory, it will still try to redownload all sources over the
      network, unless you use -mod=vendor to tell it to use that. Additionally,
      when using -mod=vendor the compiler will nicely avoid messing with
      $GOPATH at all, since it can operate in a completely self-contained
      manner.
      
      Take advantage of this, when the detected go version is at least 1.11
      (when the -mod flag was introduced).
      7d915e23
  11. 27 1月, 2019 2 次提交
  12. 25 1月, 2019 1 次提交
  13. 03 1月, 2019 3 次提交
    • M
      Support `trimpath` for Go v1.8/1.9 · dd5388fe
      Mislav Marohnić 提交于
      Go 1.10 release notes:
      
      > The go build -asmflags, -gcflags, -gccgoflags, and -ldflags options
      > now apply by default only to the packages listed directly on the
      > command line. For example, go build -gcflags=-m mypkg passes the
      > compiler the -m flag when building mypkg but not its dependencies. The
      > new, more general form -asmflags=pattern=flags (and similarly for the
      > others) applies the flags only to the packages matching the pattern.
      > For example: go install -ldflags=cmd/gofmt=-X=main.version=1.2.3
      > cmd/... installs all the commands matching cmd/... but only applies
      > the -X option to the linker flags for cmd/gofmt. For more details, see
      > go help build.
      dd5388fe
    • M
    • E
      build: respect environment LDFLAGS and strip the build path · 39e15234
      Eli Schwartz 提交于
      golang does not natively respect LDFLAGS, but you can pass them on the
      command line using -ldflags=-extldflags=...
      This is important for distributions, in order to provide common
      functionality such as hardening flags.
      
      Also strip the prefixed root source directory from the embedded source
      file paths. This is not important information for the debugger, which
      should only care about paths relative to $GOPATH, and results in less
      build environment metadata leaking into the final binary. (This also
      aids in reproducible builds when using different build directories, see
      e.g. https://github.com/golang/go/issues/16860)
      39e15234
  14. 30 12月, 2018 1 次提交
  15. 29 12月, 2018 2 次提交
  16. 12 11月, 2018 1 次提交
  17. 17 10月, 2018 1 次提交
  18. 09 6月, 2018 1 次提交
    • M
      Remove obsolete build steps · 00e1b995
      Mislav Marohnić 提交于
      This was from the time when we tried to have hub build even if it wasn't
      checkout out within a local GOPATH. This change assumes a working Go
      environment.
      00e1b995
  19. 07 6月, 2018 2 次提交
  20. 19 3月, 2018 1 次提交
  21. 17 5月, 2017 1 次提交
  22. 11 5月, 2017 1 次提交
    • P
      Upgrade to Go 1.8 · 71fa8dad
      Pepper Lebeck-Jobe 提交于
      The only thing that has substansively changed is that Go 1.8 handles
      redirect logic more safely than previous versions. This means we can
      drop our special handling to avoid following redirects to other
      domains. We were only doing that to protect against the possibility
      of leaking auth headers. With Go 1.8, the auth headers are not
      forwarded when following a redirect to another domain, so we don't
      need our special handling any more.
      
      As long as people are attempting to build with the Makefile, the new
      check_go_version script should cause the build to stop if our
      collaborators aren't using at least version 1.8 of go.
      71fa8dad
  23. 08 4月, 2017 2 次提交
    • J
      Rename "review"->"pr" · 2eb3056a
      Johan Walles 提交于
      The current functionality should really be moved to "hub pr checkout".
      This is a step on the way.
      2eb3056a
    • J
      Add a "hub review" command · dc7abb5c
      Johan Walles 提交于
      It wraps functionality already provided by "hub checkout". The advantage
      with "hub review" are twofold:
      
      * Discoverability. It wasn't until I started browsing the hub source
        code that I realized this functionality was present.
      * Usability. Just typing the PR number is easier than having to figure
        out its URL.
      dc7abb5c
  24. 04 10月, 2016 1 次提交
  25. 12 9月, 2016 1 次提交
  26. 21 8月, 2016 2 次提交
  27. 31 1月, 2016 1 次提交
  28. 25 1月, 2016 3 次提交
  29. 07 2月, 2014 1 次提交
    • M
      Improve bootstrap, build and test scripts · 38db23dd
      Mislav Marohnić 提交于
      Old `script/bootstrap` & `script/build` were unfriendly to Go newbies
      because they require the user having GOPATH set in their environment,
      and either `godep` installed or `hg` to be able to fetch godep.
      
      However, since dependencies are vendored, we don't have any real build
      dependencies except Go itself.
      
      - `script/bootstrap` now checks Go and installs Ruby test bundle
      - `script/build` skips compiling if binary is up to date
      - `script/test` runs both Go and Cucumber test suites
      38db23dd
  30. 04 2月, 2014 1 次提交