Refactor #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Here’s some things I’d like to do, if you approve?
I’ll add to the list if I come up with more.
Please say what you think.
I'd have to see it to believe in it, but I probably wouldn't be opposed. The whole init() and package var stuff is a hack to begin with, but was a cleaner hack than the alternatives at the time. Given #6 is putting the spotlight on making the command code in particular less ass (the technical definition), doing things more properly/idiomatically is absolutely a win regardless.
The project was initially started before I knew what contexts were really used for, and that does evidently show. There's been multiple commits in recent history that have cleaned up context usage, but deadlocks (and probably leaks) are still a problem. Contributions to un-scuffling that is appreciated!
Also something I've been working on recently. Historically I didn't pay much mind to the panics since I figured "well I just won't hold it wrong", but that isn't a rabbit hole worth going down (i.e. it gets to a point of "why even have errors at all"). In particular the panics make the database rather ill since it seems that it doesn't get to close properly sometimes (possibly also related to aforementioned context issues), so that needs fixing soon anyway.
Not too sure about this one, sensebot isn't really a CLI tool, the current flags do what they need to. The only real case I can see is for making
./sensebot -loginless gross, but honestly that entire utility could be put on the chopping block in favour of mxtoken anyway.Alright! I'll go ahead then, but leave the flags along for now :)