Commit Graph

138 Commits

Author SHA1 Message Date
Matthew Flatt
7e8cbfa5a7 distro-build/installer-dmg: codesign whole ".app" instead of just exe
This change is needed for the more stringent Gatekeeper introduced in
Mac OS X 10.9.5, but the build machine has to be 10.9 or later to make
10.9.5 clients happy.

original commit: 8a8558717822537943710ea4850f4ead56f0fb14
2014-11-04 04:53:52 -07:00
Matthew Flatt
6a3aee711a distro-build: try connecting a few times to let a VM warm up
This strategy has been successful for the package-build service,
and it will hopefully cut down on spurious snapshot build failures
that happen when a VM's networking doesn't start up quickly enough.

original commit: 14f984ba63bf3b9714e11b46d42f0402043d144f
2014-10-24 08:27:50 -06:00
Matthew Flatt
1521fd2b8e Mac OS X .pkg installer: check for target folder before installing
If the target folder exists, let the user know and give up. (This
seems safer than trying to delete the folder, since there might be
other files in the folder than the original files, and the installer
doesn't currently keep a list of installed files.)

original commit: 2e327d78866c598430a83632a7dde215bbfd4397
2014-10-24 08:01:15 -06:00
Matthew Flatt
ad6ac7fe28 distro-build: "detail" label rendering on download page
original commit: f0bd4e6d711b99af110a687445425da462458b65
2014-10-08 06:25:51 -06:00
Matthew Flatt
e39f2d9d8c make site: fix for SRC_CATALOG mode
In SRC_CATALOG mode, there's not a separate "native" directory.

original commit: f885d98d60317784dbe2458058ec1f375df5341b
2014-09-05 09:40:54 -06:00
Matthew Flatt
2f17ec529a Windows installer: uninstall "collects"
Closes PR 14715, where Eli describes the repair

(Probably, the "collects" directory was missing from the uninstaller
list because "collects" moved under "lib" in an intermediate variant
of the directory organization.)

original commit: 2a9b81fd54d2704bc7fcaa32d24cc64be18c0774
2014-09-01 14:44:28 +02:00
Matthew Flatt
0f56ea84ee distro-build/readme: adjust content of generated README files
Relevant to PR 14714

(I think the remaining suggestions in the PR are about the build
configuration.)

original commit: 0d9bb1367ee5e0f2e867d848b9463b52f5cca5ad
2014-09-01 14:40:27 +02:00
Matthew Flatt
adf27c4888 distro-build: fix catalog URL handling
original commit: 5fd46a4d9afd7106690d25bc9f54c7fbdbd949d9
2014-08-26 12:24:22 -06:00
Matthew Flatt
9d7d909f2f remote-shell: new package for ssh and VirtualBox utilities
Extracted from "meta/pkg-build" and "distro-build".

original commit: 807537e219c278514e1020dfc2a1bef16adfc893
2014-07-29 12:29:52 +01:00
Matthew Flatt
7b96d5eb8b distro-/pkg-info: empty test
original commit: fb3e6b88516f9ba5c181903464035ee050ba5452
2014-07-04 13:13:09 +01:00
Matthew Flatt
39d1c13abe make site: propagate package dependencies, modules, etc. to catalog
original commit: 3f040f7a1a383b2000a5bb250da33b94815ccb0a
2014-07-04 08:48:46 +01:00
Matthew Flatt
665dfdcdc4 Unix installer: add support for command-line arguments
Command-line arguments replace interactive prompts, which is
better for scripting runs of the installer.

original commit: bdccb135e76bfe8ffd2fae534829a57375ebdb49
2014-06-30 18:38:00 +01:00
Matthew Flatt
8d89a97df6 distro-build: add "versionless" option
Versionless mode avoids putting a version number in an installer's
name or in installation paths.

original commit: 133d7a3c41208171a3858a62cc4aa419bdb2ff41
2014-06-23 18:42:46 +01:00
Matthew Flatt
a5e0d18a99 make installers: give MSVC setup "x86_amd64" instead of "x64" by default
The "x86_amd64" mode seems to work more often, especially with
Visual Studio Express installations.

original commit: 9c05eff8751cc104f430b8ed231268e79ecf5303
2014-06-19 15:09:26 +01:00
Matthew Flatt
2354354f5e distro-build: allow any string for #:vc
original commit: 54c9057e1d69888ce977ff34965bd02fedfbab7a
2014-06-19 05:28:16 +01:00
Matthew Flatt
8fb02985c3 make installers: propagate SOURCE_MODE to clients
original commit: 16114823dca662486936b0d1f7eb527061af9048
2014-06-15 07:37:10 +01:00
Matthew Flatt
112b51dac3 change default MSVC projects to Visual Studio 2010 (version 10) and up
Visual Studio 2008 is still supported by "9.sln" projects and
".vcproj" files, while ".sln" and ".vcxproj" work for 2010, 2012,
and 2013. The "build.bat" script detects which version of
Visual Studio is active and uses the appropriate ".sln" files.

The bad news is that we have two copies of each project until we
decide to drop support for Visual Studio 2008. (We had two copies
before, but one copy was unmaintained.) The good news is that
we have only 2 copies of each project, because recent versions of
Visual Studio are willing to use 2010 projects as-is.

Change project and related files to text instead of always CRLF,
because that seems to be ok for modern Windows tools.

original commit: aa487175adadeab02177bfab2564f63f29bea334
2014-06-13 16:32:51 +01:00
Matthew Flatt
eade61bd3d distro-build: move a file out that is accessed directly
The "pack-all.rkt" file is needed before (and only before) the
distro-build package itself is ready, so move it to the "racket/src"
directory.

original commit: b7610c405d58c89f0bfee7b81e4caf56b616f773
2014-06-13 16:32:51 +01:00
Matthew Flatt
db364d86f0 distro-build: split vbox control to separate module
original commit: cbc734e75bf9425e90a1bb80b207c4b01c25b861
2014-06-10 19:15:12 +01:00
Matthew Flatt
d82d917979 make site: use relative paths in the pkg catalog for a site
original commit: dc97b85d4464f64e336db1e0379ac2f868bb1c8a
2014-06-02 15:30:32 +01:00
Matthew Flatt
4c0267fe59 distro-build: fix catalog dir creation for built packages
original commit: e471995fa6706f1a1955643fe90ce5aad2da10f8
2014-05-10 06:53:12 -06:00
Matthew Flatt
0bde624aa5 distro-build: fix catalog relative paths
The old use of relative paths was unusual and fragile.
Proper relative paths are now supported, so generate paths
consistent with that.

original commit: 718cbd4c419cc8532511ddf8d108975835709aea
2014-05-09 10:32:14 -06:00
Matthew Flatt
c043fed508 distro-build: use plt-web style for site or snapshot page
original commit: 23fa168309e2df86641794ff0cd668468e8e5143
2014-03-20 18:28:21 -06:00
Matthew Flatt
37b51c6b7b distro-build: refine client--server split
original commit: df857e1c76d6420684446ac92555ef709c673c8d
2014-03-11 08:10:35 -06:00
Matthew Flatt
9b579f598d Makefile: refine support for building an installer from a site
original commit: 1260dd6b2ecdb90789c8e347f94249be8acbe564
2014-03-11 08:10:35 -06:00
Matthew Flatt
45d71521fd distro-build: split server and client parts
original commit: a98582b82337db02cd47b5d1a932285a80146c07
2014-03-09 15:57:40 -06:00
Matthew Flatt
ba380fda79 LGPL by reference
original commit: 981701d2378179d4ada54b7fd2608df3b89748fd
2014-02-27 15:56:11 -07:00
Matthew Flatt
cabceb5785 distro-build: record "" build stamp (especially for release mode)
original commit: 8177be0b9953fac926425b4b26e91fdbba8ed083
2014-01-28 07:32:44 -07:00
Matthew Flatt
0e03c2111f distro-build: always include version number in directory for source
original commit: 387dd2117b950d1c4ce54717b7a82f02b69d3aae
2014-01-28 07:32:44 -07:00
Eli Barzilay
335533b0c8 2013 -> 2014
original commit: c61a549840ee0ba5f2e5da56523fd3b26efeb895
2014-01-21 15:02:21 -05:00
Matthew Flatt
3fcf61530b move "props" test configs to test submodules or "info.rkt" files
The "props" file still has

 * ".rkt" `drdr:timeout` entries, needed until DrDr uses submodules and
   "info.rkt" files; although timeout information has been put in
   submodules for `raco test`, DrDr uses `raco test` in a way that does not
   enable timeouts, so that DrDr can implement timeouts itself (and record
   when a test times out)

 * ".rkt" `drdr:random #t` entries; not sure what to do with these, yet

 * ".rkt" `responsible` entries; not sure what to do with these, yet

 * ".rktl" `drdr:command-line #f` entries, needed until all ".rktl" files
   are disabled in DrDr

The following files were previously disabled for DrDr testing, but were
intentionally left as enabled with these changes:

pkgs/racket-pkgs/racket-test/tests/pkg/shelly.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/util.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/info.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/basic-index.rkt
pkgs/racket-pkgs/racket-test/tests/racket/link.rkt
pkgs/racket-pkgs/racket-test/tests/racket/embed-in-c.rkt
pkgs/racket-pkgs/racket-doc/ffi/examples/use-c-printf.rkt
pkgs/racket-pkgs/racket-doc/ffi/examples/c-printf.rkt
pkgs/parser-tools-pkgs/parser-tools-lib/parser-tools/private-lex/error-tests.rkt
pkgs/mysterx/mysterx.rkt
pkgs/mysterx/main.rkt
pkgs/games/gobblet/test-model.rkt
pkgs/games/gobblet/test-explore.rkt
pkgs/games/gobblet/robot.rkt
pkgs/games/gobblet/check.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/main.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/ffi.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/dbsystem.rkt
pkgs/db-pkgs/db-lib/db/private/odbc/connection.rkt
pkgs/distributed-places-pkgs/distributed-places-lib/racket/place/distributed/examples/hello-world.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/match.rkt
pkgs/htdp-pkgs/htdp-test/2htdp/utest/balls.rkt
pkgs/gui-pkgs/gui-test/framework/tests/test-suite-utils.rkt
pkgs/games/paint-by-numbers/raw-problems/size-calculation.rkt
pkgs/db-pkgs/db-lib/db/odbc.rkt
pkgs/compatibility-pkgs/compatibility-lib/mzlib/traceld.rkt
pkgs/cext-lib/dynext/private/stdio.rkt
pkgs/db-pkgs/db-lib/db/odbc.rkt
racket/collects/ffi/unsafe/objc.rkt
racket/collects/ffi/objc.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/tests-db.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/test-docs.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/test-catalogs-api.rkt
pkgs/gui-pkg-manager-pkgs/gui-pkg-manager-lib/pkg/gui/main.rkt
pkgs/redex-pkgs/redex-lib/redex/private/compiler/redextomatrix.rkt
pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/base-special-env.rkt
pkgs/planet-pkgs/planet-test/tests/planet/version.rkt
pkgs/planet-pkgs/planet-test/tests/planet/test-docs-complete.rkt
pkgs/planet-pkgs/planet-test/tests/planet/lang.rkt
pkgs/planet-pkgs/planet-test/tests/planet/docs-build.rkt
pkgs/drracket-pkgs/drracket-test/tests/drracket/follow-log.rkt
pkgs/drracket-pkgs/drracket/drracket/private/dock-icon.rkt
pkgs/drracket-pkgs/drracket-test/tests/drracket/tool-lib-and-sig.rkt

original commit: e226ad66c5fb6095d5702e5c47f5c7cf73e914f5
2013-12-30 12:15:18 -07:00
Matthew Flatt
1e896570e8 make installers: fix quoting for windows/bash ssh
original commit: fd487b86a316db29d2d03dc6a665beb21f958371
2013-12-24 09:54:16 -06:00
Ryan Culpepper
cfcbab2719 apply signature in productbuild, not pkgbuild
Merge to release branch.

original commit: 6f94215f92ccbc67e321b86544abbde109a23a4f
2013-12-19 00:12:04 -05:00
Matthew Flatt
93c6f4d0ab make installers: fixes for parallel mode and timeouts
The `parallel` form in a site configuration was working only
with leaf machines; now, it should be fixed for `sequential`
nested under `parallel`.

Also, fix timeout handling and reporting of failures.

original commit: 266e4ab1191cb9d3304b73e20a0c36b15fdf148d
2013-12-18 14:45:52 -07:00
Matthew Flatt
b822ded0b7 fix README instructions on raco pkg config --set name
Merge to v6.0

original commit: dc27bc5717ca8047151e26b640d9f03bc9de779f
2013-11-22 14:59:35 -07:00
Matthew Flatt
6c22b670a6 make snapshot-site: don't treat removed builds as failing
original commit: d2ec49179403fcff9f3c356dad75751f351b6a3b
2013-11-12 09:12:57 -07:00
Matthew Flatt
69565cf853 distro-build: add --pkgs to a call to raco pkg install
original commit: 4072ef863264cbd161158239ca76e4abceb32274
2013-11-11 13:55:38 -07:00
Matthew Flatt
d5a644f8f2 make site: fix for pop-up help
original commit: 5c17488d4ca4dd141261a97972dd93598450c571
2013-11-11 13:55:38 -07:00
Matthew Flatt
aec79d1db5 make site: add support for help pop-ups on generated download page
original commit: 61a78d00e9244f469f57f75812d6a1d0734916c4
2013-11-11 05:27:08 -07:00
Matthew Flatt
5de41c4bc1 make installers: support Mac OS X ".pkg" format
The ".pkg"-based installer doesn't provide the option of picking
an installation path, but it can add a path in "/etc/paths.d"
so that users do not have to explicitly set the `PATH` environment
variable.

original commit: 7dd10fc9bd35d8cf10d26c50e4489f9bd6922b53
2013-11-11 05:27:08 -07:00
Matthew Flatt
a80e62d9b1 fix path in source-distribution README
Closes PR 14065

original commit: 58261e349503f847f53078e3989e4c7ed8c75e8b
2013-11-11 05:27:07 -07:00
Matthew Flatt
99a3c16e38 make snapshot-site: better failure display & linking
Make the "current" links more stable by linking to the most
recent success when a build fails.

Also, add links to the build logs.

original commit: 3d718b4f54b1d3b81f639cc8be974c63af44ac76
2013-11-08 08:10:25 -07:00
Matthew Flatt
5dc96910fa distro-build: recognize timeout and exceptions as failure
original commit: 1e2c6e243afc42a75290b78d7d39dae6b2e78726
2013-11-08 06:58:39 -07:00
Matthew Flatt
19b488e135 distro-build: add support for e-mail report on build
original commit: ddd0eb2d9de85cab40cbe06b8d8e808bcbe224a6
2013-11-03 09:21:59 -07:00
Matthew Flatt
d19e124bd3 make snapshot-site: add "current" links for installers
original commit: e4f4324fa9e17f8d2590d250dd9da4fcecf9a8cd
2013-10-19 07:56:00 -06:00
Matthew Flatt
6b69a14904 make installer: add Mac OS X code-signing support
original commit: 2054fb79de5b2895260cdcf863d956377b939db3
2013-10-19 07:56:00 -06:00
Matthew Flatt
eed71349a8 make installers: make the server listen only to "localhost" by default
This makes the build more secure, but it's a backward-incompatible change.
To adapt old site-configuration scripts, the simplest option is to set
`#:server' to "localhost" everywhere and rely on SSH tunneling to let
a client reach a server (though, unfortunately, that option doesn't
seem to work if a Windows machine uses freeSSHd). Another possibility
is to se `#:server-hosts' to the empty list.

original commit: 7be22af3502308ca4ba4f1e0adae0bb7dce71aae
2013-10-19 07:56:00 -06:00
Matthew Flatt
c3b3c1357f make installer: make Windows work with bash-serving sshd
Makes a Windows build client work with Cygwin's opensshd.

original commit: 7d706cb4e648eaba458dc384b46b33d3acc3726a
2013-10-19 07:56:00 -06:00
Matthew Flatt
012236700a make installer: option to set address & port where server listened
Client SSH connections now create remote port forwarding port back
to the server, so that making the server listen only on "localhost"
provides an easy improvement for security (except that remote port
forwarding seems not to work with freeSSHd on Windows).

original commit: acadcd2994504d246790505c85b114fc66d2aad5
2013-10-19 07:56:00 -06:00
Matthew Flatt
8c959d8df9 remove some unneeded dependencies
original commit: d5f6b72e6976a36d6777709711765af1117c959b
2013-10-15 17:50:32 -06:00