Commit Graph

146 Commits

Author SHA1 Message Date
Eli Barzilay
49ab87eadc "PLT Scheme Inc" -> "PLT Design Inc" 2013-02-12 08:06:30 -05:00
Eli Barzilay
0ded7e4e26 Typo in error message 2013-02-12 01:52:03 -05:00
Eli Barzilay
df850724e1 Very simple job server.
Kept here in case it's useful for other things.
2013-01-13 19:27:05 -05:00
Eli Barzilay
368ee6d8b5 Lots of improvements to DMG creation.
* Remove lots of sudoing, and instead use one to change the contents (of
  non-simple DMGs).  Perhaps that's not needed too.  (I think that there
  used to be some problem when the owner was a specific user in the
  installer script days, perhaps it caused some mess in the pre/post
  flight scripts.  Maybe it's safe to not do this anymore.)

* There was a fundamental weakness in the Finder script -- it tweaks the
  DMG by openning its mount, but the way to specify a disk is via its
  displayed name which is not unique.  This can be problematic if there
  is already a mount that has the same name, and given that the DMG
  machine can be used by PLT people, it's even likely to happen.  It is
  tricky to solve this, since there is no way that I see to refer to the
  disk by its mount point or device in the Finder, and no way to find
  out the name in the shell.

  I spent a ton of time searching the webs for a solution, but it seems
  that practically nobody is concerned (or even aware of this problem).
  Eventually, the hack I did is to mount the image onto a randomly named
  directory, then iterate over all disks and look for one whose `name'
  property is that directory name (apparently the `name' property is the
  name of the last component of the mount point).  For safety, throw an
  error if no such disk is found, or if more than one is found.

  Incidentally, using a known mount point also simplifies things since
  there is no need to know the device name of the mount.

* Use UDBZ instead of UDZO for the compressed image.  The savings are
  not as big as I expected them to be for some reason, but the
  compatibility issues should be all gone now (UDBZ works only from 10.4
  and up).

* Unset $LD_LIBRARY_PATH to avoid some 10.8 bug.

* Switch the build to happen on dublin, running 10.8.  At least
  code-signing is broken on the 10.5.8 machine, and possibly also the
  osascript to identify the desired image disk.
2013-01-13 16:52:08 -05:00
Eli Barzilay
ffbdaf0667 Added an optional hook script to run on the to-be-distributed directory. 2013-01-13 11:21:27 -05:00
Eli Barzilay
c8615a37b1 Saner dmg code organization.
"dmg" is now the layout-enabled usual DMGs, since they will soon have
more functionality around them (signed applications).  "sdmg" is for the
simple (or "source") DMGs, which are just plain containers for a
directory.  Also use a flag to avoid the stupid dynamic scope hack.
2013-01-13 11:21:27 -05:00
Eli Barzilay
a2207e6f33 Make only binary distributions use laid-out DMGs.
This is done by adding an "ldmg" type for laid-out DMGs, and "dmg"
produces a plain container image as before.
2013-01-12 04:11:44 -05:00
Eli Barzilay
b5618b7d13 Do the conventional DMG layout.
Note that this requires a running Finder.  Note also that the process
involves attaching the created DMG which means that it might be
problematic with a machine that might have a volume by the same name
already attached (since the applescript uses the volume name, which is
not required to be unique).
2013-01-12 04:11:44 -05:00
Eli Barzilay
a3a47128de Remove "internet-enabled" dmg creation.
Robby says that they're no longer recommended and rarely used by
browsers, and with a better dmg layout the contents should not be copied
automatically anyway.
2013-01-12 04:11:44 -05:00
Matthew Flatt
e98c308e66 bundle script: fixes for "README" munging 2013-01-03 07:04:29 -07:00
Matthew Flatt
7a85072cf4 dist-specs and build: include math libs 2012-12-05 05:56:59 -06:00
Eli Barzilay
a03b636936 No more "planet" executable. 2012-10-19 05:17:56 -04:00
Eli Barzilay
3e02c64cc6 Remove reference to outdated software. 2012-09-19 22:54:13 -04:00
Vincent St-Amour
800a328fe6 Fix documentation for packages and mutable lists.
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Eli Barzilay
5b501da131 Minor fix for the installer tests.
The last "xrepl" might be at the BOL, with no preceding space.
2012-07-28 05:05:05 -04:00
Vincent St-Amour
52439d528b Move mutable list functions to the compatibility collect.
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Eli Barzilay
d7f0314c74 tex2page is gone, update installer tests. 2012-07-24 11:47:47 -04:00
Eli Barzilay
0814fd5fb5 Make it possible to use "~" or "~user" in the installer.
I've looked for a while, and it seems that there is no easy way to do
this, not even in bash, and worse with /bin/sh.  So this is kind of
resorting to a simple parsing of the input, and using `eval' if it
starts with a tilde.  Note the hack of not doing that when there is a
space, otherwise the `eval' thing will silently ignore it.

