Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor improvements #968

Merged

Conversation

pdietl
Copy link

@pdietl pdietl commented Apr 20, 2024

Add more error checking to the map and geocode script
Rename map to map.sh and geocode to geocode.sh in hopes that
when downloading, Google Chrome doesn't automatically add a .txt extension.

The default zoom of 2 results in the center option not showing anything
different. So, we change the default zoom to 10.

We also clear up the fact that using an option type of nullOr <blah> does not
set a default value of null for you.

@pdietl pdietl force-pushed the pdietl/nixos-modules-improvements branch 2 times, most recently from 5f7386d to a307fd1 Compare April 20, 2024 22:51
@pdietl pdietl marked this pull request as draft April 20, 2024 22:55
@pdietl pdietl force-pushed the pdietl/nixos-modules-improvements branch from a307fd1 to f5c0378 Compare April 20, 2024 22:57
@infinisil
Copy link
Member

Nice! Though Git doesn't detect the files as having been renamed. To fix this, could you split this into at least two commits, the first one that just renames the files, the second changing them? That should make reviewing easier :)

@fricklerhandwerk fricklerhandwerk force-pushed the pdietl/nixos-modules-improvements branch from f5c0378 to 99d2f91 Compare May 14, 2024 20:44
@fricklerhandwerk fricklerhandwerk marked this pull request as ready for review May 14, 2024 20:44
@fricklerhandwerk
Copy link
Collaborator

@infinisil I did the history rewrite.

@fricklerhandwerk fricklerhandwerk force-pushed the pdietl/nixos-modules-improvements branch from 99d2f91 to dfec330 Compare May 14, 2024 20:48
Pete Dietl added 2 commits May 14, 2024 22:56
Rename `map` to `map.sh` and `geocode` to `geocode.sh` in hopes that
when downloading, Google Chrome doesn't automatically add a `.txt` extension.
Add more error checking to the `map.sh` and `geocode.sh` script

The default zoom of 2 results in the `center` option not showing anything
different. So, we change the default zoom to 10.

We also clear up the fact that using an option type of `nullOr <blah>` does not
set a default value of `null` for you.
@fricklerhandwerk fricklerhandwerk force-pushed the pdietl/nixos-modules-improvements branch from dfec330 to 0b3e512 Compare May 14, 2024 20:56
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-05-14-documentation-team-meeting-notes-126/45431/1

@fricklerhandwerk fricklerhandwerk merged commit b14ab7b into NixOS:master May 21, 2024
5 checks passed
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.

None yet

4 participants