summaryrefslogtreecommitdiff
path: root/Biz/Bild/ShellHook.sh
AgeCommit message (Collapse)Author
2022-07-18Change help to tipsBen Sima
"help" is a bash builtin, "tips" isn't the best but its just what I thought of first.
2022-07-18Move sentry function to Sentry.shBen Sima
2022-05-24Add git and remove custom shell promptBen Sima
2022-03-30Replace ci with the git pre-push hookBen Sima
2022-02-18Remove old pie program from helpBen Sima
2022-02-09Move git hooks to own folderBen Sima
Instead of symlinking, just set the local git config.
2021-12-21Enable shellcheck lint and fix its warningsBen Sima
2021-12-21Extract repl program from bildBen Sima
This is basically building on top of bild's analysis, which is great becuase it means that bild is becoming a useful tool rather than a monolithic do-everything job runner. The eventual goal is for the bild analysis to be much more useful, maybe even provide data to remote repls or language-server or whatever.
2021-12-13Remember to delete pre-pushBen Sima
2021-12-13Add --repl for Haskell programsBen Sima
2021-11-26Fix ci script and pre-pushBen Sima
2021-11-26Update to ghc 8.10.4Ben Sima
This also makes some changes to the build tooling to clean up the environment a bit, and get us closer to 'bild -s'.
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-26Move commands and add ns functionBen Sima
2021-11-26Get all scheme code compiling with GuileBen Sima
2021-11-26Add -F to treeBen Sima
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-02-17Colors and structured logging for pushBen Sima
2021-01-22Stop shipping if lint failsBen Sima
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-15Port lint to HaskellBen Sima
2021-01-08Don't ship if bild failsBen Sima
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-28Lint everything in ciBen Sima
2020-12-28ide: incremental tags and git hooksBen Sima
2020-12-28ide: add ftags scriptBen Sima
2020-12-28shellhook: dont exit shell every time something failsBen Sima
2020-12-28add ftags to shell hookBen Sima
2020-12-06De-nest Devalloc and a few other cleanupsBen Sima
2020-12-05Renamespace Devalloc and QueBen Sima
Move them under the Biz root so that we know they are specific to Biz stuff. Biz is for proprietary stuff that we own. I also had to refactor the bild namespace parsing code because it couldn't handle a namespace with 3 parts. I really need to get that namespace library written and tested.
2020-12-04Devalloc informational websiteBen Sima
This includes deployment and implementation. As part of sprint-49, here are the startup progress questions: - Are you on track? - Yes? I'm making progress toward a proper launch. - Are you launched? - No - How many weeks to launch? - I would say 4 but it's probably more like 8 - How many (prospective) users have you talked to in the last week? - 2, Kyle and his manager, see below - What have you learned from them? - Kyle thought the metrics were interesting. - His manager thought the metrics were kinda useful but didn't think they really helped people ship higher quality code faster. So that's the rub: I have to show how this can make devs ship higher quality code faster; or, develop a set of features that improve those things. - Kyle pointed out that the clustering feature of devalloc will find optimal pairings *and* identify team silos that could be improved, so that's important to remember and might be a good angle in the future. - On a scale of 1-10, what is your morale? - 6 maybe - What most improved your primary metric? - Well I was able to deploy something within in the week, whereas before I had zero deploys per week. So that's an improvement. - What is your biggest obstacle? - Finding customers to talk to. - Also the thing isn't really built yet, I just have a python script. I need to build the real SaaS product - What are your top 1-3 goals for next week? - Find a single customer I can work with on an ongoing basis - I should ask around my network to see if I have any second-order connections that would be willing to work with me (Asher, Chad, previous bosses, etc) - Build out the front-end of the website (it's very simple, would just need a basic miso module and deployment) - Figure out how to connect/auth to the Github API so I can start building the SaaS version of the product Some user feedback from my friend Kyle. This comes from his engineering manager: > "Looks neat. If it were priced low enough I could see using it to run reports > as part of an overall package. A lot of those metrics don't matter too much to > me as a manager though A lot of these code quality tools are handy info but I > don't feel like they make people ship code any faster or any higher quality > Things like CodeClimate work well for Jrs though to avoid obvious static type > mistakes" Kyle provided some additional comments: > he might have been an unusual case. Jared's not big into metrics, Pivotal > Tracker point estimates, or things like that... He's far more into qualitative > feedback, like retrospectives and 1:1s > > I think it's definitely neat data! I certainly like the collaboration analysis > > It's interesting, we recently had a pair where two devs didn't work well > together, that could be represented here. Though, we didn't want to avoid > having them work together, we wanted them to find a work style that worked for > both of them And that's a good point: devalloc will find optimal pairings *and* points where you could improve team cohesiveness.
2020-11-24Exclude _ via alias in tree commandBen Sima
2020-11-19add ci function to replace builds.sr.htBen Sima
2020-11-19ship: fix bild pathBen Sima
2020-11-18Extend bild to nix targets properlyBen Sima
Also had to capitalize some stuff, and move some nix files around and rename the metadata directive from 'exe' to 'out' because that just makes more sense, and fix some compiler errors. But now bild treats both nix and hs files as buildable things. So that's cool. One interesting example is Biz/Pie.{nix,hs} - I can either create a dev build of the hs file with ghc, or I can create a fully-encapsulated nix build. Its nice to have both options because a dev build with ghc takes half the amount of time, and I can rely on my locally cached hi and ho files. I think this shows the power of bild, but also can be a somewhat subtle thing. The issue really is with the separate command calls in nix builds vs dev builds. I figure there are a few ways to fix this: 1. Try to use bild inside the nix rules. That could be interesting, but could also lead to some weird behavior or worm holes forming. 2. Extract the command line invocation into a separate file, some kind of really simple template that gets pulled into both programs. It is important to consider that in the future I might want to have bild do a module-by-module nix build of programs, but I'm not sure how that would effect my choice here.
2020-10-26Capitalize rest of filesBen Sima
2020-10-13Move nix files into Biz.Bild namespaceBen Sima