Giter Club home page Giter Club logo

Comments (6)

RobLoach avatar RobLoach commented on August 11, 2024

Since we're building Drupal rather then checking it out from a git repository, the upstream workflow on Pantheon gets a bit iffy. One way to have this push to Pantheon would be:

  1. Instead of using drupal/core in composer.json, you'd use Greg's pantheon-systems/drupal-core
  2. Use something like Robo's VCS Tasks to force push the docroot folder to Pantheon

A hack around this would be to have a custom upstream set of a deployment repository. Use the above workflow to push to that deployment repo, and then have Pantheon's custom upstream set to the deployment repo. Again, that's another middleman you'd have to manage.

from drupal-scaffold.

andrewmallis avatar andrewmallis commented on August 11, 2024

As Rob notes we can create a custom upstream that is a production build managed by our CI. Here's how: https://pantheon.io/docs/custom-upstream/
updates will come in to the dashboard and need to be applied.

We can also create a site with no upstream at all:
https://kalamuna.atlassian.net/wiki/display/KALA/Creating+a+Pantheon+website+with+no+defined+upstream
which simply cleans up the dashboard prompts to update an irrelevant distro.

from drupal-scaffold.

hawkeyetwolf avatar hawkeyetwolf commented on August 11, 2024

I should have mentioned what aI already tried. E.g., @RobLoach's suggestion

  1. Instead of using drupal/core in composer.json, you'd use Greg's pantheon-systems/drupal-core

Doesn't work. There is additional scaffolding code that expects to see the drupal/core repo. Changing that code to pantheon-systems/drupal-core got it further along but then error'd out on something else I don't remember.

@andrewmallis re:

As Rob notes we can create a custom upstream that is a production build managed by our CI. Here's how: https://pantheon.io/docs/custom-upstream/
updates will come in to the dashboard and need to be applied.

We don't use Pantheon to apply updates since we develop our code in a separate repo. Perhaps Pantheon's rumored 3rd party repo integration will help.

And anyway in this case, the only "custom upstream" that works is vanilla drupal core, which of course doesn't have the usual modifications that Pantheon makes to core. We can use composer to apply patches, but I don't want to get into the business of keeping up with Pantheon's core modifications. They seem to be relatively minor in Drupal 8 as compared to Drupal 7, so maybe this won't be too bad.

from drupal-scaffold.

RobLoach avatar RobLoach commented on August 11, 2024

Doesn't work.

Likely because the subtree split needs an update: drupal-composer/drupal-core#11 . https://packagist.org/packages/pantheon-systems/drupal-core is at beta12.

from drupal-scaffold.

hawkeyetwolf avatar hawkeyetwolf commented on August 11, 2024

Likely because the subtree split needs an update: drupal-composer/drupal-core#11 . https://packagist.org/packages/pantheon-systems/drupal-core is at beta12.

Nerp. The repo doesn't actually contain the code for drupal core, just a reference to the drupal core repo. The official split repo hasn't been updated since August 11th, 2015. And the only commit since Pantheon forked is a few lines of documentation. Pantheon's split core is two commits ahead, and the only changes are simply to reference drops-8.

If you want to try out referencing Pantheon's split core, just make sure to specify dev-master as the composer version requirement.

from drupal-scaffold.

webflo avatar webflo commented on August 11, 2024

#38 Should work with custom upstreams as well. Just defined a different source url and additional includes.

from drupal-scaffold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.