Skip file type guess or lock accepted file type
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with app/main.py around the linked file-type guess and read issue #73 for the proposed xls2xform.convert type parameter. Determine whether the accepted behavior should skip guessing or restrict uploads to XLSX. Done means the selected file-type behavior is implemented and XLS/XLSX parsing is covered by the repository's existing checks.
Written by the indexing model from the issue text.
Description
The file type guess seen here could be skipped since pyxform will try parsing as XLSX first and then try XLS (then concatenated formats - markdown then csv) until one of them parses OK. If a file type is specified to xls2xform.convert (see https://github.com/getodk/pyxform-http/issues/73) then only that type is attempted. Perhaps only accepting XLSX at xlsform online https://getodk.org/xlsform/ could be a way to wean off XLS and therefore allow pyxform to drop the sporadically maintained dependency xlrd.
- Dominant language
- Shell
- Stars
- 5
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getodk/pyxform-http
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
getodk/pyxform-http#73 ·
All issues in getodk/pyxform-http
Similar issues
-
bug ready
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MartinPTielemans/ilo#3727 ·
Maintainers usually reply within 1 day
-
acme.sh : reload service directly after getting hostname cert instead of waiting at the script end ?Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
mailcow/mailcow-dockerized#7683 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
open-saas-directory/awesome-native-macosx-apps#293 ·
Maintainers usually reply within 1 day
-
area:linux source:reader type:enhancement
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
stephrobert/blog-roadmap#222 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100