Compare commits

..

402 commits

Author SHA1 Message Date
75fc3f0bbc Get the tests passing again 2024-04-07 01:30:45 -06:00
edec17510e M0ar 2024-02-12 18:57:45 -07:00
f7bce623bf Add the MODULE.bazel file 2024-02-12 18:57:34 -07:00
db2705eb53 Bump deps 2024-02-12 18:54:41 -07:00
ebc59f8329 Leave some notes 2024-02-06 21:28:40 -07:00
253532ab6d Sort 2024-02-06 20:55:46 -07:00
ea57f84002 Strip the .py suffix 2024-02-06 20:55:36 -07:00
f0a871dd91 Finishing touches 2024-02-06 20:55:24 -07:00
ed0eb657e5 [NO TESTS] WIP 2024-02-06 12:50:59 -07:00
de8207e672 KTF support 2024-02-06 12:38:04 -07:00
58c416f1bd Bazelshim 2024-02-06 12:37:41 -07:00
d0478d8124 Fix imports 2024-02-06 11:20:44 -07:00
c1de143471 m0ar 2024-02-06 11:19:46 -07:00
20b662a142 fix 2024-02-06 11:18:33 -07:00
bfafe8bc3a setuptools, not Maven 2024-02-06 11:17:32 -07:00
fc4ad9e90b BUILD.bazel 2024-02-06 10:01:19 -07:00
2d4296b9be More records 2023-12-24 20:31:54 -07:00
bdb8124846 Not sure why this broke, but fixing DNS sync 2023-11-29 22:41:10 -07:00
5ed3669dfe Fix where we pull the login name from 2023-10-03 14:39:58 -06:00
d497f16644 Enable ignoring issues by author ID 2023-10-03 00:07:23 -06:00
e231376536 Enable ignoring PRs by author 2023-10-03 00:04:34 -06:00
2d77b38577 More tuning of the unnotifier 2023-10-02 22:51:38 -06:00
712a1cca6a Use a patched textlib; lolbazel 2023-10-02 22:19:46 -06:00
037fa023f7 Minor tweaks 2023-10-02 22:19:28 -06:00
393072a9f8 [NO TESTS] WIP 2023-08-16 19:07:11 -06:00
f1a3e59d04 Change LICENSE 2023-07-27 17:43:20 -06:00
81bd670e00 Tighten readme; license 2023-07-27 17:33:08 -06:00
1a04f3bc24 More notes 2023-07-27 17:26:03 -06:00
623a3fea7c Blah 2023-07-27 17:23:39 -06:00
64c4622200 Create the unnotifier 2023-07-27 16:34:26 -06:00
87315d5a40 Update requirements 2023-07-27 16:34:13 -06:00
4ce85e09bf Feat: cancel icon 2023-07-20 00:23:55 -06:00
2645fa909b Fix: do not try to re-map assigned and pending jobs 2023-07-20 00:18:03 -06:00
0778cc077f Fix: Need to return user_id here for the jobs list 2023-07-20 00:13:38 -06:00
a2219c88f1 Feat: Improving breaks; show other users' jobs & files to admins 2023-07-08 22:30:12 -06:00
91fd7c37c5 Feat: improve responsive behavior w/ icons 2023-07-08 22:10:40 -06:00
bbf0346f6a Fix: don't print hashes 2023-07-08 22:10:13 -06:00
4faa5a4e06 Stomping down the dot regressions 2023-07-08 21:00:25 -06:00
c6ba7bde1f Cleanup: Rely on top-level exception handling 2023-07-08 19:55:54 -06:00
b9a2ae4274 Fix: Make job starting EVEN MORE idempotent 2023-07-08 19:54:44 -06:00
a4f9af10b5 Fix: Make starting jobs more idempotent 2023-07-08 19:36:45 -06:00
e36678eba1 Fix: need to specify the kwarg 2023-07-08 19:32:47 -06:00
e9c059e69d Fix: recover filament IDs correctly; edit nozzle size; nozzle as a schedule constraint 2023-07-08 19:21:32 -06:00
efae37ad88 Delete & notify on bad files 2023-07-08 18:51:54 -06:00
bfec6e70c5 Fix: use labels for the success and failure counts 2023-07-08 18:09:46 -06:00
792b32fb1c Fix: use executemany not executescript
The latter doesn't support variable substitution
2023-07-08 18:05:23 -06:00
f7f243d6e4 Fix: user_id not uid 2023-07-08 17:54:46 -06:00
5d810e3048 Fix: Need to specify table name for subquery reference 2023-07-08 17:52:28 -06:00
97fba6cb85 Cascade when deleting files 2023-07-08 17:48:24 -06:00
f1c5a39548 Fix: SELECT WHERE syntax 2023-07-08 17:48:07 -06:00
1eb72905cd Fix: need to flow through the nozzle size 2023-07-08 17:40:15 -06:00
a281f24689 More limits refinements 2023-07-08 17:35:17 -06:00
4fa627919b Fix tests, create gcode analysis machinery 2023-07-08 16:47:12 -06:00
19c941dc95 Get printer editing working end to end 2023-07-08 13:45:31 -06:00
3ac37692d1 Header. 2023-07-08 13:44:57 -06:00
2d991efd32 Rework the login page using skeleton 2023-07-08 13:44:33 -06:00
f91b575dea Full width password inputs 2023-07-08 13:44:17 -06:00
e9e32ef5d0 Break up the schema file 2023-07-08 13:14:04 -06:00
c1e02eb4f4 Start setting up for filament; sizes as scheduling constraints 2023-07-06 23:55:03 -06:00
27cdc9a06b Fmt. 2023-07-06 22:55:26 -06:00
8bd01b82a4 Bugfix: incorrect login URL 2023-07-06 22:54:54 -06:00
eb7f85d966 Fix: if the login attempt failed, return None 2023-06-22 15:01:21 -06:00
7c5cbd4291 Fix: Only if it would be non-null 2023-06-22 15:01:04 -06:00
32a4fd05e3 Limit returned job history 2023-06-19 23:29:30 -06:00
730a6a3950 Use the bedready plugin to check if the bed is clear or occupied 2023-06-19 23:25:24 -06:00
ae1d00b13f Create an 'occupied' state for unready beds 2023-06-19 23:25:24 -06:00
d5810a530f Cache API clients to reduce 500 risk(s) 2023-06-19 23:24:10 -06:00
10d827c39f fmt 2023-06-05 01:07:54 -06:00
9ef662705d fix: need to get row id to start jobs automatically 2023-06-05 01:07:47 -06:00
b113581203 Bugstomping in the tests 2023-06-04 23:53:00 -06:00
60d4458f0d feat: Decorate the streams with a border 2023-06-03 22:32:24 -06:00
01bcd4fa95 feat: Printer edit flow; dashboard webcams 2023-06-03 22:19:26 -06:00
76c7c7818a Fix: display job runtimes in history 2023-06-03 20:04:06 -06:00
8c7bfad78d Fix: Hide the controls when logged out 2023-06-03 19:59:33 -06:00
df5ff3042e More of same 2023-06-03 19:56:54 -06:00
1639171db4 Tweak: show the whole history to logged out users 2023-06-03 19:54:59 -06:00
d3d55691a7 Bugfix: don't mark successes as failures by accident 2023-06-03 19:53:29 -06:00
0d0f54bcce Bugfix: Harden against lost jobs 2023-06-03 19:46:26 -06:00
ef7234238f Show print runtime 2023-06-03 19:17:35 -06:00
ff82df954b Bugfix: don't show the file controls when logged out 2023-06-03 19:13:43 -06:00
3f51f451e9 Bugfix: /admin/printers, handle 404 from files_info 2023-06-03 19:08:11 -06:00
75e41c0ffe Fix the public DNS 2023-06-03 19:07:41 -06:00
b891ff9757 Get a user approval flow working 2023-06-03 17:44:34 -06:00
87b379d2c5 Add the interpreter 2023-06-03 15:39:34 -06:00
a278047169 Create a trace mode for SQL inspection 2023-06-03 15:14:02 -06:00
1124f9a75b A whoooooole lot of refactoring 2023-06-03 15:09:50 -06:00
25f3c087c4 More splitting 2023-06-03 13:22:49 -06:00
0eb2446928 Shuffle 2023-06-03 13:20:43 -06:00
53c70fd642 Overhauling atop aiosql 2023-06-03 13:20:05 -06:00
e0b97f5f7a Embed cherrypy directly 2023-06-03 10:34:25 -06:00
37226f4cd5 Pull in aiosql; the anosql heir 2023-06-03 10:31:11 -06:00
6994959680 Make data and srcs additive 2023-06-03 01:34:57 -06:00
5c7badf7e5 More config ignores 2023-06-03 01:34:43 -06:00
cf6fc7ebd9 Use sid 2023-06-03 01:34:28 -06:00
0cb397fc46 Working on dockerization 2023-06-03 01:24:13 -06:00
3ac56e2cbb Simplify emails with a spool 2023-06-02 23:58:29 -06:00
aa65b03d4a And get the shim working to my taste 2023-06-02 23:24:03 -06:00
4840a15c00 Bolt up a WSGI server shim; tapping on verification 2023-06-02 23:07:59 -06:00
eba7b80fac 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
90e2c1a888 Fmt. 2023-05-30 22:22:30 -06:00
ed5699b50d Enable selective formatting 2023-05-30 22:22:13 -06:00
cb67bdb051 Tapping towards a real user flow 2023-05-30 22:21:51 -06:00
a20794503f Ignore config files generally 2023-05-30 22:21:08 -06:00
d40a20138b Get PrusaSlicer working; fix some auth problems 2023-05-29 10:27:52 -06:00
ab0924d803 Add tooltips 2023-05-29 00:05:43 -06:00
de978486f5 copy API keys; CSS refinements 2023-05-28 23:54:13 -06:00
dcce448bc9 Lotta state sync improvements 2023-05-28 22:57:11 -06:00
3fb9b6a040 Fmt. 2023-05-28 17:37:47 -06:00
1567f9f069 CSS tweaking; disable printing hashes 2023-05-28 17:31:34 -06:00
af741dfeeb UI overhaul; job cancellation 2023-05-28 17:21:05 -06:00
5709cac469 Tolerate timeouts 2023-05-28 00:21:31 -06:00
b017108700 Pushing jobs to printers works now 2023-05-28 00:15:36 -06:00
5009cf2826 And deal with job termination 2023-05-27 22:13:19 -06:00
f873e6d36a Wiring up the printer control machinery 2023-05-27 22:03:25 -06:00
c312c685f0 Make import paths work right 2023-05-27 18:55:38 -06:00
6b3754c6ac Style flailings 2023-05-27 18:55:18 -06:00
117b3bc3d0 autoflake 2023-05-27 10:42:30 -06:00
0627b72031 Some bare minimum of styling the API key page 2023-05-27 00:45:34 -06:00
a408d1dbb0 autoflake 2023-05-27 00:31:42 -06:00
75facc43a0 Create a ctx global to replace request abuse 2023-05-27 00:30:39 -06:00
2977d88e4f Get API key management wired up 2023-05-26 23:54:36 -06:00
adf9e28274 Update requirements 2023-05-26 22:39:54 -06:00
5d8da63a00 Adding printers sorta works now 2023-05-23 00:15:16 -06:00
eaad41d290 Ignore sqlite binary dbs 2023-05-22 22:31:08 -06:00
b51566bdfe Update requirements 2023-05-22 22:30:33 -06:00
e05cf362df More tentacles progress 2023-05-22 22:21:53 -06:00
1f7c21f26e [NO TESTS] WIP 2023-05-21 23:16:53 -06:00
b8023d3ef4 [NO TESTS] WIP 2023-05-19 21:32:25 -06:00
64b66636d2 A quick logo 2023-05-19 01:25:12 -06:00
b524cf941e Register/Login/Logout somewhat working 2023-05-19 00:52:07 -06:00
e666189e66 Bazelisk ftw 2023-05-19 00:51:32 -06:00
4db81ff74a Update some Python machinery, create sass tools 2023-05-19 00:51:18 -06:00
94f7b5df2a Tapping on tentacles 2023-05-13 16:58:17 -06:00
5adee17f15 Infra tweaks 2023-05-13 16:56:01 -06:00
bb612c6ffa [NO TESTS] WIP 2023-05-10 22:46:01 -06:00
916220af0e Need this import 2023-04-06 01:33:13 -06:00
d9055c8cb3 Tweaking the packaging for a PKGBUILD 2023-04-06 01:26:36 -06:00
d7ce3973ac [NO TESTS] WIP 2023-03-20 18:50:05 -06:00
467b238be1 [NO TESTS] WIP 2023-03-20 18:50:00 -06:00
6c9478e400 Create a view for dumping the DB 2022-12-10 14:12:11 -07:00
26f871ae60 Paranoia: save before exit 2022-11-26 23:08:25 -07:00
8a1c03dcc3 Remove dead migration code that was fucking me over 2022-11-26 23:08:13 -07:00
ae6f7f4ad0 Manually index the key 2022-11-26 22:52:13 -07:00
16215dec12 Bugfix: need to use the pending's inbox 2022-11-26 22:51:57 -07:00
f964f64800 jsonify the config object 2022-11-26 22:51:31 -07:00
8e53c8e509 Don't select keys when saving 2022-11-26 22:17:24 -07:00
5708d44a6e Handle missing bodies more gracefully 2022-11-26 21:57:10 -07:00
a49c0d2d88 Fix duplicate method name 2022-11-26 21:56:49 -07:00
d4f5097317 Enumerate pending follows, fix CSS 2022-11-26 21:56:33 -07:00
80915212ac Automate re-tagging and pushing 2022-11-26 21:56:06 -07:00
adaa3873ba Tweaks to working state 2022-11-26 20:05:35 -07:00
fc2662d2f7 Create some quick and dirty admin endpoints 2022-11-26 19:26:39 -07:00
0db988a754 Rework so that dockerized deployments can self-configure 2022-11-26 18:13:56 -07:00
5c69288d48 Working towards a queue of follow requests 2022-11-26 17:24:53 -07:00
ae6171f357 Add a deploy script 2022-11-26 16:04:44 -07:00
c945500589 Whyyy docker-specific behavior 2022-11-26 15:46:42 -07:00
3080602530 don't need that 2022-11-26 14:20:38 -07:00
4c0be2bc4d public-dns -> public_dns 2022-11-26 14:20:22 -07:00
c5670e3d25 Update zapp 2022-11-26 14:18:51 -07:00
66d1ed26f7 Remove dead migration code 2022-11-21 01:51:42 -07:00
5c0a2223a0 Import the async caches 2022-11-21 00:04:31 -07:00
b86caa7fe6 Unused code. 2022-11-20 22:41:51 -07:00
1c41b6dca4 Fmt 2022-11-20 22:39:44 -07:00
53bf982217 Start trimming some of the __main__ crud 2022-11-20 22:34:07 -07:00
ef339ef916 Setting up to do some minimal admin auth for the relay 2022-11-20 22:00:12 -07:00
a9ab987add DNS for the relay 2022-11-19 23:55:01 -07:00
563aa01c2c Update some of the build infra 2022-11-19 23:54:45 -07:00
28f0b369a1 Sigh. 2022-11-19 23:51:09 -07:00
c0b8db46aa Intern the relay 2022-11-19 23:45:47 -07:00
dc888b5958 WIP 2022-10-26 22:23:41 -06:00
7fe362c968 Bump Meraki API client 2022-10-19 09:52:37 -06:00
c178f4f718 Tweaking the diff and equality logic 2022-10-19 09:52:18 -06:00
88f35e4798 Cram has graduated 2022-10-19 09:00:14 -06:00
983635eb4f Tweaking the stack analyzer 2022-08-19 00:43:42 -06:00
a6b20ed7c3 Get and2/3 working 2022-08-17 00:18:08 -06:00
c484691aca Get or3 working 2022-08-17 00:11:01 -06:00
96cbc75be2 Get or2 working again via the assembler 2022-08-17 00:07:09 -06:00
4ac9de366b Make the handle_* methods user-visible 2022-08-13 00:09:55 -06:00
edd237f0be [NO TESTS] WIP 2022-08-13 00:07:38 -06:00
3533471567 [NO TESTS] WIP 2022-08-13 00:03:49 -06:00
82e4cc5c7f Notes for later. 2022-08-12 23:53:48 -06:00
ce23c6b43b Create a generic interpreter API 2022-08-12 23:46:34 -06:00
9feae8df4c Fmt. 2022-08-12 23:26:56 -06:00
b1a309527a Rewrite using handlers, singledispatch, hooks 2022-08-12 23:26:42 -06:00
a79644aa23 Integrate marking labels/slots 2022-08-09 10:05:26 -06:00
99f456e0ee Renaming variant operations 2022-08-09 09:39:33 -06:00
8e19f22640 Promote cram out 2022-07-28 23:45:00 -06:00
438df41f91 Junk table dispatch for execute 2022-07-28 20:46:56 -06:00
95043de7e4 return will abort the loop, use continue 2022-07-28 19:25:45 -06:00
0cfedb398a More cases of neading to clean during execution 2022-07-28 19:25:30 -06:00
e39df4d663 Sigh 'stable' releases 2022-07-28 19:24:38 -06:00
1cf8dab616 Add a way to bust the log cache 2022-07-28 19:24:17 -06:00
cff7c8d5e7 Deal with the node being a bad link 2022-07-28 18:24:03 -06:00
b2929290c0 ton.tirefire 2022-07-28 15:16:44 -06:00
3ab04dcb32 Be better at removing dead links 2022-07-27 23:04:25 -06:00
6d5713d021 Update docstring 2022-07-26 00:24:30 -06:00
e718bae88e Implement auto-migrate (aka fmt) 2022-07-26 00:23:26 -06:00
547396b76e Hardening cram, stratify uninstalls 2022-07-25 22:44:10 -06:00
0fb3cfa595 Ignore .gitkeep files 2022-07-21 22:48:59 -06:00
5d132514c1 Short hostname only 2022-07-21 22:48:49 -06:00
d5d63fd7e8 Fmt. 2022-07-15 19:37:34 -06:00
bd880213de Refactor to make Opcode the base class 2022-07-15 19:33:32 -06:00
6d9d9b3fd5 Ditch the .impl pattern for now 2022-07-02 01:47:11 -06:00
7e5a558163 Slam out a two-pass assembler 2022-07-02 00:35:03 -06:00
7e0273c7ad [NO TESTS] WIP 2022-06-27 22:35:21 -06:00
102210bcee Get VARAINT/VTEST implemented 2022-06-16 10:55:18 -06:00
3eda062c21 [broken] Throw out builtin bool 2022-06-15 23:10:54 -06:00
9d03c1425e Rewrite bootstrap to sorta support type signatures 2022-06-15 23:01:55 -06:00
56e12252f5 Wire up define_type 2022-06-15 21:56:52 -06:00
0564031502 Better module printing 2022-06-15 09:46:03 -06:00
70ffb3a8f7 Code better in the morning 2022-06-15 09:21:43 -06:00
d926a5e404 [broken] Almost to a reworked Function model 2022-06-15 01:46:32 -06:00
197dfd0089 Better parser tests 2022-06-15 01:12:22 -06:00
fa843e86aa Don't inject JEDI everywhere. Argh. 2022-06-15 01:11:44 -06:00
26e77a1df2 Calling it a night 2022-06-14 01:19:30 -06:00
f3791adee8 Typing tweaks 2022-06-13 21:11:15 -06:00
c59034383c Shuffling a bunch of stuff around 2022-06-13 20:23:43 -06:00
6d96a4491f [NO TESTS] WIP 2022-06-13 11:44:28 -06:00
862a8663b2 [NO TESTS] WIP 2022-06-11 15:04:55 -06:00
e3e3d7613c Eliminate CALLS, add SLOT & DEBUG, rewrite bootstrap 2022-06-11 00:28:24 -06:00
17f40a198f Inject pytest-timeout 2022-06-11 00:27:52 -06:00
34c550ba7f Tapping towards structs and variants 2022-06-07 10:32:15 -06:00
6bc9bb9b59 [NO TESTS] WIP 2022-06-01 00:22:53 -06:00
533960376d Fmt. 2022-06-01 00:11:14 -06:00
b439466887 Get CLOSUREC working 2022-06-01 00:09:59 -06:00
aef6cc088d Get CLOSUREF/CALLC working 2022-05-31 23:54:11 -06:00
e8c12be6e8 Test stubs need returns now 2022-05-31 23:17:32 -06:00
b6e1a61a85 An evening of hacking 2022-05-31 23:08:29 -06:00
9b965dba05 Split out Ichor 2022-05-31 19:25:18 -06:00
1e7517138a Shogoth -> Shoggoth 2022-05-31 19:04:14 -06:00
d146b90250 Rename 2022-05-31 18:24:39 -06:00
342b113cdb A single-stepping GCODE tool 2022-05-31 09:41:32 -06:00
bd3fe9bb00 Fmt. 2022-05-31 09:41:10 -06:00
65091be070 [NO TESTS] WIP 2022-05-31 09:39:53 -06:00
a65702be42 Tapping 2022-05-16 20:31:36 -06:00
13f3bfad0e Tapping towards a slightly functional reader 2022-05-11 23:21:22 -07:00
dadd039a84 Minor crimes to deal with platform-variable pythons 2022-05-11 23:20:59 -07:00
51802b46b6 Be smart about the READONLY flag; consolidate delete 2022-05-11 22:58:35 -07:00
bf1dd67523 Errant whitespace 2022-05-11 11:01:23 -07:00
c522f4c3e5 Turn that off; didn't work 2022-04-21 00:18:22 -06:00
0d6d3319d8 Function references; stubs for closures 2022-04-21 00:17:59 -06:00
4396ec6496 Happy hacking; setting up for structs 2022-04-15 00:31:58 -06:00
ef3f3f5c1a Turn this shit off 2022-04-12 01:49:43 -06:00
ac5a950344 Fmt. 2022-04-12 01:49:29 -06:00
9721622e19 Get the Shogoth VM to a bit better state; py3.10 Ba'azel 2022-04-12 01:49:12 -06:00
feb6980d4f A bytecode VM sketch 2022-03-29 01:29:18 -06:00
977b6d8677 Add a licensing note 2022-03-17 11:03:45 -06:00
42d73b2271 Import the garage project 2022-02-21 16:35:36 -07:00
38eeaef35f Reuse the old feed static IP 2022-02-21 16:35:01 -07:00
1a8399be3d Realpath 2022-02-21 16:35:01 -07:00
57d637755f TOML format 2022-02-15 10:24:06 -07:00
aa2ee00134 config.toml -> pkg.toml, get cleanup working 2022-02-15 10:22:53 -07:00
735a3c65d8 A second cut at the cram tool, now with TOML and tests 2022-02-15 02:17:54 -07:00
011bd6019b Add a record for feed 2022-02-02 00:45:14 -07:00
df9aae1253 Reader's 'done' 2022-01-09 16:32:11 -07:00
0b7b67b797 Initial parse/read driver REPL 2022-01-09 14:46:21 -07:00
7b2291b151 More deps fuckery 2022-01-09 11:23:06 -07:00
f95cd9f0c2 Bump most of the deps 2022-01-09 00:22:56 -07:00
b193811869 cram fixes 2022-01-09 00:07:00 -07:00
c29d07a0b0 Normalize SQL so its nicer when logged 2022-01-08 23:53:24 -07:00
35a97815cd Fmt. 2021-12-27 00:49:28 -07:00
12d6c53985 Roll over API exceptions 2021-12-27 00:49:17 -07:00
d27bc0ab5b [NO TESTS] WIP 2021-12-27 00:31:36 -07:00
c4f13f186a Forgot some locks. Sigh. 2021-12-12 21:51:23 -07:00
7344d858c6 Fairly viable aloe state 2021-12-12 21:36:21 -07:00
38287accf9 WIP - refactoring towards a better state 2021-12-12 20:55:39 -07:00
2e7ab627d4 WIP - somewhat working v2 state 2021-12-12 19:44:12 -07:00
5089b8c94f Spinner while copying; handle dirt files better 2021-12-05 11:35:19 -07:00
6605d28377 A quick and dirty octoprint CURSES dashboard 2021-12-05 11:35:09 -07:00
e283123b3a 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
7f42aa5449 Don't need those 2021-11-20 23:11:47 -07:00
89b05ef0bc Blah. 2021-11-20 23:10:00 -07:00
6c0d3dc535 And done 2021-11-20 23:06:26 -07:00
0016eaa63d And buffing 2021-11-20 22:37:57 -07:00
7fcbf6f3fa Overhaul to a considerably more useful multiprocess state 2021-11-20 22:05:45 -07:00
8469ab7758 WIP on Aloe 2021-11-20 14:39:14 -07:00
d49034c0fa Fmt. 2021-11-09 12:31:31 -07:00
8707dd3142 Fixing list as a global and local fn 2021-11-09 12:31:18 -07:00
245794a9cf Bump click 2021-11-09 12:30:53 -07:00
4fb3719555 More docs tweaks 2021-11-05 13:20:00 -06:00
89610a3568 Documenting for publication 2021-11-05 12:18:45 -06:00
6999e35a91 Add pytest-cov by default when pytesting 2021-11-05 11:47:33 -06:00
37cf353ff5 Finishing and testing the driver 2021-11-05 11:47:17 -06:00
a74c715041 Tapping on the revamped clusterctrl 2021-11-02 01:12:06 -06:00
db84e8b26c Factor out HACKING 2021-11-01 09:47:59 -06:00
61b781206b Documentation tweaks 2021-10-31 11:53:28 -06:00
d07eeb9199 New host records 2021-10-31 10:59:45 -06:00
75a56695c0 Teach cram about profile and host subpackages 2021-10-31 10:59:27 -06:00
8e43a7ce3e Blah 2021-10-27 22:47:15 -06:00
b000f723a9 Rename to match the upstream naming 2021-10-27 22:44:46 -06:00
5d471ec395 exists() is the wrong predicate; false-negatives on broken links 2021-10-20 23:54:17 -06:00
0503dc2df7 Final-ish tested driver 2021-10-13 20:28:54 -06:00
24054b4bfc Styleguide 2021-10-13 01:07:32 -06:00
f276be1fbf A driver from scratch 2021-10-13 01:07:06 -06:00
222dc8d2cf Black. 2021-10-11 22:38:55 -06:00
b551487f3d Squashme: command whitespace 2021-10-11 22:33:34 -06:00
bee293b9d2 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
78d017223c Invalid config should be a nonzero exit 2021-10-11 22:23:53 -06:00
8d0599040c Format the commands so they'll be easier to pull apart 2021-10-11 22:00:53 -06:00
14a8201f00 Unify to double quotes 2021-10-11 21:55:35 -06:00
393a068cae Fix bananas use of commas 2021-10-11 21:54:38 -06:00
03f6b57067 Fix just bananas usage of parens 2021-10-11 21:53:28 -06:00
37021c3fa3 Refactor into a single print() call 2021-10-11 21:42:19 -06:00
6b4bb27dd0 Refactor out constants 2021-10-11 21:41:48 -06:00
ad97fc7fa9 Refactor into __main__ block 2021-10-11 21:26:06 -06:00
6f531cf073 Refactor xra1200 import 2021-10-11 21:24:43 -06:00
1500cc4352 Initial hatctl state 2021-10-11 21:22:49 -06:00
20f42926b4 More improvements and an execution optimizer 2021-10-11 00:09:51 -06:00
7a583ab42a Add profile.d/default to the default requirements 2021-10-10 22:57:53 -06:00
97c0a10e79 Factor out the VFS since it's kinda neat 2021-10-10 22:40:05 -06:00
64e7de4321 Get fmt working again 2021-10-10 21:42:55 -06:00
1d1c4a76f5 Document working in here 2021-10-10 21:42:38 -06:00
8242e91b9a First cut at a cram tool 2021-10-10 21:41:01 -06:00
e59b7b1bbd Fmt. 2021-10-10 21:40:27 -06:00
d7a70ed82c What do you want from me 2021-10-07 10:52:08 -06:00
d6d9f6c900 Hail ba'azel 2021-10-07 10:49:41 -06:00
dd88a46f59
Create bazel-test.yml 2021-10-07 09:58:35 -06:00
a68abf105d So long yakshave.club, I never used you 2021-10-07 09:51:02 -06:00
d0be31870c De-conflict sequential source files that map to the same path 2021-10-04 13:31:00 -06:00
21613e9ea5 [NO TESTS] WIP 2021-09-25 00:43:50 -06:00
caf3acae12 Fmt. 2021-09-24 22:37:38 -06:00
3bedbf7f05 Fmt. 2021-09-19 18:05:22 -06:00
dea064ff13 Get test_licenses using pkg_info ala liccheck
Fixes #2
2021-09-19 17:59:18 -06:00
9b7144047c [NO TESTS] WIP 2021-09-07 02:21:34 -06:00
80e908e7f9 Oh that's a delight 2021-09-07 01:00:37 -06:00
714d11da01 [NO TESTS] WIP 2021-09-06 21:54:12 -06:00
d3c63f0e77 The archiver tools 2021-09-06 21:15:03 -06:00
fa0b6d9863 Push mail forwarding for tirefireind 2021-09-06 21:12:10 -06:00
2b31b9193b Document the black shim a touch 2021-09-02 22:24:50 -06:00
58d136c0bd Syntax errors 2021-09-02 22:10:48 -06:00
2494211ef2 Black all the things 2021-09-02 22:10:35 -06:00
7170fd40a8 Turn on black as a linter 2021-09-02 22:10:24 -06:00
b7e86e50bf Get black working as a linter 2021-09-02 22:10:12 -06:00
84d197d1ae Update projects list 2021-08-30 01:18:55 -06:00
788d18cfef Turn on flake8 for good 2021-08-30 01:07:13 -06:00
4f2ee8e021 Done with flake8 2021-08-30 01:06:21 -06:00
4664b4353c Lint headway 2021-08-30 00:43:58 -06:00
651bc8821a The binary operator rules are silly 2021-08-30 00:43:49 -06:00
1d113f6007 More tweaks 2021-08-30 00:40:02 -06:00
1684195192 Msc. lint stomping 2021-08-30 00:30:44 -06:00
5756f7dd07 The incantation for flake8 2021-08-30 00:30:23 -06:00
aeb3fff678 Get flake8 working as an aspect 2021-08-30 00:29:43 -06:00
f712734648 Fmt. 2021-08-29 22:35:10 -06:00
5646555b14 More tooling 2021-08-29 22:35:00 -06:00
9f3ca0a879 Set better test defaults 2021-08-29 22:19:09 -06:00
37a00166c3 And lint 2021-08-29 22:18:57 -06:00
789573a72a More breaking out 2021-08-29 22:17:57 -06:00
9211668d9e Break tools out into their own dirs 2021-08-29 22:13:59 -06:00
b92d95b80b Futzing with toolchains 2021-08-29 21:59:32 -06:00
0b5912174a [NO TESTS] WIP 2021-08-29 19:23:39 -06:00
928a3a5f84 Re-freeze 2021-08-29 16:04:21 -06:00
f2a837b848 [NO TESTS] WIP 2021-08-23 10:51:41 -06:00
1d340c643c Last Lilith commit I promise 2021-08-23 10:10:03 -06:00
3b03905da4 Add a Def() read-eval cache 2021-08-22 11:15:28 -06:00
012df53350 linting 2021-08-21 22:25:47 -06:00
89f9adc33c Updating the docs and somewhat packaging for submission 2021-08-21 22:25:31 -06:00
7ef2f53db8 Dirty awful hacks to get exec working 2021-08-21 21:38:42 -06:00
726870be94 Main deps. 2021-08-21 21:38:07 -06:00
ff18c055b8 Working lexical/module scope & hello world 2021-08-21 21:17:48 -06:00
4243a9355c Making headway towards a runnable state 2021-08-21 20:02:54 -06:00
8dd071625f Somewhat working launcher with prelude! 2021-08-21 18:58:33 -06:00
d2309e1ac4 Blah. 2021-08-21 17:25:19 -06:00
b1a80feb8a Convert lilith to a runnable 2021-08-21 17:20:13 -06:00
dc17b75fa2 Add support for runnable projects 2021-08-21 17:18:46 -06:00
5f0f1147b1 Get arrays and mappings working 2021-08-21 17:14:57 -06:00
a1dea5dcf5 Get symbols working, styleguide 2021-08-21 16:58:59 -06:00
9d9875eed4 Adding Symbols 2021-08-21 16:44:49 -06:00
8d58aebb4a Deal with string escaping 2021-08-21 14:23:39 -06:00
ed41277614 Hello, world! 2021-08-21 14:07:57 -06:00
1b97cfb41d Ready to try interpreting 2021-08-21 13:13:56 -06:00
6156cc2e4f Tooling work 2021-08-21 11:49:56 -06:00
7342bb3991 Working Lilith block header parser 2021-08-21 11:49:46 -06:00
9514e9ddae Initial deeply busted Lilith state for LangJam 2021-08-20 23:16:59 -06:00
b52e0488d7 Update benchmarks 2021-08-20 10:10:04 -06:00
edf5e4d231 Overhaul client and server 2021-08-20 01:37:20 -06:00
a57ebeb524 Tap out test coverage of the jobq 2021-08-20 01:12:50 -06:00
8e800a0507 Make the jobq closeable and document it. 2021-08-19 23:54:08 -06:00
308e2d0209 Document benchmark results 2021-08-19 23:45:15 -06:00
e194ecccf7 Ignore .pyc object files 2021-08-19 23:29:06 -06:00
49157000b7 Split the jobq into a library and a daemon 2021-08-19 23:28:33 -06:00
2f59f91991 Truncate 2021-08-15 00:02:56 -06:00
3bc6b3f2d1 Update public DNS from the first time through Ba'azel 2021-08-15 00:02:09 -06:00
373542b61c Truncate. 2021-08-14 11:55:58 -06:00
71d7bd95ad Be consistent about 'payload' 2021-08-14 11:23:27 -06:00
14a1452f22 Make the initial state user-definable 2021-08-14 11:18:19 -06:00
ccac0bb3fe Fix exprs 2021-08-14 11:09:27 -06:00
f3e4a0c69d Document CAS on POST /state 2021-08-14 11:05:44 -06:00
98a944cac2 Allow LGPL deps 2021-08-14 09:25:47 -06:00
daca9da84d Get the anosql tests clean 2021-08-14 09:20:58 -06:00
d27e7e6df6 An initial crack at a jobq 2021-08-14 00:31:07 -06:00
2c2d169ab7 Expunge the pypi reference 2021-08-13 19:57:17 -06:00
a5aea04c48 Anosql is abandoned upstream. Vendor it. 2021-08-13 19:56:00 -06:00
f6815f2608 Add support for resources 2021-08-13 19:55:41 -06:00
397015911e Zapp reqman 2021-08-13 17:17:15 -06:00
9991eb4466 Knock out a migrations system for AnoSQL 2021-08-13 16:45:53 -06:00
1d028bbfbf Add a qint tool 2021-08-12 14:50:09 -06:00
b49d0b4d40 Get the updater zapping nicely 2021-08-12 14:28:57 -06:00
958ab203d0 Lang spec. for emacs 2021-08-12 14:28:41 -06:00
251fdd355e Bump rules_zapp for bugfixes 2021-08-12 14:28:26 -06:00
aa38cb33ee Relocate zapp to its own repo 2021-08-12 12:51:50 -06:00
549442e887 More README tweaks 2021-08-08 10:05:26 -06:00
a6d15bfc83
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 20 additions and 28 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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