Skip to content

tempdir command-line option partially ignored by backup command? #1878

Closed
@ghost

Description

  • Gitea version (or commit ref): 1.1.1
  • Git version: 1.9.1
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [ x] Not relevant
  • Log gist:

Description

Supplying an alternate tempdir causes the backup to fail on our particular file-system layout (/tmp is tiny) :

$ gitea dump --tempdir=/path/to/my/temp
...
2017... Failed to save gitea-dump-149....zip: write /tmp/cae/gitea-dump-149....zip/gitea-repo.zip: no space left on device

Perhaps this depends on interpretation, but, as someone who just wants to quickly get a Git repository manager up with the least number of stumbles, I read tempdir to mean the path that will be used in every case that calls for a temporary directory during the backup process, and so I expect that it will use my supplied temp dir path even to construct the zip.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionalitytype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions