Comments (5)
I think too, what 3rd-party recipes should has no effect on.
Imagine i has Symfony app based onrecipe/symfony.php
, but i want to use rsync. Now if i require this recipe - my deploy will be broken. Sad =(.
I think recipes has to be separated into two category:
- Recipe with useful tasks (as library)
- Recipe which provide workflow (as workflow)
cachetool.php, slack.php, and other is 1 type.
recipe/common.php
and derivative is 2 type.
rsync.php
recipe in #10 now is 2 type too, but must be separated into two:
- rsync as useful tasks,
- shared hosting workflow.
from recipes.
sooo I went ahead and changed rsync.php
into type 1. now rsync is a useful task 😃
Now... to shared hosting workflow!
from recipes.
So to sum up some suggestions from #10 and #12:
- use short file names. Eg
ftp
instead offtp_upload_to_server_recype_by_me
- prefix tasks with recipe name. if You have task named
mytest
inmyrecipe
it should be namedmyrecipe:mytest
- use global settings keyed by your recipe name. If You have one setting, name it the same as Your recipe. If You have multiple settings, use associative array
- use environment variables prefixed by Your recipe name. If You have environment varaible named
better_path
in recipemyrecipe
, call itmyrecipe_better_path
did I miss something?
from recipes.
that looks about right :)
from recipes.
Good 👍
from recipes.
Related Issues (20)
- Email recipe HOT 4
- [Error] Call to undefined method Symfony\Component\Console\Helper\QuestionHelper::getInputStream() HOT 5
- What about merging recipes and deployer? HOT 7
- Issue with recipe/sentry HOT 3
- [slack] No branch or commit name HOT 2
- add npm build to npm recipe
- Rsync filterperdir wrong variable HOT 2
- RocketChat Integration HOT 2
- Sentry recipe fails when there's no .git directory HOT 2
- MS Teams notification integration HOT 1
- Website recipes documentation is not aligned with repository docs
- Problems configuring cachetool
- Sentry Release/Deploy fails due to server response HOT 4
- Segmentation Fault / Slack Recipe / PHP 7.3
- Problem resolving CacheTool binary
- Catch-22: Deployer installs composer dependencies, but deployer/recipes is a dependency HOT 3
- Zulip recipe HOT 1
- releaseIsGitDirectory() needs to return 0 if it's not a git repo
- Rollbar notify do not work with --hosts option
- New cachetool release (5.X) breaks cachetool recipe expectations for PHP 7.1
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 recipes.