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

Support SwiftPM Package.pins #974

Closed
andrew opened this issue Dec 8, 2016 · 2 comments
Closed

Support SwiftPM Package.pins #974

andrew opened this issue Dec 8, 2016 · 2 comments

Comments

@andrew
Copy link
Contributor

andrew commented Dec 8, 2016

https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md#package-pinning

JSON file called Package.pins which is generated/updated automatically as a lockfile

Only example I can find so far is here: https://github.com/apple/swift-package-manager/blob/master/Tests/WorkspaceTests/PinsStoreTests.swift#L99-L122

{
  "autoPin": true,
  "pins": [
    {
      "package": "bam",
      "reason": null,
      "repositoryURL": "/private/tmp/BigPackage/bam",
      "version": "1.0.0"
    },
    {
      "package": "bar",
      "reason": null,
      "repositoryURL": "/private/tmp/BigPackage/bar",
      "version": "1.0.0"
    },
    {
      "package": "baz",
      "reason": null,
      "repositoryURL": "/private/tmp/BigPackage/baz",
      "version": "1.0.0"
    }
  ],
  "version": 1
}
@andrew
Copy link
Contributor Author

andrew commented Mar 28, 2017

It's shipped in swift 3.1 so no longer on hold: kumabook/TOMLKit@6a7df51

@andrew andrew removed the on hold label Mar 28, 2017
@andrew andrew added the roadmap label Oct 9, 2017
@andrew
Copy link
Contributor Author

andrew commented Oct 9, 2017

Moving this to the Backlog as we'd still like to implement it but can't see that happening in the near future.

@andrew andrew closed this as completed Oct 9, 2017
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

1 participant