hydrusnetwork / hydrusnetwork/hydrus

Don't arbitrarily limit the maximum path length when exporting files

Open
#417 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request not-actionable system:import-export
Dominant language
Python
Stars
3.2k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

Currently, Hydrus limits the maximum path length to 240 characters: https://github.com/hydrusnetwork/hydrus/blob/82fc1c9b3ba079c07392d9d5cd3292705480d0bc/hydrus/client/ClientExporting.py#L17

Ideally, it should instead use the limits of the respective OS/FS.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced limit near line 17 of hydrus/client/ClientExporting.py and trace how export paths are checked. Compare the applicable path limits for each supported OS/filesystem, then verify that exports use those limits rather than a fixed 240-character maximum.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.