This hack means that it's easy to get into a mess if quotes are used
after a tilde, but that was already the case with the use of `eval' to
handle environment variables.  It's not a real security issue, however,
since we're talking about a user who can just run any command anyway.

Also including a test file for the expansion functionality.  If anyone
wants to improve this code, making the tests pass would reveal the
tricky issues.

[FWIW, I've asked on the #bash channel, and the only serious suggestion
was getting the paths as command-line arguments.  This will, however,
defeat the point of being newbie friendly...]

Closes PR 12893.
2012-07-18 22:25:41 -04:00
Eli Barzilay
de98df327c Typo (but these requirements should be eliminated eventually). 2012-04-28 05:23:43 -04:00
Eli Barzilay
457908061f Typo in the name for x86_64-osx-mac. 2012-04-19 21:53:42 -04:00
Eli Barzilay
8934b64beb Remove bold leftover reference to "search.html".
(This was using the custom google search, which is no longer maintained.)

Closes PR 12671.
2012-04-04 02:52:51 -04:00
Eli Barzilay
b2d2e533f9 More changes to platform names. 2012-03-13 10:29:14 -04:00
Eli Barzilay
6d63c1f548 Make it possible to nest HTML outputs.
(This is the actual fix for PR 12604)
2012-02-27 06:46:26 -05:00
Eli Barzilay
069e917cca Fix a very old typo in the pre-built "binaries" directory index.
Closes PR 12604.
2012-02-26 18:58:24 -05:00
Eli Barzilay
c007c345f9 A bunch of more typos like the ones in David's commit. 2012-02-21 14:21:43 -05:00
Matthew Flatt
11de33d4ff remove MysterX DLL, replace with wrapper around `ffi/com'
The ActiveX part of MysterX is gone. The `ffi/com' re-imeplemtnation
provides only core COM support.

The "mysssink" DLL is still needed, and its source is still
in the tree, but it is downloaded in the same way as other
pre-built DLLs. The DLL no longer needs to be registered with
regsvr32.
2012-02-17 06:37:19 -07:00
Eli Barzilay
9813ba425f Show how the machine identifies itself.
This includes `uname', and trying hard to get a domain name when `uname'
doesn't include one.
2012-01-31 14:08:18 -05:00
Eli Barzilay
d69a45210c Add `$RKTShortName' that doesn't include the version and the platform,
use it to improve some installer texts.

(Also update comment about required macro definitions.)
2012-01-25 08:44:39 -05:00
Eli Barzilay
5c977f3471 Removed old "***" leftover. 2012-01-25 08:44:39 -05:00
Eli Barzilay
d21e646327 Include the platform in the windows installer's "human name".
(Otherwise having both installed can be confusing since the uninstaller
has the same name; also, it's good to make a reminder for people who
want the other one.)

Also, just use the platform string in the registry key uniformly.

Also add a comment about detecting Win64 if it's desirable in the
future.
2012-01-24 07:23:22 -05:00
Matthew Flatt
9d48858d53 try to fix Win64 installer: "Program Files (x86)" => "Program Files" 2012-01-21 08:10:38 -07:00
Eli Barzilay
2a1464b49e Move the dmg build to weatherwax (which can now deal with it. )
Also, remove attempt for a smart use of `fmt' -- the problem is that now
"$platform" is not set, so the conditional didn't do anything.  It would
be easy to get a conditional using `uname', but better to drop the whole
thing.
2012-01-20 11:40:11 -05:00
Eli Barzilay
fb46b12836 Adjust the installer tests to the removal of libfit. 2012-01-19 13:59:47 -05:00
Eli Barzilay
f184222e2b Add a syntax for making lines in the status text linked. 2012-01-18 07:22:09 -05:00
Eli Barzilay
cf35df172a Make the bg-log files available on the web page too. 2012-01-18 07:17:48 -05:00
Eli Barzilay
cfa5938092 Better solution to using "$platform" -- do that only in DO_BUILD. 2012-01-18 07:17:48 -05:00
Eli Barzilay
52382442f0 Have a default "" platform so kauai can still be used to make the dmgs.
(This is just a hack, $platform should really be used only in the build
functions instead of at the toplevel.)
2012-01-17 09:27:06 -05:00
Eli Barzilay
252221246d Debian squeeze is back, and a typo.
(The lenny build will not be back.)
2012-01-16 08:18:30 -05:00
Eli Barzilay
4b17fe731a Disable some builds.
* The darwin build on kauai (the machine is no longer maintained, and
  has no cairo installed).

* The two debian builds (also no cairo).

* Remove comment from osx64 build (which is now done on Robby's
  machine).
2012-01-15 20:48:10 -05:00
Eli Barzilay
4d04c04aa2 New build request functionality. 2012-01-15 20:48:10 -05:00
Eli Barzilay
3bdf05d7e1 Minor improvements, mainly to the header/status suffixes. 2012-01-15 20:48:10 -05:00
Eli Barzilay
d539792895 * Fix showing branch in non-master builds.
* Show error in last status, so it's visible later.

* `show' can get a `-s' flag too.

* Remove unused `append_dots'.
2012-01-09 07:36:37 -05:00
Eli Barzilay
62213b9f28 Allow cross-site use of the status script.
Also a random header change, and adjust cache frequency.
2012-01-08 21:59:04 -05:00
Eli Barzilay
b24e0d52ea Another typo. 2012-01-08 15:23:34 -05:00
Eli Barzilay
86579b4f15 Yet more tweaks and fixes. 2012-01-08 12:58:50 -05:00
Eli Barzilay
107615f1fe Some more improvements and fixes. 2012-01-08 03:36:50 -05:00
Eli Barzilay
465a8da995 Add status script. 2012-01-07 09:35:15 -05:00
Eli Barzilay
efc5a05049 Delete build directory at the start of a dispatched build.
Previously, if a dispatched build failed the files from the previous
build would still get copied.  This was an intentional feature, since
only the compiled binaries of these builds are used, and usually these
would work fine (with the zo files that were built on the main machine).

Now, the build directory is deleted when starting, which means that any
failure in a remote build means that the whole build will fail.  This
turns out to be better since when there are problems, the previous
behavior could be very confusing.  In addition, the racket setup itself
rarely fails, so this won't make a difference.
2012-01-07 09:35:14 -05:00
Eli Barzilay
ecf42d077b More build improvements.
* Use `ssh' to copy the repo tgz, so it can also create the build
  directory in a single connection.

* Use "racket" in the build materials directory name (since it's used in
  random machines).

* Use `chcon' to make files accessible to the web server under selinux.

* "YYYY-MM-DD HH:MM" in log time strings (leave the one on the web page
  as is).

* Uniform machine+platform labels in headers on dispatched builds.  The
  main build machine doesn't have them.
2012-01-07 09:35:14 -05:00
Eli Barzilay
e0dc712002 Add a status file.
On dispatched builds the status is printed in their own logs in a
greppable way, and these lines are removed when these logs are displayed
as part of the main log.
2012-01-07 09:35:14 -05:00