Comments (6)
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:
- Instead of using
drupal/core
in composer.json, you'd use Greg'spantheon-systems/drupal-core
- 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.
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.
I should have mentioned what aI already tried. E.g., @RobLoach's suggestion
- 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.
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.
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.
#38 Should work with custom upstreams as well. Just defined a different source url and additional includes.
from drupal-scaffold.
Related Issues (20)
- Drupal composer create-project Failed to download /plain/ directory HOT 6
- PrestissimoFileFetcher errors with newest Curl Version 7.64.0 HOT 5
- Downloading scaffold files fails
- Error when running `composer update` HOT 3
- Comparison to Composer Scaffold HOT 7
- post-drupal-scaffold-cmd not working anymore? HOT 1
- Can't exclude files HOT 2
- PHP Parse error when trying to run composer self-update
- Re-scaffolding index.php causes SoftException 500 Error
- Compatibility with Composer 2 HOT 3
- Plugin::scaffold call is deprecated but README says it should be added to post-install commands HOT 5
- Copy development.services.yml
- Add ability to specify a location for includes
- Error in post install script HOT 27
- Cannot run 'composer drupal-scaffold' in 2.5.0 HOT 3
- Fatal error: Interface 'Composer\Plugin\Capability\CommandProvider' not found HOT 5
- Add README.txt files to the scaffold
- .eslintrc.json - how to make it work with the extends?
- html
- generation of autoload.php file should respect umask value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal-scaffold.