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

Composer tips for Acquia RA #64

Open
becw opened this issue Apr 4, 2017 · 1 comment
Open

Composer tips for Acquia RA #64

becw opened this issue Apr 4, 2017 · 1 comment
Assignees

Comments

@becw
Copy link
Member

becw commented Apr 4, 2017

Make sure that:

  1. all repos are public
  2. all github repos use https://github.com URLs instead of [email protected] URLs
  3. the-build and the-vagrant should be dev dependencies
  4. preferred-install = dist should be set in the composer.json 'config' property
  5. only tagged releases - https://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md - this is probably not possible for our projects
  6. ignore .git directories within vendor, web
  7. add a github-oauth token to the "config" key in composer.json:
{
  "name": "palantirnet/...",
  "description": "A Drupal 8 website for ...",
  "type": "project",
  "license": "proprietary",
  ...
  "config": {
      "preferred-install": {
          "*": "dist"
      },
      "sort-packages": "true",
      "github-oauth": {
          "github.com": "..."
      }
...
@becw becw self-assigned this Apr 4, 2017
@becw
Copy link
Member Author

becw commented Apr 4, 2017

/cc @dscottd7

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

No branches or pull requests

1 participant