Closed jiegillet closed 2 years ago
At this point, I would like to request to become a maintainer on the Elm track, if I can get the blessing of @mpizenberg and @ceddlyburge.
You have my blessing :)
Mine too :)
I know I was told not to worry, but I modified run.sh and the smoke test so that it would run in read-only (but still writing in /tmp
).
Is there anything left to do before generating the secrets and activating the analyzer in the Elm config file?
I know I was told not to worry, but I modified run.sh and the smoke test so that it would run in read-only
Haha It's like you just climbed a mountain, you have a great view, but there is this last spot, 50m away, and your journey would not be complete until you make sure the view isn't better from up there.
If I have a small nitpick (without checking in detail all the PR), why are some files are with an eol at the eof while some do not have an eol? I think the posix standard ask that we add an eol as the last char of a file. If you use VSCode it should be this setting: "files.insertFinalNewline": true
Haha yeah, it's that kind of feeling. And when you reach this other perfect peak, you spot another one :)
Thank you for the EOL tip, it is something that I never really paid attention to, I do use VSCode and I've enabled the setting.
From my point of view, this is ready to be merged!
me too :)
This PR is meant to address everything left to do before deployment.
Docker
It took me a while to figure out how docker works and how to debug it (especially since both
elm
andelm-review
don't have explicit offline modes), but thanks to useful advice from Slack, I think I managed to get to something that works. I ended up with something very similar toelm-test-runner
. Of course, please do review carefully since this is my first docker build.I made various changes to the shell scripts so that the same ones can run both locally and in docker.
CI
I copied
docker.yml
pretty much as is (I only removed themaster
branch) from an Elixir repo, that should be fine. It doesn't run on my fork, probably @ErikSchierboom has to do some admin magic on it?elm_tests.yml
runs all the tests withelm-test
(notelm-test-rs
because version 1.1 doesn't allow tests with the same name, but IMO they make sense here. I didn't check later versions), checks the formatting, runselm-review
on the repo, and runsrun-tests-in-docker.sh
, which is basicallybin/smoke_test.sh
in the container.elm-review
I took the approach of (quote from README)
So I would like to keep the rules from the repo the same as the common rules we use for the students (we don't have any active at the moment, but I'm expecting we will add
NoUnused
andSimplify
at some point).All changes from the elm code was suggested from those rules.
README
I wrote one.
Going live
We will need to merge that PR so we can check if the analyzer works as intended. You will get a comment if you use either
List.filter
orList.filterMap
.Maintaining the repo
At this point, I would like to request to become a maintainer on the Elm track, if I can get the blessing of @mpizenberg and @ceddlyburge.
I changed the
CODEOWNER
file so that we don't need admins to review each PR that don't touch the.github
repo.