Skip to content

Support "tidy"'ing #2508

Closed as not planned
Closed as not planned

Description

@helderco

Problem

To keep a project up to date on dependencies, there's a bit of manual work involved.

Solution

Add a new dagger project tidy command that does the following:

  1. Scan project imports
  2. Add missing requirements to dagger.mod
  3. Remove unused requirements from dagger.mod
  4. Do a dagger project update (installs requirements, verifies/updates checksums)
  5. Remove files that aren't being used (from global cache or cue.mod/pkg if not)

Activity

  1. mlkmhd commented on Jun 13, 2022

    @mlkmhd

    this project was a good package manager for ‍‍.cue files:
    https://github.com/octohelm/cuemod

    is it possible to merge it to dagger source?

  2. helderco commented on Jun 17, 2022

    @helderco
    ContributorAuthor

    is it possible to merge it to dagger source?

    Not right now, I replied in #2292 (comment).

  3. added
    area/cli
    area/engine
    on Jul 11, 2022
  4. added and removed
    area/engine
    on Dec 6, 2022
  5. helderco commented on Dec 22, 2022

    @helderco
    ContributorAuthor

    Closing. More context in parent issue: #2163.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cli

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions