Skip to content

provide external source control URL for schema publish #8105

Description

@n1ru4l

We already support linking github metadata with a schema publish via the --github flag.

However, not everyone is using GitHub. For these users we can provide a different flag for associating a link with a subgraph publish.

hive schema:publish \
  --commit c7cd95c28de78a92de2250ed34c2aa8fb987ffc3 \
  --external-url https://codeberg.org/foo/bars/commit/c7cd95c28de78a92de2250ed34c2aa8fb987ffc3 \
# ... other parameters

We can then leverage that link in the UI to give users a quick way to jump to their source control provider.

Image

Consideration:

  • The URL path bath must be allow-listed in the target/project/orgs settings by an admin; to avoid sus links being displayed to users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions