-
Notifications
You must be signed in to change notification settings - Fork 10
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
Better Install documentation for D8 projects #43
Comments
I honestly have no idea, sorry. I use dorgflow as mentioned in the readme: git clone to anywhere on your system, then symlink the executable into ~/bin which is in my $PATH.
Worth a try, yes.
I'm afraid that every time I try to do something with Composer, I end up either extremely frustrated with the software, or with its maintainers. So this is not something I'm going to get involved in -- it's not worth the stress. I'll happily accept a PR for improvements though. |
I was finally able to get it installed by ignoring the section about composer and just following the first instructions: 1) git clone dorgflow repo someplace, 2) composer install --no-dev, 3) symlink dorgflow to /usr/local/bin/dorgflow to make the command available globally without messing with my PATH. I think the section about "Projects using composer..." is very misleading. It talks about a composer package that doesn't seem to work or have the dorgflow binary. I'd suggest maybe rewording that section of the README and making the first section clearer that it is needed whether doing D7 or D8. Right now "Optional: For composer driven Drupal projects" reads more like "Drupal 8 people look here!" which it really isn't. Sorry you have frustrations with Composer. I've had really good luck with it and actually get frustrated now when I go back to D7 without it. Would be sad if people stopped using dorgflow in D8 just because of this. |
Ah, ha! So we are suppose to git clone it. Some how I thought we could use composer to install it. 1+ on needs better installation instructions. |
@mike-potter instructions should be in the project's README.md |
@mike-potter , @frederickjh could you review the pull request please? |
I reviewed it @joachim-n but maybe @mike-potter can review the composer based workflow section as I have not worked with that. |
I would like to suggest building a phar file like drupal-check: https://github.com/mglaman/drupal-check/wiki/Build-From-Source |
I emailed @jurgenhaas to see if he would help us out on finishing this issue with some advice since he is the maintainer of the lakedrops/dorgflow composer package. It is hosted on a private Gitlab instance so that is why I emailed him. He does have a Github account. Hopefully we will hear from him soon. |
@ccjjmartin I would like to suggest that you look and see if there is already an issue for that otherwise create a new one and stop hijacking a issue about documentation. |
Thanks @frederickjh for reaching out. I have just updated the README of our composer plugin which by the way is a public project, just hosted on our own GitLab instance. The plugin itself is available from Packagist and can be used by anyone. Hope the additional instructions in the readme are helpful. With the described workflow it is super simple to work on d.o issues at any time within a customer project and it takes only a few seconds to get the development environment ready to go, even if none of dorgflow had been available before. This is very encouraging for contributors to actually push back upstream to d.o when ever they come across any issues. |
Here is a link to the diff of the commit for the updates to the documentation for |
I have now blocked @frederickjh To the rest of the group, I created another issue to address the root cause of this issue which is composer installs are bound to result in "hard to install" experiences as stated by both the owner of this repository and the issue originator. To continue the conversation and explore solutions in an open positive manner, see this issue: #53 |
I used to use dorgflow a lot for my D7 modules. Now in D8 we are using composer for everything. It is unclear from the README instructions how to properly install dorgflow when working on D8 projects. The section about using
lakedrops/dorgflow
in the Packagist isn't clear.What I'd like to do is simply install dorgflow globally via
composer global require vendor/dorgflow
but that doesn't seem to work. Perhaps the patch for putting dorgflow into the vendor/bin folder will help. But we also need the README updated with better instructions for installing.The text was updated successfully, but these errors were encountered: