mini-format-pack
mini-format-pack copied to clipboard
mini-format pack does not include latest commits after building (possible aab issue?)
Problem description
Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?
Some mini-format-pack features are not being built correctly with aab build
(nor are they present in a release). For example, commit 725bb85 that adds a button for inserting inline code doesn't get added into the package. Somehow after running aab build
, build/dist/src/mini_format_pack
folder ends up with old config.json
and main.py
files that don't contain necessary changes that come from that commit (even though they are present in src/mini_format_pack/
folder).
It is possible to fix this by adding main.py
and config.json
manually to the package file (which seems to be a .zip) by issuing the following commands on Linux:
$ zip mini-format-pack-v0.1.1-anki21.ankiaddon config.json
$ zip mini-format-pack-v0.1.1-anki21.ankiaddon main.py
After that, those features become available: Screenshot
Checklist
Please replace the space inside the brackets with an x if the following items apply:
- [ ] I've restarted Anki to see if it helps
- [ ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
- [ ] I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
- [ ] I've tried to disable other add-ons to see if there are any interactions present
- [ ] My issue disappears when I hold shift while starting Anki.
- [ ] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
Information about your Anki set-up
Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below: