Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnome-builder
gnome-builder
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 497
    • Issues 497
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 18
    • Merge Requests 18
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gnome-buildergnome-builder
  • Issues
  • #362

Closed
Open
Opened Jan 24, 2018 by Christian Hergert@chergertMaintainer

Monitor disk-space on file-systems used for building

We store intermediate build data in the g_get_user_cache_dir() along with other things like code-search indexes. Therefore, we should monitor the file-system containing this so that the user can be notified if it is running out of disk space.

We should probably warn the user (using an info bar or equivalent) if there is less than 1 GB.

The user can react to the warning in one of to ways. Simply acquiesce the notification, or run a clean-up operation. The clean-up operation could use a DzlDirectoryReaper to remove old data in the cache directory that is past a certain age. We probably want to start with projects that are not open (and wipe them out completely), followed by any non-active builds for the current project.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gnome-builder#362