summaryrefslogtreecommitdiff
path: root/Biz
AgeCommit message (Collapse)Author
2021-01-16Remove unused importBen Sima
2021-01-16Check and print bild --test outputBen Sima
2021-01-16Add colors to tooling outputsBen Sima
This makes scanning logs *much* easier. I figure keep it as simple as possible, just red, yellow, and green. I also added two spaces between labels in the log messages. It would be nice to have a more structured logging system, but for now this works.
2021-01-15Also --test on shipmentBen Sima
2021-01-15Add bild --testBen Sima
This argument will run the tests for an output after building. It's active in 'ci' so running that will ensure tests are passing. This way testing a namespace and building a namespace are as close together as possible, so presumably it will be that much easier to write good tests.
2021-01-15Implement Biz.Test with tastyBen Sima
Also changes the --test option to a 'test' command. This is because running the tests for a namespace/exe should never be combined with anything else: you either want to run the tests, or not.
2021-01-15Implement Biz.CliBen Sima
Wraps docopt rather nicely. It's much nicer than optparse-applicative and runs tests with the --test argument automatically. Next I just need to implement a test framework.
2021-01-15Port lint to HaskellBen Sima
2021-01-12Fix score calculationBen Sima
It was always showing 0 because of annoying numeric type conversion stuff. This is my least favorite part of Haskell.
2021-01-11Add navbar mostly everywhereBen Sima
This necessitated adding a few more paths for clarity and such, and a type for the analysis page. There seem to be some bugs with session handling I think, but I'll suss those out later. Also I'm running into many uncaught exceptions so eventually I will need to tackle those as well.
2021-01-11Fix cookie settings in test areaBen Sima
2021-01-09Fix live cookie settingsBen Sima
Auth was broken without the xsrf thing disabled. Anyway, its best to have well-defined live and test settings. I will re-enable xsrf when I figure out the js snippet I need.
2021-01-08Don't ship if bild failsBen Sima
2021-01-08Refactor nix a bitBen Sima
Using lib.pipe for readability. Moved analyze into the public functions so I can debug things easier by calling bild.analyze from the nix repl.
2021-01-08Fix stack overflow in nixBen Sima
There is a bug in nixpkgs where lib.strings.splitString overflows on long lines. builtins.split performs better, but needs the extra filter for some reason. https://github.com/NixOS/nixpkgs/issues/68951
2021-01-08Add cookies and store user tokensBen Sima
Boy that was harder than I thought, but the code is pretty clean now. I still need to fixup the error handling, and maybe move all the extra args into an app monad, but I think otherwise I have it in a good place.
2021-01-08Simplify post-checkoutBen Sima
2021-01-05dev: put biz in the shell promptBen Sima
2021-01-05mail: increase my quotaBen Sima
2021-01-04Add my simatime keyBen Sima
2021-01-04Disable Hero/Prod.nix from ship scriptBen Sima
2021-01-04Add my Groq VM keyBen Sima
2021-01-04Support multiple keys per userBen Sima
Every key is just a new line in the $USER.pub file. This is not automatically reflected to gitolite, which uses a separate config, so I'll need to come up with a way to replace gitolite someday.
2021-01-04Enable bitcoindBen Sima
2021-01-03Biz.Dev: mount campbell automaticallyBen Sima
2020-12-30colorize sentry outputBen Sima
2020-12-30add simple sentryBen Sima
2020-12-30que: use EnvironmentFile instead of keyfileBen Sima
2020-12-30bild: build everytingBen Sima
Now bild knows how to determine between modules that require ghcjs and ghc. It also knows what *not* to build, meaning it won't try to build non-buildable nix targets, for example (unfortunately this is just hardcoded for now), but it also won't build scm or py targets that I haven't implemented yet. It just silently fails, which is fine, because it means I can do `bild **/*` and everything just works. Of course, if I want to build scm code then I will have to implement that, but that's not a priority right now.
2020-12-30Remove Biz/IbbBen Sima
2020-12-30bild: try to fix the remote bild message againBen Sima
2020-12-29Deploy hoogle to Biz.DevBen Sima
I had to refactor Biz/Bild/Rules.nix. I also had to checkin my patched hoogle.nix file, but I also upstreamed the patch to nixpkgs-dev so it shouldn't stick around for too long.
2020-12-28Lint everything in ciBen Sima
2020-12-28ide: incremental tags and git hooksBen Sima
2020-12-28Add stripe depBen Sima
2020-12-28ide: add ftags scriptBen Sima
2020-12-28devalloc: initialize keep databaseBen Sima
2020-12-28devalloc: add git to deploy environmentBen Sima
2020-12-28shellhook: dont exit shell every time something failsBen Sima
2020-12-28bild: report builder betterBen Sima
2020-12-28add ftags to shell hookBen Sima
2020-12-27devalloc: calculate staleness and scoreBen Sima
2020-12-24linting fixes and cleanupBen Sima
2020-12-24Devalloc: refactoring and organizingBen Sima
2020-12-24hlint fixesBen Sima
Still calibrating my use of hlint.
2020-12-24devalloc: refactor to use servant-genericBen Sima
2020-12-23devalloc: implement github blackhole listBen Sima
2020-12-09Add Biz.Namespace libraryBen Sima
2020-12-09Reorganizing for reababilityBen Sima
2020-12-08Lint fixesBen Sima