Skip to content

Glint v2 - #27

Draft
TanklesXL wants to merge 9 commits into
nextfrom
glint_v2
Draft

Glint v2#27
TanklesXL wants to merge 9 commits into
nextfrom
glint_v2

Conversation

@TanklesXL

Copy link
Copy Markdown
Owner

No description provided.

renaudlenne and others added 9 commits June 12, 2025 16:04
…16)

* feat: added a new --fetch flag to the 'new' command, to directly fetch the input from the AoC website

* feat: extract the AoC cookie env name to a constant + use envoy instead of the soon-to-be-deprecated os.getenv

* feat: do the input fetching in the create_input_file step

* feat: use a guard instead to avoid having another argument to the case

* style: code formatting

* feat: handle non-200 http response while fetching input

* feat: use request builder to build the request to fetch the input

* feat: add a user-agent when sending request to AoC to be in line with official AoC recommendations

* feat: check if the input file already exists when trying to fetch it and return an error without trying to downloading it again if that's the case

* chore: better output FailedToWriteToFile error message

* chore: call simplifile.file_info to ensure the pre-existence of the input file before fetching it, instead of calling both is_file and is_directory
* feat: add timed flag to measure solution time

* rename time to execution_time

* feat: always measure exec time and only print when flag enabled

* feat: show time measurement in different units

* refactor: use /. operator

* test: format_float unit test
* remove package-interface bug workaround, require gleam >=1.9

* move ffi file

* bump parallel_map dep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants