Skip to content

Conversation

@Daniel15
Copy link

Adds repo for Yarn, a new package manager for JavaScript.

Closes #321

{
"alias": "yarn",
"sourceline": "deb http://dl.yarnpkg.com/debian/ stable main",
"key_url": "http://dl.yarnpkg.com/debian/pubkey.gpg"

This comment was marked as spam.

@robfrawley
Copy link

Will this be merged at any point?

@Daniel15
Copy link
Author

Daniel15 commented May 26, 2017

I don't know whether it's actually needed - Apparently the repo works even without this. ¯\_(ツ)_/¯

@robfrawley
Copy link

Without this pull request, it doesn't work in container-based (non-sudo) builds, does it? If so, how?

@Daniel15
Copy link
Author

Daniel15 commented May 26, 2017

Someone at work mentioned that this works, however I have not tested it:

addons:
  apt:
    sources:
    - sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
      key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'

It's pretty weird that Travis' container infra uses this whitelist, given other container-based CI systems (like CircleCI) don't need anything like this. 😕

@robfrawley
Copy link

robfrawley commented Sep 10, 2017

Just wanted to follow-up and mention that your same code works flawlessly; thanks! As for the oddity of both the sudo restrictions and the apt whitelist: I strongly agree.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants