weknowinc / drupal-console-yaml

Drupal Console Yaml commands
1 stars 9 forks source link

Usage instructions? #3

Open freelock opened 7 years ago

freelock commented 7 years ago

Hi,

We were using drupal console yaml:* commands in our CI environment, and found it to be the most useful tool available for merging yaml from multiple sources before kicking off tests. However, we need to use this not just on Drupal 8 sites, but in Drupal 7, 6, WordPress, and entirely other environments.

What would be the best way to use this functionality in a completely standalone way? Could it be easily bundled up into a .phar?

Cheers, John

enzolutions commented 7 years ago

Hi @freelock

I just want to inform that this repository is functional with current dev-master version of drupal-console check the readme and since next release 1.0.0-rc22

About haveing and application to be used with as an independent application it's totally doable, but could be in the master because the dependencies could break your Drupal 8 sites.

So, we have two options.

  1. Create a branch to handle this version
  2. Create a new repo that uses this project as dependency

I am more fan of options two, let me know your feelings and if there is something that you could like and have time to contribute.

Kind regards,

freelock commented 7 years ago

Hi,

We need a stand-alone tool for merging Yaml files -- we have 5 - 6 non-Drupal systems that rely upon Yaml for configuration, and some of these manage our CI pipeline. The Yaml support in Drupal Console < rc16 (or whenever it was pulled out and put in this repo) was the best tool we found for the job -- does everything we need it to do, reliably. Have not found a better Yaml tool.

However, now that Drupal Console is pretty useless if you're not in a Drupal 8 site, we need an alternative... especially because we're still running a lot of non-Drupal 8 sites through our pipelines...

I would be happy to create a separate project that essentially wraps this one, though I'm a bit of a loss as to where to start... and not a lot of bandwidth for this right now...

Cheers, John

jmolivas commented 7 years ago

@freelock On the next Launcher release will be a stand alone CLI application as before, and you will be able to execute the yaml commands.

Just stay in touch for the next release and ping us back if you have any questions about instructions to add these commands globally.