Commit Graph

217 Commits

Author SHA1 Message Date
Aire-One 9165e98db3 chore: configure lua-local debugger for Teal 🧙
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-05-05 00:04:25 +02:00
Aire-One 129f15ea9d spec(module_doc): add "Object properties" tests 2023-05-04 01:01:09 +02:00
Aire-One 65320173e5 spec(module_doc): add "Signals" test 2023-05-04 00:58:35 +02:00
Aire-One 5d45637954 spec(module_doc): add basic test
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-05-04 00:45:39 +02:00
Aire-One 592e62d6fa feat(generator): base implem for `generate_teal`
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-05-01 16:46:07 +02:00
Aire-One 896c7f2f04 feat(scraper): function can populate `other_nodes`
To allow `extract_section_functions`  to populate `other_node`, we need
to use the `module_name` and migrate the function name scrap method to
use the actually displayed text instead of playing with the node `name`
attribute.

Because of this change, we also need to update
`extract_section_variables`. Not a big deal. BTW, we resolved an issue
where `string` variable can wrongly be detected as `enum`.
2023-05-01 16:46:07 +02:00
Aire-One 9156736682 feat(scraper): implement all `section_scrapers` 2023-05-01 16:46:07 +02:00
Aire-One f142f0e750 fix(types): Dag requires path 2023-05-01 16:46:07 +02:00
Aire-One 3d2d009542 chore: add cSpell wording 2023-05-01 16:46:07 +02:00
Aire-One eaf31b2f16 feat(scraper): move "Signals" to AST 2023-05-01 16:46:07 +02:00
Aire-One 09181259e1 run: some play with the entrypoint 2023-05-01 16:46:07 +02:00
Aire-One ab28bf8717 feat(scraper): move "Object properties" to AST 2023-05-01 16:46:07 +02:00
Aire-One b12721e1fd feat(types): introduce new data structures 2023-05-01 16:46:07 +02:00
Aire-One 0339f0eb53 Merge pull request 'Activate the `lint-pipeline` step (#22)' (#82) from feat/#22 into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
Reviewed-on: #82
2023-05-01 16:41:31 +02:00
Aire-One e43ca1d3fc Merge pull request 'chore: format dockerfile' (#81) from fix/tests-teal into master
Reviewed-on: #81
2023-05-01 16:36:41 +02:00
Aire-One 651962d78c ci(lint): activate the `lint-pipeline` step
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
ci/woodpecker/pr/build Pipeline was successful Details
2023-05-01 16:35:22 +02:00
Aire-One a567eb6cdd test(config): fix busted config to run teal code 2023-05-01 16:28:37 +02:00
Aire-One bd29c81658 chore: format dockerfile
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2023-05-01 16:26:42 +02:00
Aire-One 317ce5c7b0 Merge pull request 'Fix CI' (#80) from fix/ci-test-3 into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
Reviewed-on: #80
2023-04-24 02:30:46 +02:00
Aire-One fbc755a9c5 ci: fix
ci/woodpecker/pr/docker-build Pipeline failed Details
ci/woodpecker/pr/build unknown status Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/test unknown status Details
2023-04-24 02:30:00 +02:00
Aire-One 895d9d3eeb Merge pull request 'Fix CI' (#79) from fix/ci-test-2 into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
Reviewed-on: #79
2023-04-24 02:11:02 +02:00
Aire-One e9afbfe21d ci: fix busted-tl_just
ci/woodpecker/pr/docker-build Pipeline failed Details
ci/woodpecker/pr/build unknown status Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/test unknown status Details
2023-04-24 02:10:10 +02:00
Aire-One 9d36197a03 Merge pull request 'Fix CI' (#78) from fix/ci-test into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
Reviewed-on: #78
2023-04-24 01:56:03 +02:00
Aire-One 2af243736f ci(test): add install package to Dockerfile
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
2023-04-24 01:41:52 +02:00
Aire-One e2d1e549a9 Merge pull request 'Implement testing with busted' (#24) from feat/busted into master
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline failed Details
Reviewed-on: #24
2023-04-24 01:19:58 +02:00
Aire-One 10200a2582 ci(test): add initial workflow for test
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
2023-04-24 01:05:01 +02:00
Aire-One 6220faa65f chore: update README
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-24 00:14:49 +02:00
Aire-One e76188f87f test: move to `busted-tl`
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-24 00:14:32 +02:00
Aire-One 5ca672d0ed test: play with local modules
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-17 00:38:17 +02:00
Aire-One 0d6c25faf2 chore: clean rockspec
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
We are not using the `luarocks test` command for now. Instead, we run
Busted directly from the cli tool.
2023-04-17 00:37:22 +02:00
Aire-One e7353199ca chore: clean ignored files
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-04-17 00:09:41 +02:00
Aire-One 94ea49cb3a test: move tests to compiled file 2023-04-17 00:09:41 +02:00
Aire-One 93a61cc8a8 build(types): luassert 2023-04-17 00:08:35 +02:00
Aire-One 1a8844db43 build(types): busted 2023-04-17 00:08:35 +02:00
Aire-One 7151e3a7cb wip: try some stuff 2023-04-17 00:08:35 +02:00
Aire-One 5cd9a539a5 Merge pull request 'Fix new compiler error from Teal 0.15.0 upgrade' (#75) from feat/fixes-teal-0.15.0 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #75
2023-02-04 00:23:02 +01:00
Aire-One 0aaa8e3d8a fix(entity): shouldn't redefine signature
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-02-04 00:15:09 +01:00
Aire-One 8822970107 fix(generator): can't infer generic type 2023-02-03 23:53:38 +01:00
Aire-One 34e6a65ebc fix(entity): can't infer record with record 2023-02-03 23:53:38 +01:00
Aire-One 418c86e23b fix(utils): `do_or_fail` `res` need to be promoted 2023-02-03 23:53:38 +01:00
Aire-One 4be2a48609 Merge pull request 'Update cyan docker image' (#77) from feat/woodpecker-docker-build-cyan into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #77
2023-02-03 23:39:51 +01:00
Aire-One 3674c6f431 feat(ci): version management in cyan dockerfile
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-02-03 23:27:34 +01:00
Aire-One 3f5766400a Merge pull request 'Prepare extendability for the get_doc_from_page scraper method (#27)' (#73) from feat/#27 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #73
2023-01-15 16:07:00 +01:00
Aire-One c95beebede chore(scraper): refactor get_doc_from_page
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-01-15 15:36:54 +01:00
Aire-One 6ae8343b9f Merge pull request 'Add property:: signals (#30)' (#72) from feat/#30 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #72
2023-01-08 18:11:17 +01:00
Aire-One 00fa0dce30 Merge pull request 'Properly name the functions record parameters (#56)' (#71) from feat/#56 into master
Reviewed-on: #71
2023-01-08 18:00:15 +01:00
Aire-One 013bff1a31 feat(Module_Doc): fixup to add property signals
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
This is a naive approach to automatically add all the `"property::"`
signals. A better way to do that would be to look for this information
in the documentation with the scrapper. It would be, however, less
efficient, and requires quite a few refactors of the data structure.

So this current naive approach will be good enough for now.
2023-01-08 17:56:51 +01:00
Aire-One ed1763524f chore(Module_Info): refactor fixup 2023-01-08 17:45:49 +01:00
Aire-One c67f137628 feat(Function_Info): fixup record parameter name
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-01-08 17:39:34 +01:00
Aire-One 59ab75dcf0 Merge pull request 'Define modules `init.d.tl` file (#61)' (#69) from feat/#61 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #69
2022-12-30 20:54:50 +01:00