Skip to content

Support replace directives like in Go #2504

Closed as not planned
Closed as not planned

Description

@helderco

Our dagger.mod file only supports require directives. If we add support for replace, we can use it as a stop-gap for vanity URLs, but also as a better workflow for developing packages, without the need to manually setup links.

Examples:

  • universe.dagger.io => github.com/dagger/dagger/pkg/universe.dagger.io
  • example.com => ~/work/dagger/my-package

Activity

  1. changed the title [-]Support replace directives like in Go (e.g. replace dagger.io/dagger => ~/work/dagger/pkg/dagger.io)[/-] [+]Support replace directives like in Go[/+] on May 24, 2022
  2. added
    area/engine
    on Jul 11, 2022
  3. added and removed
    area/engine
    on Dec 6, 2022
  4. 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions