Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
6 tasks
vivid-inc opened this issue Jun 5, 2017 · 2 comments
Closed
6 tasks

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

vivid-inc opened this issue Jun 5, 2017 · 2 comments
Labels
type/enhancement An improvement of existing functionality type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Milestone

Comments

@vivid-inc
Copy link

  • 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!

@lunny lunny added type/enhancement An improvement of existing functionality type/feature Completely new functionality. Can only be merged if feature freeze is not active. labels Jun 6, 2017
@cez81
Copy link
Contributor

cez81 commented Jun 8, 2017

See #1103

@appleboy
Copy link
Member

appleboy commented Jun 9, 2017

closed via #1103

@appleboy appleboy closed this as completed Jun 9, 2017
@lunny lunny added this to the 1.2.0 milestone Jun 9, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

No branches or pull requests

3 participants