Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
Mislav Marohnić f2603ba137 Remove Ruby ronn from build toolchain 2018-12-29 14:33:12 +01:00
Mislav Marohnić 00e1b9957d Remove obsolete build steps
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.
2018-06-08 20:57:27 +02:00
Mislav Marohnić 945067d771 Avoid `dep` clashing with Bundler
`dep` aggressively prunes everything under `vendor/`. Unfortunately,
this consistently nukes the contents of `vendor/bundle` directory.
2018-01-29 20:59:23 +01:00
Mislav Marohnić 0aa5b57338 Enforce go1.8+ at build time 2017-05-17 13:09:00 +02:00
Pepper Lebeck-Jobe e3518167df
Address review comments
1. Removed the check_go_version script
2. Only check go version in bootstrap
3. Simplify the go version check logic
2017-05-15 13:03:14 +09:00
Pepper Lebeck-Jobe 71fa8dad8f
Upgrade to Go 1.8
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.
2017-05-11 13:24:04 +09:00
Mislav Marohnić d1cb6d7d12 Simplify Travis config and fix release process 2016-08-21 15:57:31 +02:00
Mislav Marohnić 7c1fedfe90 Upgrade to Go 1.6
The GO15VENDOREXPERIMENT flag is no longer necessary.
2016-08-07 23:55:53 +02:00
Simon Kohlmeyer 4e9d29460a Explicitly specify binstub path in scripts/bootstrap
There might be a bundle config that specifies a different path, which
breaks the build. Explicitly specifying the path changes that.
2016-07-07 10:21:00 +02:00
Mislav Marohnić a04be036d1 Delete hub examples and configuration docs from the README
Man pages should be the canonical source of hub documentation. People
should use `man help hub` instead of viewing the README, which might not
even correspond to the version they have installed.

This ends the confusing man page build system in which parts of the
README are injected into `hub.1.ronn` source file, deletes the Rakefile
and removes rake from gem bundle.

The examples are deleted because they are now inlined with individual
command documentation. So did the documentation for all hub commands get
deleted from main man page in favor of individual man pages.

However, this makes main man page have absolutely no listing of which
commands are available. This will get addressed as we go forward.
2016-01-25 02:30:47 +11:00
Mislav Marohnić fc09731a8e Add `script/man` to generate individual man pages 2016-01-25 02:30:47 +11:00
Mislav Marohnić 3281cfb6f0 Suggest that Go 1.5.3 or higher is required 2016-01-25 02:20:49 +11:00
Mislav Marohnić d0ad43d47c Have `script/boostrap` generate binstubs 2016-01-20 14:03:07 +11:00
Mislav Marohnić 12c13bb9a4 Merge pull request #799 from github/update_version_in_bootstrap_script
Update `script/bootstrap` to recommended Go and Ruby version
2015-09-26 19:15:56 +02:00
Mislav Marohnić 97eb02bda4 Extract tmux from cached tarball on osx
Faster than `brew install tmux` which depends on openssl package
2015-06-02 18:00:41 +02:00
Jingwen Owen Ou 4356da27f3 Update `script/bootstrap` to recommended Go and Ruby version 2015-02-08 08:03:09 -08:00
Mislav Marohnić 4e12d8f338 Restore tmux & zsh inside Travis container
Conflicts:
	.travis.yml
	script/bootstrap
2014-12-24 14:39:20 -08:00
Mislav Marohnić 38db23dd62 Improve bootstrap, build and test scripts
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
2014-02-07 12:44:56 +01:00
Jingwen Owen Ou d0eeb375bc Add comments to scripts 2014-01-07 14:22:14 -08:00
Jingwen Owen Ou 4daf45dd62 Update README to install/update from source
We lock down dependencies with Godep so `go build` won't work
2014-01-01 11:18:24 -08:00
Jingwen Owen Ou 8471f1600a Move release dependency to script/release 2013-12-30 22:04:20 -08:00
Jingwen Owen Ou 334a5ae179 Move goxc to bootstrap script 2013-12-17 14:30:13 -08:00
Jingwen Owen Ou 0210d4c638 Upgrade to Go 1.2 2013-12-01 22:03:20 -08:00
Jingwen Owen Ou a98278ac15 Update scripts to point to godep 2013-11-14 08:39:25 -08:00
Jingwen Owen Ou 6547dc388d Add gotask script to build gh 2013-10-23 15:00:57 -07:00
Jingwen Owen Ou ebc91a30f9 Add #! to scripts 2013-10-10 20:32:46 -07:00
Jingwen Owen Ou abbc4113a3 Add some basic scripts 2013-10-10 20:26:16 -07:00