Commit Graph

75 Commits

Author SHA1 Message Date
Dustin Carlino
c9cef2ac8c Fix actdev deployment script again -- how did I forget the data/ directory?! 2021-02-15 14:39:04 -08:00
Dustin Carlino
932da8b262 Fix actdev deployment script a bit 2021-02-15 13:34:58 -08:00
Dustin Carlino
7c3ced6401 Import 10 more actdev sites. Start a script for importing Robin's
scenario JSON, but don't run it yet.
2021-02-15 11:06:28 -08:00
Dustin Carlino
e2c648b597 Show each country's flag in the picker UI! #326 2021-02-14 11:49:34 -08:00
Dustin Carlino
39f5d50fcd The grand country split. #326
City names are now disambiguated by a two-letter country code. This
commit handles almost everything needed to make this transition. Main
next steps are fixing up map edits automatically and making the city
picker UI understand the extra level of hierarchy.

A little bit of fallout: lakeslice gridlocks again; this regression is
actually from the recent traffic signal changes, but I'm just now
regenerating everything. Will fix soon.
2021-02-13 15:45:59 -08:00
Dustin Carlino
2f0029daef Import 7 more actdev sites, since cyipt/actdev#77 is fixed
poundbury is missing files, and halsnead had some issue with the
boundary, will look into it later.
2021-02-12 13:30:59 -08:00
Dustin Carlino
48430f5979 Import more actdev sites, using better automation. cyipt/actdev#65 2021-02-11 16:32:27 -08:00
Dustin Carlino
e32a576237 Reimport the sites that were there before, but under the new naming.
cyipt/actdev#65

(No procgen buildings for any of them yet)
2021-02-11 15:00:40 -08:00
Dustin Carlino
21573e09f1 Delete all of the actdev maps. I'm going to do this over again and just
use the site name as the city, instead of picking the "closest" major
city. This is introducing too much friction in automation.
cyipt/actdev#65

There will be a few awkward results -- cambridge gets renamed, and lcid
gets disassociated from leeds. Worth it for now.
2021-02-11 14:27:28 -08:00
Dustin Carlino
7f7b361836 And add all the new maps to the deploy_actdev script. This'll get less awful when I start namespacing cities by country too. 2021-02-09 16:29:31 -08:00
Dustin Carlino
829c321190 Get rid of the wasm_s3 build flag. Instead use the URL of the wasm app and find the data/ directory off of that, and assume only localhost has uncompressed files. https://github.com/cyipt/actdev/issues/28 2021-02-08 12:41:28 -08:00
Dustin Carlino
3cc441e1a9 The data/ files for actdev also need to be gzipped! https://github.com/cyipt/actdev/issues/28 2021-02-08 12:07:14 -08:00
Dustin Carlino
f9ad3b2808 Add a script to bundle together all assets for actdev. https://github.com/cyipt/actdev/issues/28 2021-02-08 11:45:07 -08:00
Dustin Carlino
b514000e52 Finish up the docs repo split by making a separate copy of instructions to bundle with the release. [rebuild] 2021-02-01 10:35:52 -08:00
Dustin Carlino
25a86bf42d Delete mdbook. It's been split out to https://github.com/a-b-street/docs 2021-01-31 15:44:41 -08:00
Dustin Carlino
38fa22d4b2 Include the importer in the release again -- I accidentally stopped
about a month ago and noticed in #452
2021-01-13 10:52:07 -08:00
Dustin Carlino
53227b6ec6 new release (and finally add a little more automation for this step) 2021-01-03 12:23:47 -08:00
Dustin Carlino
6642c6e1a9 Rename the experiment crate in preparation for a Monday release 2020-12-19 10:01:28 -08:00
Dustin Carlino
23dea95da3 Also deploy the OSM viewer and 15 min tool to the web 2020-12-18 12:36:19 -08:00
Dustin Carlino
f57fb8f2f6 Run the experiment on the web 2020-12-02 13:44:10 -08:00
Dustin Carlino
be3d1dc83b Refactor github workflow, since most steps are OS-independent. Build all of the separate binaries. [rebuild] [release] 2020-11-29 16:01:18 -08:00
Dustin Carlino
c0e2401414 Put the headless API server in the binary release; at least one person wants to use it, but has trouble compiling [rebuild] 2020-11-12 10:01:45 -08:00
Dustin Carlino
c481567ebb Cut over from Dropbox to S3. #195, #326
Uploading files individually to Dropbox is flaky, and the unique URL per
file complicates data/MANIFEST.

While we're at it, start carving aside a directory structure for keeping
data for the last few releases.

[rebuild] to make sure github actions can download everything
2020-11-02 17:36:02 -08:00
Dustin Carlino
ba9d14102f Set the wasm MIME header in S3, to speed up initial web loading 2020-11-02 12:30:56 -08:00
Dustin Carlino
c210b0a1bd new release 2020-11-01 10:30:03 -08:00
Dustin Carlino
8920c2c0b8 Store gzipped files in S3 and decompress upon loading. A few basic tests
showed this is faster than downloading the uncompressed files, but of
course it probably depends on network speed vs CPU. #326

Also cut over the updater to use gzipped files using flate, instead of
single-file .zip's. [rebuild]
2020-10-31 18:09:48 -07:00
Dustin Carlino
17416d9fd6 Start deploying the web build to s3... #21 2020-10-08 16:29:06 -07:00
Dustin Carlino
4d66e4e91d Make the city picker list maps from the manifest, not local files. #21 2020-10-08 14:26:35 -07:00
Dustin Carlino
c101666c7c finishing the consolidation of docs 2020-08-10 14:56:39 -07:00
Dustin Carlino
f9b41dda30 finally get github pages + mdbook to work, thanks to
https://github.com/rust-lang/mdBook/pull/1248#issuecomment-671528271 and
removing jekyll
2020-08-10 13:49:30 -07:00
Dustin Carlino
3c816b206d grab fresh osm with some lane fixes downtown. adjust the release slightly to make it easier to use the one-shot importer. [rebuild] 2020-07-12 11:46:52 -07:00
Dustin Carlino
e46f118d27 ready the alpha launch... 2020-06-21 17:49:52 -07:00
Dustin Carlino
da5973bef6 new release 2020-06-14 19:56:11 -07:00
Dustin Carlino
dfb9e7e349 move gameplay meters to the side. also start capturing logs for linux
and mac too
2020-06-11 14:55:56 -07:00
Dustin Carlino
a9226e5ba9 use Brian's new rust-only updater to finally make self-contained windows
builds! will update the finalize script later [rebuild]
2020-06-10 16:20:16 -07:00
Dustin Carlino
f8e89f2de8 working on github flow for new importer binary [rebuild] 2020-05-17 10:04:55 -07:00
Dustin Carlino
e082082c32 try again to bundle importer in release for oneshot. disable gdal.
[rebuild]
2020-05-17 09:25:44 -07:00
Dustin Carlino
9ce3061e17 have to disable gdal to build on github. give up for now [rebuild] 2020-05-12 11:35:14 -07:00
Dustin Carlino
510e75b043 include importer in release [rebuild] 2020-05-12 11:04:18 -07:00
Dustin Carlino
70c4c53d55 fix the release script [rebuild] 2020-05-08 21:36:39 -07:00
Dustin Carlino
ce12974434 start to reintroduce uber-turns (first attempted in 2011, in AORTA?) 2020-05-04 11:43:19 -07:00
Dustin Carlino
57a2d4e88d tell updater what you want. cutover the github automation to try the new
tool... [rebuild]
2020-05-02 13:19:24 -07:00
Dustin Carlino
0eaf33ff46 stop generating RNGs from entropy. use the prebaked seed by default. allow explicitly changing the rng, but no use for that yet 2020-04-26 11:38:32 -07:00
Dustin Carlino
9a9619ec32 moving game assets to data/system, to more easily bundle in wasm
[rebuild]
2020-02-15 16:19:23 -08:00
Dustin Carlino
e367a5b218 patch yesterday's release -- the building info panel crash is too easy to hit. also introduce a release script for my own sanity 2020-02-10 10:33:21 -08:00
Dustin Carlino
0fc864ee51 limit text cache size. work on build scripts again [rebuild] 2020-02-08 13:25:48 -08:00
Dustin Carlino
1b1f191663 smaller bootstrap data option for people not building maps. part of #43
[rebuild]
2020-02-07 15:05:24 -08:00
Dustin Carlino
75281ed354 when we change states, immediately run through a round of no-op event(). this lets us immediately draw a WizardState without having to flail the mouse a bit to trigger a first event.
(also, fix release script again)
2020-01-22 11:47:06 -08:00
Dustin Carlino
d0afcedbaa work around more github action silliness [rebuild] 2020-01-22 10:44:46 -08:00
Dustin Carlino
2bb5e3032b dont double-zip things in github (https://github.com/actions/upload-artifact/issues/3) 2020-01-13 19:03:51 -08:00