Andrew Gerrand
47a89693e9
misc/dist: clean files from GOPATH after building tour
...
Fixes #5503 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/10989043
2013-07-08 11:45:33 +10:00
Alex Brainman
77d4347bf2
misc/dist: remove lingering ~ file
...
Fixes #5405 .
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/9856043
2013-05-30 12:11:17 +10:00
Andrew Gerrand
81063812b4
dist: add .exe extension to tour.exe
...
Fixes #5246 .
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/8558044
2013-04-09 18:17:55 +10:00
Andrew Gerrand
0ccfbea5b0
dist: include js directory in misc/tour in binary distros
...
R=campoy, dsymonds
CC=golang-dev
https://golang.org/cl/8564043
2013-04-09 17:51:55 +10:00
Andrew Gerrand
edca83e23a
misc/dist: only build race toolchain where available, fix file upload
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/8343046
2013-04-04 14:46:54 +11:00
Andrew Gerrand
5d1c7bd1a6
misc/dist: add -version flag to override version name
...
Also, don't build the tour when making the source distribution.
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/8354043
2013-04-04 14:21:19 +11:00
Andrew Gerrand
1b9e36356b
misc/dist: don't ship race-enabled commands
...
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8350044
2013-04-04 12:07:53 +11:00
Andrew Gerrand
57af97f2f4
misc/dist: include race detector packages in binary distributions
...
Fixes #4596 .
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8327045
2013-04-04 08:06:29 +11:00
Joe Poirier
b7b4783622
misc/dist: fix Windows breakage
...
The files could use some attention on the
Windows side but better to wait until after
the upcoming release.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7621044
2013-03-18 08:56:38 +11:00
Francesc Campoy
ba41978516
go/misc/dist: Keep file modes when copying.
...
R=adg
CC=golang-dev
https://golang.org/cl/7221055
2013-01-29 15:17:39 -08:00
Francesc Campoy
6c035469b5
go/misc: Adding go-tour to the generated packages for every distribution.
...
R=adg, minux.ma
CC=golang-dev
https://golang.org/cl/6976045
2013-01-28 21:46:49 -08:00
Shenghou Ma
0c44488ad9
misc/dist: support packaging for NetBSD
...
R=adg
CC=golang-dev
https://golang.org/cl/6650053
2012-10-16 15:53:17 +08:00
Andrew Gerrand
79de0d00ae
misc/dist: generate tarballs for Mac OS X
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6503118
2012-09-17 16:59:16 -07:00
Brad Fitzpatrick
ca6b4d535f
misc/dist: use archive/tar.FileInfoHeader
...
Fixes #3299
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6250056
2012-05-24 17:32:25 -07:00
Andrew Gerrand
029d62f5c0
misc/dist: drop repetition in filenames, default to release tag
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6117066
2012-04-26 13:25:53 -07:00
Mikkel Krautz
78e4d1752e
misc/dist: more gophers for OS X installer
...
Replaces the default OS X installer background
with a more fitting image.
R=golang-dev
CC=golang-dev
https://golang.org/cl/6116043
2012-04-24 09:24:19 -07:00
Mikkel Krautz
c17d09a657
misc/dist: require 10.6 or later for OS X .pkgs
...
This changes the misc/dist program to generate OS X
packages using pkgbuild and productbuild.
The productbuild utility makes it easy to generate
packages with a custom Distribution file. This allows
us to add an installcheck script that presents a
friendly message to users who are running on an old
version of Mac OS X.
The change also fixes a few issues with the
postinstall script:
- In-repo version of the script has been made
executable. Installers generated using the new
tools couldn't execute it otherwise.
- It now uses -d for checking for the existence
of the Xcode specs directory.
- The call to sudo.bash has been dropped since cov
and prof aren't bundled with the binary
distributions.
Fixes #3455 .
Tested on 10.5.8, 10.6.0, 10.6.8 and 10.7.3.
R=adg, golang-dev
CC=golang-dev
https://golang.org/cl/5987044
2012-04-23 14:56:03 -07:00
Dave Cheney
4e9f7047dc
misc/dist: include directories in distribution tar and zip files.
...
Fixes #3458 .
R=adg, dsymonds
CC=golang-dev
https://golang.org/cl/5969071
2012-04-05 11:39:12 +10:00
Andrew Gerrand
0f775d6b76
misc/dist: label 386 and amd64 as "32-bit x86" and "64-bit x86"
...
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5986043
2012-04-05 11:16:37 +10:00
Brad Fitzpatrick
0fd53d8be9
misc/dist: check return value from filepath.Walk
...
Doesn't fix any known issue. This bit me in some unrelated
code and I thought of this tool.
R=golang-dev, krautz, mikkel
CC=golang-dev
https://golang.org/cl/5976067
2012-04-03 12:33:22 -07:00
Mikkel Krautz
28ac033b2e
dist: make sure OS X packages follow symlinks when installing
...
R=adg
CC=golang-dev
https://golang.org/cl/5970061
2012-04-02 16:34:11 +10:00
Andrew Gerrand
81dbec12c8
misc/dist: it sucks hwhen you forget to fix typos
...
R=golang-dev
CC=golang-dev
https://golang.org/cl/5937049
2012-03-28 12:45:39 +11:00
Andrew Gerrand
70a8948a39
misc/dist: support upload only (no build)
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5940050
2012-03-28 12:24:43 +11:00
Andrew Gerrand
0c58eff0b6
misc/dist: don't ship codereview either
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5917043
2012-03-27 10:38:10 +11:00
Andrew Gerrand
9b6555c605
misc/dist: don't include old python dashboard in releases
...
I'd prefer not to ship a bunch of bad Python code to everyone who uses
Go 1.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5915043
2012-03-27 09:59:20 +11:00
Andrew Gerrand
bfdc45a456
misc/dist: add -wxs flag to provide custom installer.wxs file
...
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5908055
2012-03-26 17:32:20 +11:00
Brad Fitzpatrick
86c7bc6e8b
misc/dist: don't ship cmd/cov or cmd/prof
...
Fixes #3317
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5784083
2012-03-15 15:22:56 -07:00
Brad Fitzpatrick
d6ea81e0b9
misc/dist: don't lose mode bits when setting tar permissions
...
R=golang-dev, bsiegert, rsc
CC=golang-dev
https://golang.org/cl/5822046
2012-03-14 08:24:11 -07:00
Andrew Gerrand
5c8e88d6d2
misc/dist: remove exp and old before building
...
Fixes #3317 .
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5784074
2012-03-14 23:47:34 +11:00
Andrew Gerrand
b3ca3e9564
misc/dist: force modes to 0755 or 0644 in tarballs
...
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5823045
2012-03-14 17:09:15 +11:00
Brad Fitzpatrick
c405b58f3f
misc/dist: better archive/tar Headers
...
This should live in archive/tar later (CL 5796073) but we
can always do that after Go 1 and stick it here for now.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5754096
2012-03-12 21:49:43 -07:00
Andrew Gerrand
677caf7813
misc/dist: trim space from version string
...
This prevents us from writing filenames like "weekly.2012-03-12\n.foo.bar.tar.gz".
R=bradfitz
CC=golang-dev
https://golang.org/cl/5783090
2012-03-13 15:31:39 +11:00
Brad Fitzpatrick
ac0789c63e
misc/dist: use archive/tar to generate tarballs
...
For people untarring with -p or as root, preserving file permissions.
This way we don't make tars owned by adg/eng or adg/staff or whatever
machine Andrew was on. Instead, we always build tarballs owned by predictable
users.
Except archive/tar doesn't seem to work.
Updates #3209 .
R=golang-dev, adg
CC=dsymonds, golang-dev
https://golang.org/cl/5796064
2012-03-11 23:07:38 -07:00
Brad Fitzpatrick
2ae8605859
misc/dist: use archive/zip, seek out windows deps, add --upload flag
...
Use archive/zip instead of 7z on Windows.
Look for all Windows deps before starting build, and include looking
for them in their common locations instead of making users update
their PATHs.
Add an --upload flag that, if set to false, doesn't require credential
files.
R=golang-dev, alex.brainman, adg
CC=golang-dev
https://golang.org/cl/5794046
2012-03-11 21:02:40 -07:00
Shenghou Ma
0c74d867c5
misc/dist: minimum target requirement is 10.6 for Darwin
...
As we've dropped support for Mac OS X 10.5, I think the generated .pkg
should reflect that decision.
But this CL make it impossible to generate pkg on Mac OS X 10.6, at least
for me.
R=adg, bradfitz
CC=golang-dev
https://golang.org/cl/5798051
2012-03-12 13:20:25 +11:00
Andrew Gerrand
08a5d73940
misc/dist: produce a zip file under windows
...
Updates #3254 .
R=golang-dev, bradfitz, alex.brainman
CC=golang-dev
https://golang.org/cl/5783058
2012-03-09 12:57:38 +11:00
Andrew Gerrand
7db4384354
misc/dist: fix glob pattern under windows
...
R=bradfitz
CC=golang-dev
https://golang.org/cl/5753066
2012-03-07 13:34:01 +11:00
Andrew Gerrand
243ac1613e
misc/dist: prepare source archives
...
Fixes #95 .
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5756066
2012-03-07 13:13:26 +11:00
Andrew Gerrand
5e46a8c9f9
misc/dist: add windows packaging support
...
R=golang-dev, bsiegert, jdpoirier
CC=golang-dev
https://golang.org/cl/5727059
2012-03-06 08:55:53 +11:00
Andrew Gerrand
984780a589
misc/dist: implement binary distribution scripts in go
...
R=golang-dev, r, alex.brainman, r, mike.rosset
CC=golang-dev
https://golang.org/cl/5697050
2012-03-01 15:49:37 +11:00