summaryrefslogtreecommitdiff
path: root/Biz/Bild
AgeCommit message (Collapse)Author
2021-11-26Fix ci commandBen Sima
2021-11-26Fix GitHub OAuth argsBen Sima
This makes it explicit that we are using GitHub vs some other OAuth args. The idea is that we should be making a new type for every service, this allows us to have type safety in the implementation but a common set or pattern of names for the environment variables and record fields. Also using 'notset' instead of 'mempty' is really helpful for debugging when this breaks, as I found out.
2021-11-26Rename Devalloc to DragonsBen Sima
2021-11-26Reimplement Que with ServantBen Sima
Still todo: add authentication. But that can wait. In re-implementing this, I was able to figure out how to get the Go.mult working properly as well. The problem is that a tap from a mult channel does not remove the message from the original channel. I'm not sure if that should be a core feature or not; for now I'm just draining the channel when it's received in the Que HTTP handler. (Also, this would be a good place to put persistence: have a background job read from the original channel, and write the msg to disk via acid-state; this would obviate the need for a flush to nowhere.) Also, streaming is working now. The problem was that Scotty closes the connection after it sees a newline in the body, or something, so streaming over Scotty doesn't actually work. It's fine, Servant is better anyway.
2021-11-26Begin packaging guix for nixBen Sima
2021-11-26Cleanup nix overlays a bitBen Sima
2021-11-26Comment out broken libfive/inspekt3dBen Sima
2021-11-26Upgrade nixpkgs, add guile 3.0Ben Sima
2021-11-26Move commands and add ns functionBen Sima
2021-11-26Upgrade to nixos-21.05Ben Sima
Getting me closer to the latest GHC. This release also includes my own packages that I submitted some time ago. GHCJS is not present in 21.05 for some reason, but I think it's back in master, so I might do another upgrade soon, but for now I just disabled my GHCJS support. I'm not really using it anyway. I also had to bring it string-quote, update nixos-mailserver, and a few other things.
2021-11-26Get all scheme code compiling with GuileBen Sima
2021-11-26Add -F to treeBen Sima
2021-11-26Publish self-hosted git repos with cgitBen Sima
Also I need more repos...
2021-11-26Switch to my nixpkgs forkBen Sima
This way I can develop on nixpkgs directly, and directly send patches upstream, instead of trying to copy files back and forth and work with overlays. Of course with private stuff that I will never publish, I should use overlays, but that will probably not be very many things, I imagine.
2021-11-26Update nivBen Sima
2021-11-26Move Biz/Bild/Rules.nix -> Biz/Bild.nixBen Sima
2021-11-26Fix wemux packageBen Sima
I also upstreamed this to nixpkgs-dev
2021-11-26Fix typoBen Sima
2021-11-26Remove required nix argumentsBen Sima
This allows us to use nix-build as a check that bild is working. I think bild sometimes hangs because it doesn't get input from nix-build? I'm not sure, but one workaround is to run nix-build on the target, and then bild will just get the cached build.
2021-04-02Init bizbotBen Sima
2021-04-02Get my static site working againBen Sima
2021-03-30Remove watch from sentryBen Sima
2021-03-22Timeout bild after 5 minutesBen Sima
No build should take longer than 5 minutes; if it does then something is wrong so let's just die and start over.
2021-03-22Add descriptions to report detailsBen Sima
2021-03-19Fix {gmni,gmnisrv}.nixBen Sima
2021-03-19Add bearssl, gmni, and gmnisrvBen Sima
Eventually I'll just upstream these to nixpkgs-dev. I also want to make z into a gemini-compatible zettlekasten. All in due time.
2021-02-19Add support for hlint --refactorBen Sima
2021-02-17Colors and structured logging for pushBen Sima
2021-02-09Fix nix-shell on darwinBen Sima
2021-02-03Refactor some nix code for readabilityBen Sima
2021-01-22Better bild outputBen Sima
- structured log messages - compact logs rewrite the line on bild completion - using conduit for streaming output (although I think this isn't working quite right) - new Proc type for running subprocesses - general code cleanup and refactoring
2021-01-22Property tests for calculateScoreBen Sima
2021-01-22Stop shipping if lint failsBen Sima
2021-01-16Freshen up frontpage designBen Sima
Part of a larger effort, but doing this iteratively in smaller chunks.
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-15Port lint to HaskellBen Sima
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-05dev: put biz in the shell promptBen Sima
2021-01-04Disable Hero/Prod.nix from ship scriptBen Sima
2020-12-30colorize sentry outputBen Sima
2020-12-30add simple sentryBen 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-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