Skip to content

Support git tag_pattern from Dart 3.9.0 #2155

Closed

Description

@spydon

In Dart 3.9.0 the tag_pattern for git dependencies was introduced. (https://dart.dev/tools/pub/dependencies#git-packages)
But it doesn't seem like there is support for that in the pubspec_parse package yet?

Activity

  1. devoncarew commented on Sep 3, 2025

    @devoncarew
    Contributor

    Ah, good catch. pubspec_parse doesn't support this yet, but we would accept PRs adding support for it. cc @sigurdm @szakarias

  2. jlambright commented on Nov 21, 2025

    @jlambright

    Any progress on this?

  3. FritzMatthaeus commented on Jan 12, 2026

    @FritzMatthaeus

    Any progress on this?

    As i just saw, this will not be pursued. We are using Melos in a private repository context and handling dependencies with Melos is relying on the pubspec_parse package to be able to resolve it. see here. Maybe the Melos maintainers can find a solution for this.

  4. spydon commented on Jan 12, 2026

    @spydon
    ContributorAuthor

    Also I'm not sure that pubspec_parse is really the right thing to do - in most instances pub should really be the one to parse pubspecs.

    @sigurdm I'll continue the discussion here since the PR got closed.

    It seems weird that this package wouldn't parse the full specification of the pubspec format? I understand the load constraint, but what if someone else implemented it? And in what ways is it a breaking change?

  5. spydon commented on Aug 29, 2026

    @spydon
    ContributorAuthor

    @sigurdm I did an implementation in #2565 that is non-breaking, could you have a look if that one would be acceptable?

    I also added these for other missing fields:
    platforms: #2566
    false_secrets: #2567
    hooks: #2568

  6. added a commit that references this issue on Oct 4, 2026
    068119b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions