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

[FEAT] Do not zip folders with generated files by default #118

Merged
merged 4 commits into from
May 6, 2022

Conversation

treee111
Copy link
Owner

@treee111 treee111 commented May 6, 2022

This PR…

  • changes the make-and-zip function to by default not zipping the folders
  • introduces a CLI and GUI option to enable zipping folders

Considerations and implementations

Most of the users copy the files directly onto the device after generation and have therefore to extract the .zip files after generation. This step is not needed anymore with this PR.

How to test

  1. create maps for e.g. malta

Pull Request Checklist

treee111 and others added 4 commits May 3, 2022 00:43
* move main file to common_python folder. callable with -m

- "python -m common_python cli -co malta"

* rename common_python folder to wahoo_mc

* move /common_resources content to /wahoo_mc/resources

- incl. introducing and adjusting constants

* change stuff to wahoo_mc

- wahoo_maps_creator.py --> wahoo_mc
- common_python --> wahoo_mc
- pylint findings
- adjust copy script

* update documentation

* move /tooling_windows content to /wahoo_mc/tooling_win

- incl. adjusting constants

* rename wahoo_map_creator.py to main.py
* fix pylint findings

* fix last bit pylint findings --> 10/10!

* adjust pylint check to need a score of 10/10

* do not check for duplicate code

in test_constants and constants that is intended

* install imported modules
@treee111 treee111 added the enhancement New feature or request label May 6, 2022
@treee111 treee111 merged commit 9662c52 into develop May 6, 2022
@treee111 treee111 deleted the do-not-zip-in-default branch May 6, 2022 19:15
@treee111 treee111 restored the do-not-zip-in-default branch May 6, 2022 19:18
@treee111
Copy link
Owner Author

treee111 commented May 6, 2022

merged to the wrong branch. develop instead of release-v2.0.0. Removing the squashed merge commit via git push -f and merging into release-v2.0.0 via VSCode

treee111 added a commit that referenced this pull request May 6, 2022
* disable zipping in default. provide CLI option

* GUI option for zipping output folders
@treee111 treee111 deleted the do-not-zip-in-default branch May 6, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant