Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Allow specifying different formats for full name #6

Open
stellarhoof opened this issue Nov 27, 2022 · 1 comment
Open

Allow specifying different formats for full name #6

stellarhoof opened this issue Nov 27, 2022 · 1 comment
Labels
question Further information is requested

Comments

@stellarhoof
Copy link

stellarhoof commented Nov 27, 2022

Any plans on allowing something like this?

require "dep" {
  "https://github.com/user/package",
  "/some/absolute/path/package",
}
@stellarhoof stellarhoof changed the title Allow specifying full name as package url Allow specifying different formats for full name Nov 27, 2022
@luaneko
Copy link
Contributor

luaneko commented Dec 20, 2022

You can override the clone URL like this, but the package ID still needs to be in the user/package format:

require "dep" {
  {
    "user/package",
    url = "https://github.com/user/package" -- or some other git host
  }
}

As for cloning a package from the local filesystem, I believe Git is already able to do this but I haven't tested this yet.

@luaneko luaneko added the question Further information is requested label Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants