Change order of Docker build to avoid rebuilding the universe.
[?]
Oct 23, 2016, 2:39 AM
DXIGERDTERUIG7QHHRPKTSJHSQEPJPDJVLUW7YVC7URXBQ4ZJVOACDependencies
- [2]
UILI6PILThe route-based logStart/logStop is nicer. - [3]
2LZYVHFSUpgrade to Stack-based build in Docker - [4]
O722AOKEAdd route to allow crediting of events to users/projects. - [5]
2XQD6KKKAdd invitation logic and clean up DBProg error handling. - [6]
M3KUPGZKAdd invitation email template. - [7]
HALRDT2FAdded initial auction create route. - [8]
RPAJLHMTChange to use UUIDs instead of ints for primary keys. - [9]
MGOF7IUFUpdate TASKS list to reflect completed projects. - [10]
4ZLEDBK7Initial attempts at dockerizing, cabal isn't cooperating. - [11]
MB5SHULBAdd route for accepting an invitation with an existing account - [12]
JEOPOOPTDockerfile now builds correctly. - [13]
Z3MK2PJ5Add GET handler for retrieving auction data. - [14]
PBD7LZYQPostgres & auth are beginning to function. - [15]
GCVQD44VCreate amends endpoint, switch to UUID primary keys - [16]
7VGYLTMUClean up schema version handling. - [17]
O5FVTOM6Undo JSON silliness, enable a couple more routes. - [*]
ADMKQQGCInitial empty Snap project.
Change contents
- edit in Dockerfile at line 15
# Set up /etc/aftok volume for configuration informationRUN mkdir /etc/aftokVOLUME ["/etc/aftok"]ADD ./conf/aftok.cfg.example /etc/aftok/aftok.cfgENV AFTOK_CFG /etc/aftok/aftok.cfg - edit in Dockerfile at line 22
# This is the main shell script that starts the aftok serverRUN mkdir /etc/service/aftokADD ./docker/aftok-server.sh /etc/service/aftok/run - edit in Dockerfile at line 34
RUN stack build --only-dependencies - edit in Dockerfile at line 43[4.1082]→[4.1082:1182](∅→∅),[4.1182]→[4.980:1030](∅→∅),[4.1030]→[4.1232:1329](∅→∅),[4.1232]→[4.1232:1329](∅→∅),[4.1329]→[4.1031:1112](∅→∅),[4.1112]→[4.1412:1413](∅→∅),[4.1412]→[4.1412:1413](∅→∅)
# Set up /etc/aftok volume for configuration informationRUN mkdir /etc/aftokVOLUME ["/etc/aftok"]ADD ./conf/aftok.cfg.example /etc/aftok/aftok.cfgENV AFTOK_CFG /etc/aftok/aftok.cfg# This is the main shell script that starts the aftok serverRUN mkdir /etc/service/aftokADD ./docker/aftok-server.sh /etc/service/aftok/run - replacement in server/Aftok/Snaplet/Projects.hs at line 42
cp <- maybe (snapError 400 "Could not parse project data") pure $ A.decode requestBodycp <- either (snapError 400 . tshow) pure $ A.eitherDecode requestBody - replacement in server/Main.hs at line 64[4.318]→[4.12972:13065](∅→∅),[4.1201]→[4.12972:13065](∅→∅),[4.2968]→[4.12972:13065](∅→∅),[4.13065]→[4.319:320](∅→∅),[4.320]→[4.13065:13135](∅→∅),[4.13065]→[4.13065:13135](∅→∅)
, ("projects", projectCreateRoute), ("projects", listProjectsRoute), ("projects/:projectId", projectRoute), ("projects/:projectId/logStart/:btcAddr", logWorkBTCRoute StartWork), ("projects/:projectId/logEnd/:btcAddr", logWorkBTCRoute StopWork) - replacement in server/Main.hs at line 68
, ("projects/:projectId/logStart/:btcAddr", logWorkBTCRoute StartWork), ("projects/:projectId/logEnd/:btcAddr", logWorkBTCRoute StopWork), ("projects/:projectId/auctions", auctionCreateRoute) - edit in server/Main.hs at line 73
, ("projects/:projectId", projectRoute), ("projects", projectCreateRoute), ("projects", listProjectsRoute) - edit in server/Main.hs at line 77
, ("projects/:projectId/auctions", auctionCreateRoute)