bug: Experiment name slashes preserved in zip construction
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- backend
Research direction
Start at the zip-construction entry point used by the “Download experiment data” button and trace how the private experiment name becomes internal file names. Verify the archive with a name such as FOO/BAR; done means its files use the same slash-replaced prefix as the downloaded zip name, without creating nested directories.
Written by the indexing model from the issue text.
Description
The "private experiment name" field for an experiment is used as a prefix to name files when constructing the zip that's downloaded from the "Download experiment data" button. If the private experiment name contains slashes, these are preserved in the zip creation, meaning the zip will have nested subdirectories.
For example, if you name your experiment FOO/BAR, then the zip file will be named FOO_BAR_data.zip, but the files inside will be FOO/BAR.json, FOO/BAR_Alerts.csv and so on.
Recommend applying the same slash replacement treatment to the files within the zip as to the zip itself.
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 40
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 20
Contributor 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 PAIR-code/deliberate-lab
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
PAIR-code/deliberate-lab#1214 ·
-
area:build
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PAIR-code/deliberate-lab#1179 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PAIR-code/deliberate-lab#1144 ·
-
starter bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
PAIR-code/deliberate-lab#1096 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
PAIR-code/deliberate-lab#1070 ·
All issues in PAIR-code/deliberate-lab
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100