Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/opendevshop/devmaster
Drupal web interface for DevShop | READ-ONLY
https://github.com/opendevshop/devmaster
Rename DevShopGitHub::createDeployment() to DevShopGitHub::deploy()
843222e5e9711fa7a7ccfa180080e1b3f60c14d6 authored over 5 years ago
843222e5e9711fa7a7ccfa180080e1b3f60c14d6 authored over 5 years ago
Default auto_merge to false, so we don't have to deal with the failed deployment handling thing.
83685a1417b487b89fc026ac4af01ea8a70cab25 authored over 5 years ago
83685a1417b487b89fc026ac4af01ea8a70cab25 authored over 5 years ago
Fix lookup of existing deployment inside DevShopGitHub::createDeployment()
6309a6630d50581d2c4b7d918d00b25b468c8022 authored over 5 years ago
6309a6630d50581d2c4b7d918d00b25b468c8022 authored over 5 years ago
Skipping error deployment status when out of date, because we can't send any deployment status if we are out of date.
1bc8a890f2e02a4615ccd07e58216738e79bc070 authored over 5 years ago
1bc8a890f2e02a4615ccd07e58216738e79bc070 authored over 5 years ago
Trying a simpler approach: load github_deployment as a property of a task node.
c323b927f2a2f9ad55b7e2153fab033f9583a2e0 authored over 5 years ago
c323b927f2a2f9ad55b7e2153fab033f9583a2e0 authored over 5 years ago
Properly load github deployment into node.
439e917fd832e1b73852fbdbd4d480e3c0f3c5a5 authored over 5 years ago
439e917fd832e1b73852fbdbd4d480e3c0f3c5a5 authored over 5 years ago
Fix environment links on platform task pages.
91c15105c845519f6f359749994c82a1896bd392 authored over 5 years ago
91c15105c845519f6f359749994c82a1896bd392 authored over 5 years ago
Create GitHub deployment on "devshop-deploy" task only for now.
da39ac0d0a625fa7024f76d499090bc088a4f1d0 authored over 5 years ago
da39ac0d0a625fa7024f76d499090bc088a4f1d0 authored over 5 years ago
Fix schema: each task_nid gets one and only one deployment object associated with it. Multiple tasks can share a deployment ID. Do not store site nid, as that is associated via task_nid in hosting_task table.
e8f22bbab80e7b395b77071f35347e5d9c7b8e1c authored over 5 years ago
e8f22bbab80e7b395b77071f35347e5d9c7b8e1c authored over 5 years ago
Removing stray watchdog. Not sure why this one causes errors.
4b0d58d60e527e4d6ff8e6f98eb3622fe5155f51 authored over 5 years ago
4b0d58d60e527e4d6ff8e6f98eb3622fe5155f51 authored over 5 years ago
Remove "new" param, add "deployment_ID" param to createDeployment() method.
Removing extra createDeployment() calls.
Attempting to insert task argument for github_deployment...
Revert "Only run new deployment stuff on devshop-deploy tasks."
This reverts commit 82d4c726475d5e04f3519aa223200d0b755e1295.
de0a317d003c234e9fcc29b0b7b94a85c8c0874e authored over 5 years ago
Make sure pr_options is an array.
9985914994014fd91d98ca78fb0f0ce5cdca588c authored over 5 years ago
9985914994014fd91d98ca78fb0f0ce5cdca588c authored over 5 years ago
Pass deployment ID from task node to drush options.
dce865d393e7d0215f76dabe23cac028a7f9ee41 authored over 5 years ago
dce865d393e7d0215f76dabe23cac028a7f9ee41 authored over 5 years ago
Adding symlink so we dont have to use hook_hosting_features
010c30ce8c7af07f1e018241b41e07b2388ddcf3 authored over 5 years ago
010c30ce8c7af07f1e018241b41e07b2388ddcf3 authored over 5 years ago
Only run new deployment stuff on devshop-deploy tasks.
3b30caa66798a7c00f6d7477f291f85226a7a34a authored over 5 years ago
3b30caa66798a7c00f6d7477f291f85226a7a34a authored over 5 years ago
Fix loading of deployment objects from deployment data. Bad objects/array paths.
899d9cd35e0518a146353c6a91389fe308722118 authored over 5 years ago
899d9cd35e0518a146353c6a91389fe308722118 authored over 5 years ago
Create a new deployment status when new devshop-deploy tasks are created.
1bdb32ee3159fae7e31a47693d84ebc9af109821 authored over 5 years ago
1bdb32ee3159fae7e31a47693d84ebc9af109821 authored over 5 years ago
Throwing watchdog here threw the Typo3 phar protection error.
528da95f165a66a0bd82c6eab6f5c0a87c7254b2 authored over 5 years ago
528da95f165a66a0bd82c6eab6f5c0a87c7254b2 authored over 5 years ago
Force non-preview states.
636e814c3dc6f35c28e616442af0edcdfeccdd12 authored over 5 years ago
636e814c3dc6f35c28e616442af0edcdfeccdd12 authored over 5 years ago
Pass task_url to updated deployment status, and log to watchdog.
78f190f0335bb8c96820fd1e377ed2eadf93b928 authored over 5 years ago
78f190f0335bb8c96820fd1e377ed2eadf93b928 authored over 5 years ago
Don't send failure for QUEUED and PROCESSING task.
fc76942365ca9c0fbb2eedddac8b67f9a513e0d6 authored over 5 years ago
fc76942365ca9c0fbb2eedddac8b67f9a513e0d6 authored over 5 years ago
Set parameter to be a string.
eec048fb755cb41ab48b0d9c77143bcfd1b2d803 authored over 5 years ago
eec048fb755cb41ab48b0d9c77143bcfd1b2d803 authored over 5 years ago
Add a function to detect actual git ref: devshop_environment_get_git_ref_type(), use in deploy to ensure we know the git ref type, so git pull triggers.
760a72c1577aad56c94a817870a7ee8ccc58f476 authored over 5 years ago
760a72c1577aad56c94a817870a7ee8ccc58f476 authored over 5 years ago
Improve deployment description and method of loading hostmaster URI.
c2bcbd6673fc4e154b4a248a130a26c0b7ef1579 authored over 5 years ago
c2bcbd6673fc4e154b4a248a130a26c0b7ef1579 authored over 5 years ago
Don't load dashboard URL in createDeployment, we do that globally now.
b1d500b670aaf74f9662f9e8b4c7275f8fa473fe authored over 5 years ago
b1d500b670aaf74f9662f9e8b4c7275f8fa473fe authored over 5 years ago
Fix loading of environment deployments.
b4ab14549b550014b8301156ed6c304ec6a62396 authored over 5 years ago
b4ab14549b550014b8301156ed6c304ec6a62396 authored over 5 years ago
Load the environment dashboard URL as a property into environments.
94b697ce77e53b5bf093e327f8c50ab28e0f19d6 authored over 5 years ago
94b697ce77e53b5bf093e327f8c50ab28e0f19d6 authored over 5 years ago
Make sure github_deployments is an array.
3610b4d41c88f179419dfc21503587a3a978c9a3 authored over 5 years ago
3610b4d41c88f179419dfc21503587a3a978c9a3 authored over 5 years ago
Make sure to post status for completed deploy tasks.
28673928f1cc93f2d1ffda377089bac7fc435b0b authored over 5 years ago
28673928f1cc93f2d1ffda377089bac7fc435b0b authored over 5 years ago
Commit refactor of devshop_github.
f26b3fb47e5b4f7e8adea199ea873ab3b6496c20 authored over 5 years ago
f26b3fb47e5b4f7e8adea199ea873ab3b6496c20 authored over 5 years ago
Set branch from platform git_ref if not set.
3f97d1a138cebf15f16d39beec4fe952f5d522fa authored over 5 years ago
3f97d1a138cebf15f16d39beec4fe952f5d522fa authored over 5 years ago
Add function devshop_environment_get_git_sha() for getting the SHA.
9fdd70b1d952a3c96d02631bb926177f2292ae19 authored over 5 years ago
9fdd70b1d952a3c96d02631bb926177f2292ae19 authored over 5 years ago
Handle non-array task args.
7715d2d338ca5ccf371aeddbea9793c39c6b9510 authored over 5 years ago
7715d2d338ca5ccf371aeddbea9793c39c6b9510 authored over 5 years ago
Switch the order of "environment" and "project" properties so that "environment" shows up first in debug and devel.
f6b384b57d9409fc3302b058b1a860a683759745 authored over 5 years ago
f6b384b57d9409fc3302b058b1a860a683759745 authored over 5 years ago
Load new $environment->github_deployments property. Create a saveDeployment() method.
bb6cb67084d2b94113c79d5225314764e01d8680 authored over 5 years ago
bb6cb67084d2b94113c79d5225314764e01d8680 authored over 5 years ago
Load list of deployments in the node.
abe17e3d6a3deaacef9c2e226ce49e78c594b7ba authored over 5 years ago
abe17e3d6a3deaacef9c2e226ce49e78c594b7ba authored over 5 years ago
Remove deployment_id from save_pr_env_data function.
dbd67b84b04a866035e3a12ffbce71d78cc370ac authored over 5 years ago
dbd67b84b04a866035e3a12ffbce71d78cc370ac authored over 5 years ago
Add deploy task form submit hook to trigger deployment creation.
2dc429464506af56c849f2e232f281dfa105ad37 authored over 5 years ago
2dc429464506af56c849f2e232f281dfa105ad37 authored over 5 years ago
Change the schema, just associate deployments to site nid.
fad959435c1d563ee1cb1f4bad4bbcf349c4989d authored over 5 years ago
fad959435c1d563ee1cb1f4bad4bbcf349c4989d authored over 5 years ago
Add environment name schema field.
f286710d1b29a8a5a45c5c184ec2ebb91880c513 authored over 5 years ago
f286710d1b29a8a5a45c5c184ec2ebb91880c513 authored over 5 years ago
Create a new table to track deployments.
0772f28cba4c824ababd55c85434d89763ccd907 authored over 5 years ago
0772f28cba4c824ababd55c85434d89763ccd907 authored over 5 years ago
Add TODO
ad24176fbbca9c2e1ce5be848718ab024cfd247c authored over 5 years ago
ad24176fbbca9c2e1ce5be848718ab024cfd247c authored over 5 years ago
Use drush_log, not print.
18aed9f70d15ba78c9485b8d73c7b16d611170c8 authored over 5 years ago
18aed9f70d15ba78c9485b8d73c7b16d611170c8 authored over 5 years ago
Improve watchdog logging for exceptions.
b31ed0d62652bcb155495a7d61f4098dc4bde298 authored over 5 years ago
b31ed0d62652bcb155495a7d61f4098dc4bde298 authored over 5 years ago
Comment out createDeployment because it's done in hosting_create_environment now.
b299c6c4084aa40bbfbffb9c406b3f88221627bc authored over 5 years ago
b299c6c4084aa40bbfbffb9c406b3f88221627bc authored over 5 years ago
Don't check deleted sites.
a8c54f65e4e0990977598b3688c62e3439c37088 authored over 5 years ago
a8c54f65e4e0990977598b3688c62e3439c37088 authored over 5 years ago
Don't load deleted environments into $project->environments
bd1af227a5568d4863b6d34c40036a5087a582f6 authored over 5 years ago
bd1af227a5568d4863b6d34c40036a5087a582f6 authored over 5 years ago
Adding another comment.
7b21a9485ab462eeb175a1ca41fe355e3aa3a411 authored over 5 years ago
7b21a9485ab462eeb175a1ca41fe355e3aa3a411 authored over 5 years ago
Add TODO comment for creating a new deployment.
39dc554bcfc143b2588882a762cfb663aa2c97e1 authored over 5 years ago
39dc554bcfc143b2588882a762cfb663aa2c97e1 authored over 5 years ago
Add a hook to react to hosting_create_environment()
3e37d7fcce735be5e93d9ed3f89cd2df387769e7 authored over 5 years ago
3e37d7fcce735be5e93d9ed3f89cd2df387769e7 authored over 5 years ago
Create deployment on environment form submit using forms API.
4fe9be18c0f6b2a5c8bc765440cbaef05463f28d authored over 5 years ago
4fe9be18c0f6b2a5c8bc765440cbaef05463f28d authored over 5 years ago
Adding drush command for setting statuses so we can debug DevShopGitHubApi object.
1f688ff16aec438ffeec95943963fa247cc983e8 authored over 5 years ago
1f688ff16aec438ffeec95943963fa247cc983e8 authored over 5 years ago
Fix the problem of redirecting to node/0 if a site doees not actually have a project.
e8dd1ba02267a0270e03a91c1afa39def7b6c440 authored over 5 years ago
e8dd1ba02267a0270e03a91c1afa39def7b6c440 authored over 5 years ago
Default the composer command to the provision one: provision_composer_install_command.
8b744bc879f0dde266df0d8af2cd5821239c536f authored over 5 years ago
8b744bc879f0dde266df0d8af2cd5821239c536f authored over 5 years ago
Fixes #382: don't block loading devshop project and environoment status for deleted sites or platforms.
a138bcfab1a86b3705b0618bf2427b7ebe659515 authored over 5 years ago
a138bcfab1a86b3705b0618bf2427b7ebe659515 authored over 5 years ago
Load github_owner and github_repo as properties into environment, and move all github owner parsing code to projects.inc.
239bee2757949b7ceffbdda1cb73f2ce0f2645f2 authored over 5 years ago
239bee2757949b7ceffbdda1cb73f2ce0f2645f2 authored over 5 years ago
Load github_owner and github_repo as properties into environment.
773ccc75e5a3518e21498fa48a0a70403871eb45 authored over 5 years ago
773ccc75e5a3518e21498fa48a0a70403871eb45 authored over 5 years ago
Fix uri property passed to deployment status.
c8c95bfae065b258fbb8ebceab9c4319a5a10670 authored over 5 years ago
c8c95bfae065b258fbb8ebceab9c4319a5a10670 authored over 5 years ago
Add watchdog of deployment_status_data.
ad86832bd5bd3fde3b73fa1823212e67c52fdbda authored over 5 years ago
ad86832bd5bd3fde3b73fa1823212e67c52fdbda authored over 5 years ago
Adding DevShopGitHubAPI::updateDeploymentId() method for quickly updating latest deployment ID.
4aefcc5d3210a887c6e4e6bcff57de35164e5eb8 authored over 5 years ago
4aefcc5d3210a887c6e4e6bcff57de35164e5eb8 authored over 5 years ago
Fix post() params from new Guzzle.
c6deb745a5a5682afa6eeda13c6fd65a71097f2d authored over 5 years ago
c6deb745a5a5682afa6eeda13c6fd65a71097f2d authored over 5 years ago
Use HTTP_HOST for devmaster_url.
762430cd9f6e87cef122fcd21678ded7a2768d91 authored over 5 years ago
762430cd9f6e87cef122fcd21678ded7a2768d91 authored over 5 years ago
Add "deployment id" to devshop_github_save_pr_env_data().
860cc6d2f8394f944fe1fc636cd55e431dbebb09 authored over 5 years ago
860cc6d2f8394f944fe1fc636cd55e431dbebb09 authored over 5 years ago
Add "last_deployment_id" to environment PR data table.
d6a495b015c4c823718ac93553781a80da7cd868 authored over 5 years ago
d6a495b015c4c823718ac93553781a80da7cd868 authored over 5 years ago
Catch errors when looking up PRs in site add form.
79e42630b4b95a19ec1abd549167392f66863aad authored over 5 years ago
79e42630b4b95a19ec1abd549167392f66863aad authored over 5 years ago
comment out PR data saving.
bc72d917738320258a3c2290e43f78bd9dd75914 authored over 5 years ago
bc72d917738320258a3c2290e43f78bd9dd75914 authored over 5 years ago
Add "state" parameter to createDeployment() function.
271b7581b9a48068a8450e29029f45201cd44dd1 authored over 5 years ago
271b7581b9a48068a8450e29029f45201cd44dd1 authored over 5 years ago
Add "sha" as property, so we can use it if we know it.
9486aebb0eb2c982e7340754476a9063db4b1441 authored over 5 years ago
9486aebb0eb2c982e7340754476a9063db4b1441 authored over 5 years ago
Make log_url param optional.
4b89f24a130cef2da3efeb75ab6d112b35ba0223 authored over 5 years ago
4b89f24a130cef2da3efeb75ab6d112b35ba0223 authored over 5 years ago
Check for "import" property and trigger "import" method.
a9f16cd9ca4caee245c97a11c04a53e36f453c29 authored over 5 years ago
a9f16cd9ca4caee245c97a11c04a53e36f453c29 authored over 5 years ago
Fix bad hosting-import on projects: When normalizing environment object,
"settings" might be an array key, not a property!
145bf8a120755e988d76d173307c7f5c9d3eb8e8 authored over 5 years ago
Merge cleanup
50854667e47b9849acc675c935b471a2453d70b8 authored over 5 years ago
50854667e47b9849acc675c935b471a2453d70b8 authored over 5 years ago
Adding DevShopGitHubApi class to hold all the API logic.
c9381d03c060a5531ed192a741f4c65211fb30f0 authored over 5 years ago
c9381d03c060a5531ed192a741f4c65211fb30f0 authored over 5 years ago
Add "dashboard_url" property to environments.
6a682f023ba32832ee77fe959846d76efff1b417 authored over 5 years ago
6a682f023ba32832ee77fe959846d76efff1b417 authored over 5 years ago
Move hooks node update and insert so they are next to each other.
e37fc19f72120ec0673f0ba785b48f731534c057 authored over 5 years ago
e37fc19f72120ec0673f0ba785b48f731534c057 authored over 5 years ago
Add DRUSH_ALIAS as an environment variable.
4f8db665e9c687869a58d9a1f1986748fc8b9826 authored over 5 years ago
4f8db665e9c687869a58d9a1f1986748fc8b9826 authored over 5 years ago
Forgot to load $env in dothooks call!
028f72556be42211afc797e0d64a470935e123fa authored over 5 years ago
028f72556be42211afc797e0d64a470935e123fa authored over 5 years ago
Normalize environment on import.
46b7b48e0968727b52eb51817ed52fc43acf909e authored over 5 years ago
46b7b48e0968727b52eb51817ed52fc43acf909e authored over 5 years ago
Allow SQL imported environments to exist if the file is not accessible.
Otherwise the install fails and the site is stuck because we do not yet
allow editing the install...
Only throw warnings if an SQL import fails, but allow users to configure drush to still fail the install if needed for their use case.
47202125b3528eddff9efce5bc91382a521d0997 authored over 5 years ago
47202125b3528eddff9efce5bc91382a521d0997 authored over 5 years ago
Fix missing last task entries after environment creations.
f64a0be8f24264af1432e82f42e3a6ee90d7bd5c authored over 5 years ago
f64a0be8f24264af1432e82f42e3a6ee90d7bd5c authored over 5 years ago
Create a devshop_environment_normalize() function to deal with array/object changes across situations.
e92fd9584c714ba66a493dbdc025294dc0bb9b42 authored over 5 years ago
e92fd9584c714ba66a493dbdc025294dc0bb9b42 authored over 5 years ago
LOL SO TIRED... wrong params.
f0934a9045737eb58fb499b27b993b7fa3da5361 authored over 5 years ago
f0934a9045737eb58fb499b27b993b7fa3da5361 authored over 5 years ago
Refactor the github queue to be more clear.
db088fcbc074604338139c5f0d98ff435046ccf4 authored over 5 years ago
db088fcbc074604338139c5f0d98ff435046ccf4 authored over 5 years ago
You ALWAYS must use alternative $remote_url when CLONING an environment,
not just when installing. And this is why you sleep.
20073debd77d35e90313c000bb9f5cb1f34dd6d5 authored over 5 years ago
"Create additional environments".
dee9373a7a713674ebdbda8998be3aa5bb3bd6ff authored over 5 years ago
dee9373a7a713674ebdbda8998be3aa5bb3bd6ff authored over 5 years ago
Show a specific error when the drupal site is not found in the path.
8da4e717b22a938bbfbea1cba37d2681cbca351a authored over 5 years ago
8da4e717b22a938bbfbea1cba37d2681cbca351a authored over 5 years ago
Give user information about their PRs.
59992e4d0c47de406bd0288adbb68193d7a763f0 authored over 5 years ago
59992e4d0c47de406bd0288adbb68193d7a763f0 authored over 5 years ago
Enable PR environments by default if open PRs were found.
16532f7b726777ecd7b98b91353462237246eabf authored over 5 years ago
16532f7b726777ecd7b98b91353462237246eabf authored over 5 years ago
Put GitHub settings at the top.
06b0403e3dff307cc62e4362be4cd703fa1b7b78 authored over 5 years ago
06b0403e3dff307cc62e4362be4cd703fa1b7b78 authored over 5 years ago
Make sure to check site is enabled before triggering a new deploy task.
ca34468f43b2e1abc47002193608702caeb1123a authored over 5 years ago
ca34468f43b2e1abc47002193608702caeb1123a authored over 5 years ago
Add yaml 3.
d35718dff01e36a90eb08248546eb6688bb06f49 authored over 5 years ago
d35718dff01e36a90eb08248546eb6688bb06f49 authored over 5 years ago
Revert "Preserve environment settings array structure when converting to object."
This reverts commit 836f80037e29ccf063596499a66baca2fd816fd6.
7f9e875f66f41b03660eb4b2d113956783f65c47 authored over 5 years ago
Revert "Ensure this thing is an object before accessing it like one."
This reverts commit 2ab58469ef27d1c800303f938104d2626b8860ff.
527dc1548054cbb6c5fcc445f1b099fa69bafad8 authored over 5 years ago
Prevent notices.
a4e8ee4e18b6e078c98e5d17aaed6cb8cd730f0d authored over 5 years ago
a4e8ee4e18b6e078c98e5d17aaed6cb8cd730f0d authored over 5 years ago
Ensure this thing is an object before accessing it like one.
90aff54151cee6ca5dca1a9d944c6e085b0915ac authored over 5 years ago
90aff54151cee6ca5dca1a9d944c6e085b0915ac authored over 5 years ago
Comment out WIP.
e94318cc36e73d0f7f447f3b4bdb489890fb2ff2 authored over 5 years ago
e94318cc36e73d0f7f447f3b4bdb489890fb2ff2 authored over 5 years ago
Update Yaml parser compatibility.
68d0739b0862502c7c57748d9e16360743571b50 authored over 5 years ago
68d0739b0862502c7c57748d9e16360743571b50 authored over 5 years ago
Removing devshop github modules composer.json, since we know devmaster will include the github api.
853a786a35e29560d1c11212d060d5c7d2f87640 authored over 5 years ago
853a786a35e29560d1c11212d060d5c7d2f87640 authored over 5 years ago