Compare commits

..

403 commits

Author SHA1 Message Date
1ad35f95f1 [NO TESTS] WIP 2024-05-13 22:31:23 -06:00
0ce7e07264 Get the tests passing again 2024-04-07 01:30:45 -06:00
1ffccfae5b M0ar 2024-02-12 18:57:45 -07:00
ffa19de66b Add the MODULE.bazel file 2024-02-12 18:57:34 -07:00
4f346d6ac0 Bump deps 2024-02-12 18:54:41 -07:00
027335bd5b Leave some notes 2024-02-06 21:28:40 -07:00
d09b6bb2c6 Sort 2024-02-06 20:55:46 -07:00
2766c4bc6e Strip the .py suffix 2024-02-06 20:55:36 -07:00
fec681d41b Finishing touches 2024-02-06 20:55:24 -07:00
77912e9b65 [NO TESTS] WIP 2024-02-06 12:50:59 -07:00
e82259f756 KTF support 2024-02-06 12:38:04 -07:00
ab3357df3f Bazelshim 2024-02-06 12:37:41 -07:00
27af0d2dff Fix imports 2024-02-06 11:20:44 -07:00
89ac85693d m0ar 2024-02-06 11:19:46 -07:00
514e90d55d fix 2024-02-06 11:18:33 -07:00
4f7249e476 setuptools, not Maven 2024-02-06 11:17:32 -07:00
45da5b603d BUILD.bazel 2024-02-06 10:01:19 -07:00
6dc4b5b270 More records 2023-12-24 20:31:54 -07:00
13bbf2ce57 Not sure why this broke, but fixing DNS sync 2023-11-29 22:41:10 -07:00
2a499c2d0f Fix where we pull the login name from 2023-10-03 14:39:58 -06:00
9e85f28008 Enable ignoring issues by author ID 2023-10-03 00:07:23 -06:00
8ffb3a1fc1 Enable ignoring PRs by author 2023-10-03 00:04:34 -06:00
8db16e8cb1 More tuning of the unnotifier 2023-10-02 22:51:38 -06:00
a26d1d8b40 Use a patched textlib; lolbazel 2023-10-02 22:19:46 -06:00
39fb155824 Minor tweaks 2023-10-02 22:19:28 -06:00
9043cbe92b [NO TESTS] WIP 2023-08-16 19:07:11 -06:00
d21b1b2ddc Change LICENSE 2023-07-27 17:43:20 -06:00
15816ef524 Tighten readme; license 2023-07-27 17:33:08 -06:00
ada34c8ac9 More notes 2023-07-27 17:26:03 -06:00
5895e7f404 Blah 2023-07-27 17:23:39 -06:00
ad9816f55d Create the unnotifier 2023-07-27 16:34:26 -06:00
e9efc1dc84 Update requirements 2023-07-27 16:34:13 -06:00
8d9702dd32 Feat: cancel icon 2023-07-20 00:23:55 -06:00
0ed2b90d99 Fix: do not try to re-map assigned and pending jobs 2023-07-20 00:18:03 -06:00
ec10fa359d Fix: Need to return user_id here for the jobs list 2023-07-20 00:13:38 -06:00
72a8753639 Feat: Improving breaks; show other users' jobs & files to admins 2023-07-08 22:30:12 -06:00
f5bb2765a7 Feat: improve responsive behavior w/ icons 2023-07-08 22:10:40 -06:00
f3cd8b317a Fix: don't print hashes 2023-07-08 22:10:13 -06:00
6bc0710479 Stomping down the dot regressions 2023-07-08 21:00:25 -06:00
b3d3f9269f Cleanup: Rely on top-level exception handling 2023-07-08 19:55:54 -06:00
4b36a3cd19 Fix: Make job starting EVEN MORE idempotent 2023-07-08 19:54:44 -06:00
9b52c546e4 Fix: Make starting jobs more idempotent 2023-07-08 19:36:45 -06:00
f05dad1a18 Fix: need to specify the kwarg 2023-07-08 19:32:47 -06:00
5b39d9e653 Fix: recover filament IDs correctly; edit nozzle size; nozzle as a schedule constraint 2023-07-08 19:21:32 -06:00
5ceb2d1488 Delete & notify on bad files 2023-07-08 18:51:54 -06:00
db9e8c1105 Fix: use labels for the success and failure counts 2023-07-08 18:09:46 -06:00
253a4e5b59 Fix: use executemany not executescript
The latter doesn't support variable substitution
2023-07-08 18:05:23 -06:00
37cfcb190e Fix: user_id not uid 2023-07-08 17:54:46 -06:00
dcf2de3463 Fix: Need to specify table name for subquery reference 2023-07-08 17:52:28 -06:00
94058435a3 Cascade when deleting files 2023-07-08 17:48:24 -06:00
1d6eb61b69 Fix: SELECT WHERE syntax 2023-07-08 17:48:07 -06:00
1916e06ea2 Fix: need to flow through the nozzle size 2023-07-08 17:40:15 -06:00
32c5f5f597 More limits refinements 2023-07-08 17:35:17 -06:00
f38ee4ad97 Fix tests, create gcode analysis machinery 2023-07-08 16:47:12 -06:00
c1375cb179 Get printer editing working end to end 2023-07-08 13:45:31 -06:00
0fa65cfbe2 Header. 2023-07-08 13:44:57 -06:00
cfcfb755b9 Rework the login page using skeleton 2023-07-08 13:44:33 -06:00
b39a0b1bf5 Full width password inputs 2023-07-08 13:44:17 -06:00
d3e19bddfe Break up the schema file 2023-07-08 13:14:04 -06:00
76996ccd84 Start setting up for filament; sizes as scheduling constraints 2023-07-06 23:55:03 -06:00
c218bade5c Fmt. 2023-07-06 22:55:26 -06:00
0813c6825a Bugfix: incorrect login URL 2023-07-06 22:54:54 -06:00
10a0e54c33 Fix: if the login attempt failed, return None 2023-06-22 15:01:21 -06:00
3345cee21b Fix: Only if it would be non-null 2023-06-22 15:01:04 -06:00
c9da93f00c Limit returned job history 2023-06-19 23:29:30 -06:00
01b64c34ab Use the bedready plugin to check if the bed is clear or occupied 2023-06-19 23:25:24 -06:00
4628d1a28b Create an 'occupied' state for unready beds 2023-06-19 23:25:24 -06:00
7b0cf463fb Cache API clients to reduce 500 risk(s) 2023-06-19 23:24:10 -06:00
01c2ad121b fmt 2023-06-05 01:07:54 -06:00
2201a5384b fix: need to get row id to start jobs automatically 2023-06-05 01:07:47 -06:00
e2f3e18dff Bugstomping in the tests 2023-06-04 23:53:00 -06:00
058800b5dd feat: Decorate the streams with a border 2023-06-03 22:32:24 -06:00
d79a2a578f feat: Printer edit flow; dashboard webcams 2023-06-03 22:19:26 -06:00
de7f91947f Fix: display job runtimes in history 2023-06-03 20:04:06 -06:00
1274ab8ec2 Fix: Hide the controls when logged out 2023-06-03 19:59:33 -06:00
afe4f26ff7 More of same 2023-06-03 19:56:54 -06:00
e6cdb3666b Tweak: show the whole history to logged out users 2023-06-03 19:54:59 -06:00
78e456dfd0 Bugfix: don't mark successes as failures by accident 2023-06-03 19:53:29 -06:00
1807eb75dd Bugfix: Harden against lost jobs 2023-06-03 19:46:26 -06:00
dd6f6ac59f Show print runtime 2023-06-03 19:17:35 -06:00
74f635fcf6 Bugfix: don't show the file controls when logged out 2023-06-03 19:13:43 -06:00
c749adfaf6 Bugfix: /admin/printers, handle 404 from files_info 2023-06-03 19:08:11 -06:00
3f41b63582 Fix the public DNS 2023-06-03 19:07:41 -06:00
d6d9a348b1 Get a user approval flow working 2023-06-03 17:44:34 -06:00
42ad82d96e Add the interpreter 2023-06-03 15:39:34 -06:00
95d67b4aeb Create a trace mode for SQL inspection 2023-06-03 15:14:02 -06:00
48c30fdcf8 A whoooooole lot of refactoring 2023-06-03 15:09:50 -06:00
bda009482b More splitting 2023-06-03 13:22:49 -06:00
59f6096945 Shuffle 2023-06-03 13:20:43 -06:00
413825d8c7 Overhauling atop aiosql 2023-06-03 13:20:05 -06:00
53cdd5ca14 Embed cherrypy directly 2023-06-03 10:34:25 -06:00
7857cc3ffb Pull in aiosql; the anosql heir 2023-06-03 10:31:11 -06:00
657b0fe820 Make data and srcs additive 2023-06-03 01:34:57 -06:00
0bf20224d1 More config ignores 2023-06-03 01:34:43 -06:00
764b723254 Use sid 2023-06-03 01:34:28 -06:00
aa017aa8c5 Working on dockerization 2023-06-03 01:24:13 -06:00
d9db59b1db Simplify emails with a spool 2023-06-02 23:58:29 -06:00
2a59c41903 And get the shim working to my taste 2023-06-02 23:24:03 -06:00
b981e1255e Bolt up a WSGI server shim; tapping on verification 2023-06-02 23:07:59 -06:00
883c74bf62 Raise the connect timeout to 1s from 1/10s
OctoPrint isn't fast and this should mitigate some error flakes.
2023-05-30 22:24:08 -06:00
acaf3d0645 Fmt. 2023-05-30 22:22:30 -06:00
b17bafa077 Enable selective formatting 2023-05-30 22:22:13 -06:00
9b5ed98b16 Tapping towards a real user flow 2023-05-30 22:21:51 -06:00
e44390a37f Ignore config files generally 2023-05-30 22:21:08 -06:00
198115860e Get PrusaSlicer working; fix some auth problems 2023-05-29 10:27:52 -06:00
f003351290 Add tooltips 2023-05-29 00:05:43 -06:00
02b40b3cc4 copy API keys; CSS refinements 2023-05-28 23:54:13 -06:00
2ccdd48d63 Lotta state sync improvements 2023-05-28 22:57:11 -06:00
e082a4aa11 Fmt. 2023-05-28 17:37:47 -06:00
984d976c8c CSS tweaking; disable printing hashes 2023-05-28 17:31:34 -06:00
5546934fae UI overhaul; job cancellation 2023-05-28 17:21:05 -06:00
2fde40d1ab Tolerate timeouts 2023-05-28 00:21:31 -06:00
7e9588c11a Pushing jobs to printers works now 2023-05-28 00:15:36 -06:00
77143fb0d6 And deal with job termination 2023-05-27 22:13:19 -06:00
304d72cd83 Wiring up the printer control machinery 2023-05-27 22:03:25 -06:00
f1ea2cb645 Make import paths work right 2023-05-27 18:55:38 -06:00
2dfb2ca574 Style flailings 2023-05-27 18:55:18 -06:00
ae7891605a autoflake 2023-05-27 10:42:30 -06:00
d959a13aa2 Some bare minimum of styling the API key page 2023-05-27 00:45:34 -06:00
3adbdeb254 autoflake 2023-05-27 00:31:42 -06:00
409d04a648 Create a ctx global to replace request abuse 2023-05-27 00:30:39 -06:00
bedad7d86b Get API key management wired up 2023-05-26 23:54:36 -06:00
aacc9f5c1c Update requirements 2023-05-26 22:39:54 -06:00
3ad716837c Adding printers sorta works now 2023-05-23 00:15:16 -06:00
66c08101c7 Ignore sqlite binary dbs 2023-05-22 22:31:08 -06:00
f18d738462 Update requirements 2023-05-22 22:30:33 -06:00
b6b0f87a84 More tentacles progress 2023-05-22 22:21:53 -06:00
4413df7132 [NO TESTS] WIP 2023-05-21 23:16:53 -06:00
ae6044c76e [NO TESTS] WIP 2023-05-19 21:32:25 -06:00
603caca9bb A quick logo 2023-05-19 01:25:12 -06:00
5a284aa980 Register/Login/Logout somewhat working 2023-05-19 00:52:07 -06:00
63b2c9042b Bazelisk ftw 2023-05-19 00:51:32 -06:00
4c75d4694a Update some Python machinery, create sass tools 2023-05-19 00:51:18 -06:00
61dc694078 Tapping on tentacles 2023-05-13 16:58:17 -06:00
c23aa10f7a Infra tweaks 2023-05-13 16:56:01 -06:00
b44f00bb4f [NO TESTS] WIP 2023-05-10 22:46:01 -06:00
3a5f0cdef8 Need this import 2023-04-06 01:33:13 -06:00
b49408c6c4 Tweaking the packaging for a PKGBUILD 2023-04-06 01:26:36 -06:00
52177d3392 [NO TESTS] WIP 2023-03-20 18:50:05 -06:00
e4b15ac7e5 [NO TESTS] WIP 2023-03-20 18:50:00 -06:00
4324d14f02 Create a view for dumping the DB 2022-12-10 14:12:11 -07:00
1540ff1e2b Paranoia: save before exit 2022-11-26 23:08:25 -07:00
7b65a10bd8 Remove dead migration code that was fucking me over 2022-11-26 23:08:13 -07:00
ca10da03b3 Manually index the key 2022-11-26 22:52:13 -07:00
b1a78da719 Bugfix: need to use the pending's inbox 2022-11-26 22:51:57 -07:00
27fea36e48 jsonify the config object 2022-11-26 22:51:31 -07:00
21a524743c Don't select keys when saving 2022-11-26 22:17:24 -07:00
9f8c79a5ee Handle missing bodies more gracefully 2022-11-26 21:57:10 -07:00
33b1b8e39f Fix duplicate method name 2022-11-26 21:56:49 -07:00
c8388e0856 Enumerate pending follows, fix CSS 2022-11-26 21:56:33 -07:00
8cf17b942b Automate re-tagging and pushing 2022-11-26 21:56:06 -07:00
e90ce6b8ef Tweaks to working state 2022-11-26 20:05:35 -07:00
e5b9b133fc Create some quick and dirty admin endpoints 2022-11-26 19:26:39 -07:00
35a37aab8a Rework so that dockerized deployments can self-configure 2022-11-26 18:13:56 -07:00
2ade04ae7b Working towards a queue of follow requests 2022-11-26 17:24:53 -07:00
ad69d0bc44 Add a deploy script 2022-11-26 16:04:44 -07:00
6522c72b54 Whyyy docker-specific behavior 2022-11-26 15:46:42 -07:00
88bcd0fcf1 don't need that 2022-11-26 14:20:38 -07:00
4cce85710c public-dns -> public_dns 2022-11-26 14:20:22 -07:00
110ffc6ee1 Update zapp 2022-11-26 14:18:51 -07:00
7b7f20c4c3 Remove dead migration code 2022-11-21 01:51:42 -07:00
b2b7363797 Import the async caches 2022-11-21 00:04:31 -07:00
ea7acd915c Unused code. 2022-11-20 22:41:51 -07:00
70587ac360 Fmt 2022-11-20 22:39:44 -07:00
01c24f64ab Start trimming some of the __main__ crud 2022-11-20 22:34:07 -07:00
c21ee1fe48 Setting up to do some minimal admin auth for the relay 2022-11-20 22:00:12 -07:00
eb71f33e28 DNS for the relay 2022-11-19 23:55:01 -07:00
4faa29c124 Update some of the build infra 2022-11-19 23:54:45 -07:00
30f1d488b4 Sigh. 2022-11-19 23:51:09 -07:00
9d7ee93f8c Intern the relay 2022-11-19 23:45:47 -07:00
8737b7456b WIP 2022-10-26 22:23:41 -06:00
d102083a64 Bump Meraki API client 2022-10-19 09:52:37 -06:00
b26515dbc0 Tweaking the diff and equality logic 2022-10-19 09:52:18 -06:00
4498f350aa Cram has graduated 2022-10-19 09:00:14 -06:00
fbe837797a Tweaking the stack analyzer 2022-08-19 00:43:42 -06:00
71a60ae079 Get and2/3 working 2022-08-17 00:18:08 -06:00
77340aeb3b Get or3 working 2022-08-17 00:11:01 -06:00
2c92447947 Get or2 working again via the assembler 2022-08-17 00:07:09 -06:00
5a3a6bc96f Make the handle_* methods user-visible 2022-08-13 00:09:55 -06:00
510ee6abce [NO TESTS] WIP 2022-08-13 00:07:38 -06:00
93f5c7bc24 [NO TESTS] WIP 2022-08-13 00:03:49 -06:00
b241e6e0b4 Notes for later. 2022-08-12 23:53:48 -06:00
559e334e85 Create a generic interpreter API 2022-08-12 23:46:34 -06:00
66d90b1d44 Fmt. 2022-08-12 23:26:56 -06:00
a484137be2 Rewrite using handlers, singledispatch, hooks 2022-08-12 23:26:42 -06:00
3ee2f8ece9 Integrate marking labels/slots 2022-08-09 10:05:26 -06:00
2557ff1e4f Renaming variant operations 2022-08-09 09:39:33 -06:00
a7b236fa5f Promote cram out 2022-07-28 23:45:00 -06:00
5a34f095d7 Junk table dispatch for execute 2022-07-28 20:46:56 -06:00
b9617079ab return will abort the loop, use continue 2022-07-28 19:25:45 -06:00
0514e4ebb2 More cases of neading to clean during execution 2022-07-28 19:25:30 -06:00
20f3f01b6a Sigh 'stable' releases 2022-07-28 19:24:38 -06:00
b471e2ab82 Add a way to bust the log cache 2022-07-28 19:24:17 -06:00
bbb4f83071 Deal with the node being a bad link 2022-07-28 18:24:03 -06:00
31a0019546 ton.tirefire 2022-07-28 15:16:44 -06:00
1df60b873b Be better at removing dead links 2022-07-27 23:04:25 -06:00
3a8677c630 Update docstring 2022-07-26 00:24:30 -06:00
7a40392253 Implement auto-migrate (aka fmt) 2022-07-26 00:23:26 -06:00
f151e57a12 Hardening cram, stratify uninstalls 2022-07-25 22:44:10 -06:00
176d8129d6 Ignore .gitkeep files 2022-07-21 22:48:59 -06:00
58e63924d9 Short hostname only 2022-07-21 22:48:49 -06:00
353cf72b65 Fmt. 2022-07-15 19:37:34 -06:00
eb128d8b54 Refactor to make Opcode the base class 2022-07-15 19:33:32 -06:00
7e7c557dea Ditch the .impl pattern for now 2022-07-02 01:47:11 -06:00
21b4b4432a Slam out a two-pass assembler 2022-07-02 00:35:03 -06:00
13b9afb195 [NO TESTS] WIP 2022-06-27 22:35:21 -06:00
25234f8f00 Get VARAINT/VTEST implemented 2022-06-16 10:55:18 -06:00
7fe052e7fc [broken] Throw out builtin bool 2022-06-15 23:10:54 -06:00
d2d6840bad Rewrite bootstrap to sorta support type signatures 2022-06-15 23:01:55 -06:00
54ff11f13c Wire up define_type 2022-06-15 21:56:52 -06:00
d567f95c1f Better module printing 2022-06-15 09:46:03 -06:00
7f3efc882a Code better in the morning 2022-06-15 09:21:43 -06:00
366440a3b9 [broken] Almost to a reworked Function model 2022-06-15 01:46:32 -06:00
8469d11825 Better parser tests 2022-06-15 01:12:22 -06:00
6f1145cb5e Don't inject JEDI everywhere. Argh. 2022-06-15 01:11:44 -06:00
496dfb7026 Calling it a night 2022-06-14 01:19:30 -06:00
9b6e11818e Typing tweaks 2022-06-13 21:11:15 -06:00
8feb3f3989 Shuffling a bunch of stuff around 2022-06-13 20:23:43 -06:00
bc7cb3e909 [NO TESTS] WIP 2022-06-13 11:44:28 -06:00
0075c4c9f8 [NO TESTS] WIP 2022-06-11 15:04:55 -06:00
6916715123 Eliminate CALLS, add SLOT & DEBUG, rewrite bootstrap 2022-06-11 00:28:24 -06:00
f382afd9f1 Inject pytest-timeout 2022-06-11 00:27:52 -06:00
50f4a4cdb1 Tapping towards structs and variants 2022-06-07 10:32:15 -06:00
dc71833082 [NO TESTS] WIP 2022-06-01 00:22:53 -06:00
d5123351d5 Fmt. 2022-06-01 00:11:14 -06:00
af65fbb6f6 Get CLOSUREC working 2022-06-01 00:09:59 -06:00
3debddf0b2 Get CLOSUREF/CALLC working 2022-05-31 23:54:11 -06:00
d1fab97c85 Test stubs need returns now 2022-05-31 23:17:32 -06:00
824547821c An evening of hacking 2022-05-31 23:08:29 -06:00
c1498c98eb Split out Ichor 2022-05-31 19:25:18 -06:00
0ffc6c6bb7 Shogoth -> Shoggoth 2022-05-31 19:04:14 -06:00
b4005b3b6d Rename 2022-05-31 18:24:39 -06:00
c2e9b73946 A single-stepping GCODE tool 2022-05-31 09:41:32 -06:00
88b4e7da1f Fmt. 2022-05-31 09:41:10 -06:00
56b6ddd3ea [NO TESTS] WIP 2022-05-31 09:39:53 -06:00
13355aeef4 Tapping 2022-05-16 20:31:36 -06:00
68313e8db9 Tapping towards a slightly functional reader 2022-05-11 23:21:22 -07:00
8a70d2b64d Minor crimes to deal with platform-variable pythons 2022-05-11 23:20:59 -07:00
06eda8167f Be smart about the READONLY flag; consolidate delete 2022-05-11 22:58:35 -07:00
3c80d598be Errant whitespace 2022-05-11 11:01:23 -07:00
29cb977688 Turn that off; didn't work 2022-04-21 00:18:22 -06:00
352f7b8184 Function references; stubs for closures 2022-04-21 00:17:59 -06:00
d82a662b39 Happy hacking; setting up for structs 2022-04-15 00:31:58 -06:00
e7464c843d Turn this shit off 2022-04-12 01:49:43 -06:00
e04324884f Fmt. 2022-04-12 01:49:29 -06:00
298699c1d4 Get the Shogoth VM to a bit better state; py3.10 Ba'azel 2022-04-12 01:49:12 -06:00
c21eacf107 A bytecode VM sketch 2022-03-29 01:29:18 -06:00
69f4578817 Add a licensing note 2022-03-17 11:03:45 -06:00
3c70b29ad1 Import the garage project 2022-02-21 16:35:36 -07:00
d7ecd0cf7a Reuse the old feed static IP 2022-02-21 16:35:01 -07:00
bfb5a8ffc6 Realpath 2022-02-21 16:35:01 -07:00
3ea17b5d26 TOML format 2022-02-15 10:24:06 -07:00
cd9530ad66 config.toml -> pkg.toml, get cleanup working 2022-02-15 10:22:53 -07:00
00f2ba3bd7 A second cut at the cram tool, now with TOML and tests 2022-02-15 02:17:54 -07:00
a731f5e6cb Add a record for feed 2022-02-02 00:45:14 -07:00
5986396f18 Reader's 'done' 2022-01-09 16:32:11 -07:00
7cc79e5986 Initial parse/read driver REPL 2022-01-09 14:46:21 -07:00
3dbb810074 More deps fuckery 2022-01-09 11:23:06 -07:00
025c9c5671 Bump most of the deps 2022-01-09 00:22:56 -07:00
60d40bd956 cram fixes 2022-01-09 00:07:00 -07:00
bb50fa2c20 Normalize SQL so its nicer when logged 2022-01-08 23:53:24 -07:00
89cedc120a Fmt. 2021-12-27 00:49:28 -07:00
b5bb534664 Roll over API exceptions 2021-12-27 00:49:17 -07:00
355ec6974f [NO TESTS] WIP 2021-12-27 00:31:36 -07:00
df653a1819 Forgot some locks. Sigh. 2021-12-12 21:51:23 -07:00
37435f6423 Fairly viable aloe state 2021-12-12 21:36:21 -07:00
3e4d02f2f4 WIP - refactoring towards a better state 2021-12-12 20:55:39 -07:00
c589cbd6c5 WIP - somewhat working v2 state 2021-12-12 19:44:12 -07:00
39eff4e53a Spinner while copying; handle dirt files better 2021-12-05 11:35:19 -07:00
af63cd201f A quick and dirty octoprint CURSES dashboard 2021-12-05 11:35:09 -07:00
0dd2da7fd4 Fix obviously colliding ICMP stream IDs
But it looks like the underlying ICMPLIB model of receive() is broken for what I'm doing
2021-11-22 01:32:11 -07:00
fb8717e535 Don't need those 2021-11-20 23:11:47 -07:00
1273beea3b Blah. 2021-11-20 23:10:00 -07:00
74d543824b And done 2021-11-20 23:06:26 -07:00
a9eecc6998 And buffing 2021-11-20 22:37:57 -07:00
a0766fc42e Overhaul to a considerably more useful multiprocess state 2021-11-20 22:05:45 -07:00
a4cd4568cf WIP on Aloe 2021-11-20 14:39:14 -07:00
b6b1f23188 Fmt. 2021-11-09 12:31:31 -07:00
0d81f6540d Fixing list as a global and local fn 2021-11-09 12:31:18 -07:00
028873aa49 Bump click 2021-11-09 12:30:53 -07:00
2249302b06 More docs tweaks 2021-11-05 13:20:00 -06:00
ed633c9ab0 Documenting for publication 2021-11-05 12:18:45 -06:00
db08760964 Add pytest-cov by default when pytesting 2021-11-05 11:47:33 -06:00
ac5f5e1637 Finishing and testing the driver 2021-11-05 11:47:17 -06:00
3a58156427 Tapping on the revamped clusterctrl 2021-11-02 01:12:06 -06:00
a4b720158f Factor out HACKING 2021-11-01 09:47:59 -06:00
7d53405e71 Documentation tweaks 2021-10-31 11:53:28 -06:00
6cba9c3ad1 New host records 2021-10-31 10:59:45 -06:00
6f05542142 Teach cram about profile and host subpackages 2021-10-31 10:59:27 -06:00
9ac3f56b5b Blah 2021-10-27 22:47:15 -06:00
ef9e54e647 Rename to match the upstream naming 2021-10-27 22:44:46 -06:00
92e5605f8c exists() is the wrong predicate; false-negatives on broken links 2021-10-20 23:54:17 -06:00
3290a8aefc Final-ish tested driver 2021-10-13 20:28:54 -06:00
a17f7e497b Styleguide 2021-10-13 01:07:32 -06:00
684409cd16 A driver from scratch 2021-10-13 01:07:06 -06:00
73bddf2a52 Black. 2021-10-11 22:38:55 -06:00
7bb78e0497 Squashme: command whitespace 2021-10-11 22:33:34 -06:00
522f1b6628 Hoist out helper fns
Note that since __main__ is in global scope, no closure conversion is required
2021-10-11 22:26:44 -06:00
b18edf1c4a Invalid config should be a nonzero exit 2021-10-11 22:23:53 -06:00
17034424c2 Format the commands so they'll be easier to pull apart 2021-10-11 22:00:53 -06:00
6640f54407 Unify to double quotes 2021-10-11 21:55:35 -06:00
7713d6d9a8 Fix bananas use of commas 2021-10-11 21:54:38 -06:00
0d2acb676f Fix just bananas usage of parens 2021-10-11 21:53:28 -06:00
9eed6ef803 Refactor into a single print() call 2021-10-11 21:42:19 -06:00
de4a8bdaa8 Refactor out constants 2021-10-11 21:41:48 -06:00
b0130c27a6 Refactor into __main__ block 2021-10-11 21:26:06 -06:00
e02af611ad Refactor xra1200 import 2021-10-11 21:24:43 -06:00
c4283e4be1 Initial hatctl state 2021-10-11 21:22:49 -06:00
aab2ec1c33 More improvements and an execution optimizer 2021-10-11 00:09:51 -06:00
b9e40b5bb1 Add profile.d/default to the default requirements 2021-10-10 22:57:53 -06:00
f89459294d Factor out the VFS since it's kinda neat 2021-10-10 22:40:05 -06:00
4d9a777fc8 Get fmt working again 2021-10-10 21:42:55 -06:00
2ab0339e49 Document working in here 2021-10-10 21:42:38 -06:00
8deb1bed25 First cut at a cram tool 2021-10-10 21:41:01 -06:00
376d032808 Fmt. 2021-10-10 21:40:27 -06:00
6636b75457 What do you want from me 2021-10-07 10:52:08 -06:00
19c306d3df Hail ba'azel 2021-10-07 10:49:41 -06:00
bbfee1d3ff Create bazel-test.yml 2021-10-07 09:58:35 -06:00
bb5b7aa9b4 So long yakshave.club, I never used you 2021-10-07 09:51:02 -06:00
b37d999796 De-conflict sequential source files that map to the same path 2021-10-04 13:31:00 -06:00
9aae534971 [NO TESTS] WIP 2021-09-25 00:43:50 -06:00
840e764b91 Fmt. 2021-09-24 22:37:38 -06:00
a6e59b2e0c Fmt. 2021-09-19 18:05:22 -06:00
223fd5688b Get test_licenses using pkg_info ala liccheck
Fixes #2
2021-09-19 17:59:18 -06:00
13d7f07b03 [NO TESTS] WIP 2021-09-07 02:21:34 -06:00
95e546ac55 Oh that's a delight 2021-09-07 01:00:37 -06:00
544e1cd151 [NO TESTS] WIP 2021-09-06 21:54:12 -06:00
74af14847e The archiver tools 2021-09-06 21:15:03 -06:00
23fc856791 Push mail forwarding for tirefireind 2021-09-06 21:12:10 -06:00
4ce35091eb Document the black shim a touch 2021-09-02 22:24:50 -06:00
c20fdde98c Syntax errors 2021-09-02 22:10:48 -06:00
9ed2165072 Black all the things 2021-09-02 22:10:35 -06:00
289e028e5b Turn on black as a linter 2021-09-02 22:10:24 -06:00
6eeb89cba4 Get black working as a linter 2021-09-02 22:10:12 -06:00
d501a4730d Update projects list 2021-08-30 01:18:55 -06:00
fae63eab11 Turn on flake8 for good 2021-08-30 01:07:13 -06:00
2b9d3ad927 Done with flake8 2021-08-30 01:06:21 -06:00
29aaea1a45 Lint headway 2021-08-30 00:43:58 -06:00
32035a005e The binary operator rules are silly 2021-08-30 00:43:49 -06:00
ae16691738 More tweaks 2021-08-30 00:40:02 -06:00
3612d2b9ee Msc. lint stomping 2021-08-30 00:30:44 -06:00
bf59df5ad7 The incantation for flake8 2021-08-30 00:30:23 -06:00
81386229c6 Get flake8 working as an aspect 2021-08-30 00:29:43 -06:00
3a1ffe6d6a Fmt. 2021-08-29 22:35:10 -06:00
01743bfbdd More tooling 2021-08-29 22:35:00 -06:00
fbb843a36c Set better test defaults 2021-08-29 22:19:09 -06:00
54ab71f19c And lint 2021-08-29 22:18:57 -06:00
bc06fc01ff More breaking out 2021-08-29 22:17:57 -06:00
3b9e4076a5 Break tools out into their own dirs 2021-08-29 22:13:59 -06:00
b56030804c Futzing with toolchains 2021-08-29 21:59:32 -06:00
8f72fc8d62 [NO TESTS] WIP 2021-08-29 19:23:39 -06:00
fe03f023e7 Re-freeze 2021-08-29 16:04:21 -06:00
19303931bc [NO TESTS] WIP 2021-08-23 10:51:41 -06:00
7bff95fe32 Last Lilith commit I promise 2021-08-23 10:10:03 -06:00
db9c0f7bf8 Add a Def() read-eval cache 2021-08-22 11:15:28 -06:00
2fbb0f7e1c linting 2021-08-21 22:25:47 -06:00
6c2c9190c9 Updating the docs and somewhat packaging for submission 2021-08-21 22:25:31 -06:00
3fc5bff69c Dirty awful hacks to get exec working 2021-08-21 21:38:42 -06:00
b8862bdeaf Main deps. 2021-08-21 21:38:07 -06:00
a6ce37de82 Working lexical/module scope & hello world 2021-08-21 21:17:48 -06:00
4a5262c95c Making headway towards a runnable state 2021-08-21 20:02:54 -06:00
d02f53dc52 Somewhat working launcher with prelude! 2021-08-21 18:58:33 -06:00
15c7417516 Blah. 2021-08-21 17:25:19 -06:00
f69b243c4f Convert lilith to a runnable 2021-08-21 17:20:13 -06:00
385cd9d83e Add support for runnable projects 2021-08-21 17:18:46 -06:00
d6a811118d Get arrays and mappings working 2021-08-21 17:14:57 -06:00
8db42aa17d Get symbols working, styleguide 2021-08-21 16:58:59 -06:00
7e1e8b2ad4 Adding Symbols 2021-08-21 16:44:49 -06:00
20ed127bf7 Deal with string escaping 2021-08-21 14:23:39 -06:00
02c5f61bb8 Hello, world! 2021-08-21 14:07:57 -06:00
5531b80331 Ready to try interpreting 2021-08-21 13:13:56 -06:00
e59adb1621 Tooling work 2021-08-21 11:49:56 -06:00
014ce0b21d Working Lilith block header parser 2021-08-21 11:49:46 -06:00
43bbcda050 Initial deeply busted Lilith state for LangJam 2021-08-20 23:16:59 -06:00
2b101bf02c Update benchmarks 2021-08-20 10:10:04 -06:00
01a5a1b67d Overhaul client and server 2021-08-20 01:37:20 -06:00
99590ae534 Tap out test coverage of the jobq 2021-08-20 01:12:50 -06:00
a3a800ab07 Make the jobq closeable and document it. 2021-08-19 23:54:08 -06:00
7608b6f004 Document benchmark results 2021-08-19 23:45:15 -06:00
23840cba8e Ignore .pyc object files 2021-08-19 23:29:06 -06:00
fe0fd3fdb1 Split the jobq into a library and a daemon 2021-08-19 23:28:33 -06:00
8c98338782 Truncate 2021-08-15 00:02:56 -06:00
961710961d Update public DNS from the first time through Ba'azel 2021-08-15 00:02:09 -06:00
5e9878742c Truncate. 2021-08-14 11:55:58 -06:00
692327e276 Be consistent about 'payload' 2021-08-14 11:23:27 -06:00
518648b238 Make the initial state user-definable 2021-08-14 11:18:19 -06:00
7436b65210 Fix exprs 2021-08-14 11:09:27 -06:00
4c4dab5913 Document CAS on POST /state 2021-08-14 11:05:44 -06:00
ba0ce2eb28 Allow LGPL deps 2021-08-14 09:25:47 -06:00
8f88a4da45 Get the anosql tests clean 2021-08-14 09:20:58 -06:00
d242f73dc4 An initial crack at a jobq 2021-08-14 00:31:07 -06:00
477d3f1055 Expunge the pypi reference 2021-08-13 19:57:17 -06:00
9d759fa187 Anosql is abandoned upstream. Vendor it. 2021-08-13 19:56:00 -06:00
0b9c68bce0 Add support for resources 2021-08-13 19:55:41 -06:00
668d58ba8c Zapp reqman 2021-08-13 17:17:15 -06:00
2e0026eadc Knock out a migrations system for AnoSQL 2021-08-13 16:45:53 -06:00
bdb4832ff7 Add a qint tool 2021-08-12 14:50:09 -06:00
767574cb44 Get the updater zapping nicely 2021-08-12 14:28:57 -06:00
f04740bde5 Lang spec. for emacs 2021-08-12 14:28:41 -06:00
60b629348d Bump rules_zapp for bugfixes 2021-08-12 14:28:26 -06:00
f0aa9a6579 Relocate zapp to its own repo 2021-08-12 12:51:50 -06:00
95ea44ab4d More README tweaks 2021-08-08 10:05:26 -06:00
37266cdcd9 Initial zapp state (#1)
This commit implements zapp! and rules_zapp, as a proof of concept of
lighter-weight easily hacked on self-extracting zipapps. Think Pex or
Shiv but with less behavior and more user control. Or at least
hackability.
2021-08-08 00:16:37 -06:00
7 changed files with 28 additions and 20 deletions

View file

@ -41,9 +41,13 @@ git_repository(
name = "rules_python",
remote = "https://github.com/bazelbuild/rules_python.git",
# tag = "0.4.0",
commit = "693a1587baf055979493565933f8f40225c00c6d",
commit = "5f51a4451b478c5fed491614756d16745682fd7c",
)
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
register_toolchains("//tools/python:python3_toolchain")
# pip package pinnings need to be initialized.
@ -62,14 +66,14 @@ load("@arrdem_source_pypi//:requirements.bzl", "install_deps")
# Call it to define repos for your requirements.
install_deps()
# git_repository(
# name = "rules_zapp",
# remote = "https://git.arrdem.com/arrdem/rules_zapp.git",
# commit = "961be891e5cff539e14f2050d5cd9e82845ce0f2",
# # tag = "0.1.2",
# )
local_repository(
git_repository(
name = "rules_zapp",
path = "/home/arrdem/Documents/hobby/programming/rules_zapp",
remote = "https://git.arrdem.com/arrdem/rules_zapp.git",
commit = "961be891e5cff539e14f2050d5cd9e82845ce0f2",
# tag = "0.1.2",
)
# local_repository(
# name = "rules_zapp",
# path = "/home/arrdem/Documents/hobby/programming/rules_zapp",
# )

View file

@ -4,7 +4,7 @@ py_library(
name = "gandi",
srcs = glob(["src/gandi/client.py"]),
imports = [
"src/python",
"src",
],
deps = [
py_requirement("requests"),

View file

@ -1,13 +1,12 @@
---
gandi:
key: "Z2eUpJ6X2eBKYkgPVyedyoas"
key: "op://TireFire Heavy Industries/Gandi API key/credential"
meraki:
key: "606ad50af474d47465b18425f039b15c5bf8afec"
organization: "875638"
#organization: "arrdem"
network: "L_634444597505822900"
router_serial: "Q2PN-WV3P-ZEGK"
key: "op://TireFire Heavy Industries/Meraki API/credential"
organization: "op://TireFire Heavy Industries/Meraki API/organization"
network: "op://TireFire Heavy Industries/Meraki API/network"
router_serial: "op://TireFire Heavy Industries/Meraki API/router_serial"
tasks:
# My zones

View file

@ -22,6 +22,8 @@ relay {{ ttl }} IN A {{ link }}
pxe {{ ttl }} IN A {{ link }}
vpn {{ ttl }} IN A {{ link }}
hass {{ ttl }} IN A {{ link }}
k8s {{ ttl }} IN A {{ link }}
git {{ ttl }} IN A {{ link }}
{% endfor %}
# Secrets service

View file

@ -2,6 +2,8 @@
cd "$(dirname $(realpath "$0"))"
exec bazel run :updater -- \
op inject --in-file ./config.yml.in --out-file ./config.yml
exec bazel run //projects/public_dns:updater -- \
--config $(realpath ./config.yml) \
--templates $(realpath src/resources/zonefiles)

View file

@ -4,7 +4,7 @@
# But ... that's exactly what we want to do.
# So this script exists to find a 'compliant' Python install and use that.
PYTHONREV="3.11"
PYTHONREV="3.12"
CMD="python${PYTHONREV}"
if [ -x "$(command -v "$CMD")" ]; then

View file

@ -55,3 +55,4 @@ yamllint
yaspin
pytimeparse
git+https://github.com/arrdem/jaraco.text.git@0dd8d0b25a93c3fad896f3a92d11caff61ff273d#egg=jaraco.text
onepasswordconnectsdk