Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-159] Add ability to specify localpath for a dependency. #5444

Closed
swift-ci opened this issue Dec 9, 2015 · 7 comments
Closed

[SR-159] Add ability to specify localpath for a dependency. #5444

swift-ci opened this issue Dec 9, 2015 · 7 comments

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Dec 9, 2015

Previous ID SR-159
Radar None
Original Reporter kkoval (JIRA User)
Type New Feature
Status Resolved
Resolution Won't Do
Additional Detail from JIRA
Votes 2
Component/s Package Manager
Labels New Feature
Assignee None
Priority Medium

md5: 2e74a9a37d27f5dcd089924474b89238

relates to:

  • SR-2261 Improve the error message that's shown when trying to access a package by path

Issue Description:

Use case:
I want to create a simple module on my PC and specify it as a dependency.

let package = Package(
    name: "Pa",
    dependencies: [
        .Package( url: "../LibADep")
    ]
)

Now to make it work i need to create a .git and add a version.
this makes the process of creating new Packages more complex and hard.

@mxcl
Copy link
Contributor

mxcl commented Dec 16, 2015

We agree, and intend to make this less tedious.

But in the interest of a healthy packaging ecosystem, any package that is remote will require versions still.

@swift-ci
Copy link
Contributor Author

Comment by Kostiantyn Koval (JIRA)

But in the interest of a healthy packaging ecosystem, any package that is remote will require versions still.

Agree

@swift-ci
Copy link
Contributor Author

swift-ci commented Mar 1, 2016

Comment by James Richard (JIRA)

Yeah, this would make development significantly easier if you're working on a library-oriented architecture. I would love to see this as soon as possible.

@mxcl
Copy link
Contributor

mxcl commented Mar 1, 2016

Sorry, I'll try to do this sooner. I have been waiting on myself because I have been rethinking Package.swift but I can get something in there quicker than that.

@abertelrud
Copy link
Contributor

Related to SR-2261

@abertelrud
Copy link
Contributor

And yes, we really would want this, since it's a very natural thing to want to do, especially during bring-up.

@aciidgh
Copy link
Member

aciidgh commented Mar 8, 2017

We decided we won't do this, the new branch feature will help during bring up.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants