Skip to content

Simplify repository config #25

Open

Description

@pi0

Instead of 3 separate options, { owner: 'nuxt', repo: 'image', branch: 'main' } we could support repository: 'nuxt/image#main'

Activity

  1. self-assigned this
    on Nov 27, 2022
  2. Tahul commented on Nov 27, 2022

    @Tahul
    Contributor

    Taking this up for next versions;

    Any preferred way to parse that string @pi0? Maybe we could support both syntaxes?

  3. pi0 commented on Nov 28, 2022

    @pi0
    Author

    Supporting object syntax makes sense too. Personally, i use simplified repo: 'owner/name' for unjs packages and parse it when needed as most of the the times, the combination is consumed. Also instead of branch, we could call it ref (ref can be also a git tag or commit)

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

Metadata

Metadata

Assignees

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