Skip to content
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

Use "Chosen" library for branch or tag widgets. #156

Open
wants to merge 4,243 commits into
base: 7.x-1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4243 commits
Select commit Hold shift + click to select a range
cc010f8
Use correct site and platform nids.
jonpugh Dec 4, 2018
d6ef58d
Reset last tasks after importing.
jonpugh Dec 4, 2018
cf6a70c
Fix devshop_reset_last_tasks()
jonpugh Dec 4, 2018
1f0dd5a
Fix devshop_reset_last_tasks() function.
jonpugh Dec 4, 2018
47dbe58
Revert "Bump bootstrap version."
Dec 4, 2018
690785e
Run hosting tasks one more time? hoping that fixes the failing upgrad…
jonpugh Dec 4, 2018
16dd87f
Merge branch 'devshop-support' of github.com:opendevshop/devmaster in…
jonpugh Dec 4, 2018
c8ea2d0
Revert "Revert "Bump bootstrap version.""
jonpugh Dec 4, 2018
b0a7070
Update admin_menu to 3.0-rc6!
jonpugh Dec 4, 2018
09e7dbf
Enable devshop permissions module by default.
jonpugh Dec 4, 2018
c408e8f
Merge branch 'composer-consolidation' of github.com:opendevshop/devma…
jonpugh Dec 4, 2018
94d6ec2
Add a drush hook to trigger composer install in devmaster profile on …
jonpugh Dec 4, 2018
7e18b2a
Deleting vendor code
jonpugh Dec 4, 2018
16a31ca
Removing devmaster.install file, update hooks in other module.
jonpugh Dec 4, 2018
2c5a615
Enable composer manager, devshop permissions, and intercom IO on devs…
jonpugh Dec 4, 2018
449a87d
Fix comment for post updatedb hook.
jonpugh Dec 4, 2018
6415e11
Enable composer_manager by default and use drush_composer_manager() t…
jonpugh Dec 4, 2018
ae9f5c6
Bumping minimum PHP version.
jonpugh Dec 4, 2018
45271e9
Removing vendor code from devshop_github now that we use composer_man…
jonpugh Dec 4, 2018
623f9f5
Don't autobuild composer.json on module enable through web.
jonpugh Dec 4, 2018
213bb09
No longer need to require vendor.
jonpugh Dec 4, 2018
a849892
Last autoload include?
jonpugh Dec 4, 2018
babb7b9
REmove drush_composer_manager() call from profile.
jonpugh Dec 4, 2018
9444fcf
Fixing automated composer install for devmaster! no more vendor code …
jonpugh Dec 4, 2018
dede933
Remove autoloader.
jonpugh Dec 4, 2018
f66fe92
Hah! don't forget composer manager.
jonpugh Dec 4, 2018
c7442ef
Remove autoloader again!
jonpugh Dec 4, 2018
7c8c6ca
Remove variable set from profile.
jonpugh Dec 4, 2018
892a604
Remove autoloader.
jonpugh Dec 4, 2018
6f12fde
Add log message to composer install.
jonpugh Dec 5, 2018
73d1301
Skip composer-manager install command, just use the command to build …
jonpugh Dec 5, 2018
06bdfc9
Don't use "cas_name" for intercom name.
jonpugh Dec 5, 2018
5e0485b
Put back hook_intercomio_settings_alter() so we don't override user_id.
jonpugh Dec 5, 2018
b27b2e3
Load servers list without node access so we don't throw errors as dif…
jonpugh Dec 5, 2018
215d1e5
Update permissions for authenticated users.
jonpugh Dec 5, 2018
73a2ae9
Make sure all calls to hosting_get_Servers get access skipped.
jonpugh Dec 5, 2018
91520ee
Export more permissions.
jonpugh Dec 5, 2018
457f0a0
Move custom things to a variables array so we can set any variable we…
jonpugh Dec 5, 2018
6f62d65
Add patch to make client optional
jonpugh Dec 5, 2018
d6bde33
Make an easier function name to use to trigger a license check.
jonpugh Dec 5, 2018
0fe7de7
Use hosting 3.x to get all the latest goodies.
jonpugh Dec 5, 2018
f31665e
Remove patch for hosting https
jonpugh Dec 5, 2018
23a1980
Fixing patch entries.
jonpugh Dec 5, 2018
4981fff
Removing composer_autoloader
jonpugh Dec 6, 2018
b1c14c3
Removing unused projects from make file.
jonpugh Dec 6, 2018
c4c80e8
Fix improper composer manager file dir settings.
jonpugh Dec 6, 2018
628a4a6
Bump features version.
jonpugh Dec 6, 2018
0556863
Move cas library check to install hooks.
jonpugh Dec 6, 2018
79f0e79
Make sure clients aren't required.
jonpugh Dec 6, 2018
459e1e1
override bad hosting module CSS.
jonpugh Dec 6, 2018
40aa57f
Make the support admin settings easier to find by adding "_form"
jonpugh Dec 10, 2018
a91ce86
Allow changing project default git url.
jonpugh Dec 11, 2018
1d0eeb0
Fix missing response return for localhost.
jonpugh Dec 11, 2018
824098b
RE-do the devshop support settings page to reflect cloud vs non-cloud…
jonpugh Dec 11, 2018
74f17e2
Handle return from devshop.support with key and cleanup output a bit.
jonpugh Dec 11, 2018
72eb34c
Remove CAS dependency: we will enable everything on license activation.
jonpugh Dec 11, 2018
ffb4bd3
Add hosting_statsd to devshop makefile.
jonpugh Dec 11, 2018
b7058f3
Move module enabling to the license key check function.
jonpugh Dec 11, 2018
773a89a
Move enabling of modules to the license status update.
jonpugh Dec 11, 2018
a2793db
Remove "https", not needed.
jonpugh Dec 11, 2018
a0a43b7
Clear caches after license update in case modules were updated, etc.
jonpugh Dec 11, 2018
c0ffefd
No longer need to alter user ID, it's configurable.
jonpugh Dec 11, 2018
2dfa4b7
Use 1.0-beta1 release of intercom.
jonpugh Dec 12, 2018
2b192c9
Add token to devshop.
jonpugh Dec 12, 2018
947b409
Fix cas_attributes to 1.0-rc3
jonpugh Dec 12, 2018
1dd2529
Clear drush caches before trying to run composer-json-rebuild.
jonpugh Dec 12, 2018
ca0c38e
Variables coming over devshop support client are JSON so they are obj…
jonpugh Dec 12, 2018
3421527
Don't alter access for devshop/tasks please.
jonpugh Dec 12, 2018
bff6f62
Use cas_name for intercom user_id.
jonpugh Dec 12, 2018
39f97d9
Enable composer_manager on devshop_hosting upgrade, otherwise invokin…
jonpugh Dec 12, 2018
fb0bccd
pin versions of hosting_statsd and intercomio modules.
jonpugh Dec 12, 2018
945d14a
Oops! Use cas_user when using cas_user.
jonpugh Dec 12, 2018
dd4f423
Oops! Use cas_user when using cas_user. 12 hour shift!
jonpugh Dec 12, 2018
86d407b
No need for the username in the link right now.
jonpugh Dec 12, 2018
8f758f9
Use yml 3 to be compatible with ansible module.
jonpugh Dec 12, 2018
c1f1093
Hide login links if network license is not active.
jonpugh Dec 12, 2018
16227f8
Remove css that made mobile menu dreadful.
jonpugh Dec 12, 2018
92dab25
Fixing mobile navigation!!
jonpugh Dec 12, 2018
70bcff7
Adding navbar libraries to the makefile.
jonpugh Dec 12, 2018
77815a3
Slow down there on the copy paste, tex.
jonpugh Dec 12, 2018
3c346d2
Disable admin menu, enable navbar!
jonpugh Dec 12, 2018
ad41098
Replacing admin_menu with navbar in the install profile.
jonpugh Dec 12, 2018
a8f4f51
Adding Reset button to git status popup.
jonpugh Dec 12, 2018
afbd8e9
Adding another hosting patch.
jonpugh Dec 12, 2018
eff6155
whitespace.
jonpugh Dec 12, 2018
6b8e367
Switch to devshop-support branch in travis for main devshop repo.
jonpugh Dec 12, 2018
0fbf417
CAS library will always be in sites/all/libraries/cas, let's just go …
jonpugh Dec 13, 2018
b6a494a
use CAS for the drush make name so it matches the default cas library…
jonpugh Dec 13, 2018
e644137
Run composer update for devshop composer manager.
jonpugh Dec 13, 2018
9d878e0
cas_name, not cas_user.
jonpugh Dec 13, 2018
4328f97
Add administer servers issue.
jonpugh Dec 13, 2018
6b8dfad
move license code to separate file.
jonpugh Dec 13, 2018
d75cbec
Set new variable preventing importing of sites on platform verify.
jonpugh Dec 13, 2018
7d27383
Add patch to make site import optional.
jonpugh Dec 13, 2018
87801eb
Replace /user/logout with a redirect to /caslogout if user is cas aut…
jonpugh Dec 13, 2018
1a80ed9
Wrong check. Must have phpCAS session variable.
jonpugh Dec 13, 2018
c32328e
Add cas module patch for libraries issue.
jonpugh Dec 13, 2018
dbbc058
Send users to the "bye" page.
jonpugh Dec 13, 2018
a5e75b9
Fix cas logout destination and set cas_check_frequency.
jonpugh Dec 13, 2018
6887957
Comment out screwing with the cas form.
jonpugh Dec 13, 2018
0fe92e9
Still trying to fix CAS! ... hard code this, so it's set before first…
jonpugh Dec 13, 2018
ea8aba1
Change variable loading strategy.
jonpugh Dec 13, 2018
00dfcf3
Fix variable merge.
jonpugh Dec 13, 2018
90df8f2
Fix links so devshop_support_url never includes http://
jonpugh Dec 13, 2018
40bf2a2
inspect response data.
jonpugh Dec 13, 2018
70740c4
fix variables loading, it's an object.
jonpugh Dec 13, 2018
b8fd6f1
Add log of context, there might be errors in there.
jonpugh Dec 13, 2018
6efd9a0
Reset context each for loop, and log the account loaded.
jonpugh Dec 13, 2018
dfd5495
Convert data back to object.
jonpugh Dec 13, 2018
766e14c
Trying fix our user creation. Not working on dawn for some reason??
jonpugh Dec 13, 2018
00eab14
Removing extra watchdogs.
jonpugh Dec 13, 2018
6dab652
removing accidentally committed dsm.
jonpugh Dec 13, 2018
36823b4
enable HTTPS on license check.
jonpugh Dec 13, 2018
0c3a5dd
Set cas_login_message.
jonpugh Dec 13, 2018
2bb3789
Add fix_permissions and fix_ownership modules back in now that script…
jonpugh Dec 14, 2018
06dc408
Revert "Add fix_permissions and fix_ownership modules back in now tha…
jonpugh Dec 14, 2018
327b5ab
Going back to 1.x branch.
jonpugh Dec 14, 2018
6351fff
Merge pull request #141 from opendevshop/devshop-support
jonpugh Dec 14, 2018
ff7b782
Merge branch 'devshop-support' into 7.x-1.x
jonpugh Dec 14, 2018
30e89bb
Check for access to task before printing link to it.
jonpugh Dec 15, 2018
a73250b
On the environment widget, show when a platform failed verifying befo…
jonpugh Dec 15, 2018
a270b68
Removing old commented out code.
jonpugh Dec 15, 2018
9479353
Updating to hosting 3.170
jonpugh Dec 20, 2018
195f3e3
Merge pull request #142 from opendevshop/aegir-3.17.0-update
jonpugh Dec 20, 2018
d3ee6d2
Something might be wrong. Can't get this to install.
jonpugh Dec 20, 2018
9de4a44
Revert "Something might be wrong. Can't get this to install."
jonpugh Dec 20, 2018
740929d
Move modernizer to build-devmaster.make for now since it's not whitel…
jonpugh Jan 9, 2019
30dd036
Add test of makefile using drupalorg_drush to ensure drupal.org won't…
jonpugh Jan 10, 2019
d8ca84a
Fix dl of drupalorg_drush
jonpugh Jan 10, 2019
6544c48
Fix makefile spec, use "tag" instead of "version".
jonpugh Jan 10, 2019
78a5cc4
Change # comments to ; comments so drupalorg_drush doesn't complain.
jonpugh Jan 10, 2019
15e7955
Merge pull request #143 from opendevshop/test-drupalorg-drush
jonpugh Jan 10, 2019
82d0001
Use patches instead of branches or tags for hosting fixes.
jonpugh Jan 10, 2019
fb31869
Bumping versions of hosting_https and eldir.
jonpugh Jan 10, 2019
ef46b4a
Bumping to Drupal core 7.62
jonpugh Jan 16, 2019
1cf4775
Use drupal-core-updates branch so we are testing the right version of…
jonpugh Jan 16, 2019
d4fe261
Bumping Drupal to 7.63
jonpugh Jan 17, 2019
b6f317b
When path to drupal is updated, update existing platforms and verify …
jonpugh Feb 20, 2019
8b034cc
Line height fixes gaps in console blocks.
jonpugh Feb 21, 2019
ab8c0d9
Merge pull request #144 from opendevshop/drupal-core-updates
jonpugh Feb 28, 2019
8b8af4c
Revert "Use drupal-core-updates branch so we are testing the right ve…
jonpugh Feb 28, 2019
c39d244
Drupal core 7.64
jonpugh Feb 28, 2019
0a7683d
Bumping views and ctools versions.
jonpugh Mar 14, 2019
7697a2b
Fix the license key form when hosted on *devshop.cloud
jonpugh Mar 15, 2019
8661244
Bumping bootstrap module.
jonpugh Mar 15, 2019
98ad1fa
Rework devshop client data. Load projects. Render the payload on the …
jonpugh Mar 19, 2019
1d82eeb
Avoid notice before version is available.
jonpugh Mar 19, 2019
abdff0d
Don't forget $devshop_hostname.
jonpugh Mar 19, 2019
e833144
Switch to log in button to say "DevShop.Cloud", use t()
jonpugh Mar 21, 2019
874441d
Include detection of cas module. If it is disabled, devshop support c…
jonpugh Mar 21, 2019
722efd0
Don't show limits output if there is no data.
jonpugh Mar 21, 2019
41c3467
Only show the "who manages" message if there is team data
jonpugh Mar 21, 2019
1476ae0
Adding remove license key button.
jonpugh Mar 21, 2019
c6a5fe9
Clean up the GitHub settings page:
jonpugh Mar 21, 2019
bb8d0cc
Add a DevShop Settings link to the footer menu.
jonpugh Mar 21, 2019
5f83161
Add advanced fieldset to the devshop support settings page.
jonpugh Mar 21, 2019
409c0d8
Change the test to match the code.
jonpugh Mar 21, 2019
4a76108
Remove all special characters and force lowercase in browser and on s…
jonpugh Mar 25, 2019
697cad9
Reformat the Create Project page.
jonpugh Mar 25, 2019
3f1fa3e
Put Git URL first, and use the git url name as the project name!
jonpugh Mar 25, 2019
df4f535
Putting a wait on step 2 and fixing to work there. Now we can clone a…
jonpugh Mar 25, 2019
3bdec7f
Add a view logs button to the wait form.
jonpugh Mar 25, 2019
081cf29
Put the errors on top of the page.
jonpugh Mar 25, 2019
bc338f0
Don't pull right, fix connect description.
jonpugh Mar 25, 2019
960e023
Don't pull right.
jonpugh Mar 25, 2019
c946cd3
Cleaning up messaging output for both non-github users, for github us…
jonpugh Mar 25, 2019
6f7631f
make sure missing token warning is displayed.
jonpugh Mar 25, 2019
20de820
Update drupal core.
jonpugh Mar 26, 2019
e66e194
Standardize github ssh key check on new project and github settings p…
jonpugh Mar 26, 2019
31cd347
Cleanup tips on project create page.
jonpugh Mar 26, 2019
aa7b964
Load the list of the user's repos for easy deployment! Create's a "Re…
jonpugh Mar 26, 2019
74dda9a
Automatically set the project code name from the github repo name!
jonpugh Mar 26, 2019
ea73675
Save value from select box to git_url field.
jonpugh Mar 26, 2019
96501ec
Clarify steps. We aren't cloning yet. SOON!
jonpugh Mar 26, 2019
aee2e58
Set default value and ensure proper value checking.
jonpugh Mar 26, 2019
f2e5bd1
Adding chosen module and library, removing pre-rendering from the git…
jonpugh Mar 26, 2019
2033f3d
Tsk tsk, copy paste
jonpugh Mar 26, 2019
2870374
Refactor the GitHub settings page and the warning on the create proje…
jonpugh Mar 29, 2019
d2b418e
Fix the tests to match the new skipping of step 2 until the project v…
jonpugh Apr 3, 2019
369ce6b
Wait for step 2 on this test too.
jonpugh Apr 3, 2019
c4af89a
Fix test, maybe last one?
jonpugh Apr 3, 2019
33a06aa
Load list of organizations the token has permission to create repos in.
jonpugh Apr 3, 2019
6d5e259
Add ability to Create a new repo. Loads the users allowed github orga…
jonpugh Apr 3, 2019
6fb5b02
Moving Source Chooser to main step 1 code. Allow modules to provide a…
jonpugh Apr 4, 2019
a10f5ad
Set selector for chosen so invisible selects get behavior attached.
jonpugh Apr 4, 2019
19955ef
Set selector for chosen so invisible selects get behavior attached.
jonpugh Apr 4, 2019
110681a
Make text consistent and clean up style
jonpugh Apr 4, 2019
292b056
select visible must be there I guess, chosen breaks when attaching to…
jonpugh Apr 4, 2019
8e7b319
Make field names more consistent.
jonpugh Apr 4, 2019
19433f1
Use javascript settings to allow multiple fields to automatically cho…
jonpugh Apr 4, 2019
42613d2
Set value when using existing git repo.
jonpugh Apr 4, 2019
f94f2ac
"Source Code" makes more sense.
jonpugh Apr 4, 2019
0bddb73
Create repo from DevShop!! Add public checkbox to create repo field!
jonpugh Apr 4, 2019
d08883b
Use the fork of chosen.
jonpugh Apr 4, 2019
00da428
Add ability to populate the new github repo
jonpugh Apr 4, 2019
896e4b2
Fix code population radios.
jonpugh Apr 4, 2019
e408113
Suggest repos as well! click to choose source.
jonpugh Apr 4, 2019
87d5824
Moving settings around on create projects form so we can save to proj…
jonpugh Apr 4, 2019
0066759
sa "unable to find" branches, it's more clear.
jonpugh Apr 4, 2019
ff36d3f
Save project settings from Step 1
jonpugh Apr 4, 2019
42f256c
Fix default composer project.
jonpugh Apr 4, 2019
324fce2
Fix incorrectly displaying "Refreshing..." UI. Check exact integer 0.…
jonpugh Apr 4, 2019
312349c
Hook into the check for branches to create a brand new repo.: if ther…
jonpugh Apr 4, 2019
6057a1d
Add a spinner.
jonpugh Apr 4, 2019
2ec90dd
Use CSS to remove form-control from chosen elements so it fits in vis…
jonpugh Apr 4, 2019
718bc11
Comment out Exception message that doesn't actually break the API call.
jonpugh Apr 4, 2019
7a1b461
better text.
jonpugh Apr 4, 2019
baba2ee
Remove dsm
jonpugh Apr 4, 2019
a23f0f8
Change the "suggested repos" to a fixed list.
jonpugh Apr 4, 2019
ca4b53d
Use select lists and textfields instead of clicking list items.
jonpugh Apr 4, 2019
9e7e099
Set values for URL and project when select is not set to custom.
jonpugh Apr 4, 2019
e2e7f02
Save git _source in project settings.
jonpugh Apr 4, 2019
6fd4c8e
Fix loading of repo options.
jonpugh Apr 4, 2019
78e031b
Properly import from a git URL.
jonpugh Apr 5, 2019
1656665
Remove clone dir on next verify of project to reduce confusion.
jonpugh Apr 5, 2019
7cfc7e0
Removing temporary git repo.
jonpugh Apr 5, 2019
2b74aa5
Change "Path to Drupal" to "Document Root"
jonpugh Apr 5, 2019
ac88c7a
Change "Default Environment Settings" to "Server Stack"
jonpugh Apr 5, 2019
9326a04
add classes to make organization select look good.
jonpugh Apr 5, 2019
785b09d
Add settings page for suggested projects and git urls list.
jonpugh Apr 5, 2019
36e5b6c
Show git repo source form, hiding until project name was confusing.
jonpugh Apr 5, 2019
30870e0
Check for errors in the composer create project process and don't pro…
jonpugh Apr 5, 2019
c4f1301
Fix ansi box line height everywhere.
jonpugh Apr 5, 2019
b8c3ba3
Reorganizing. Looking good!
jonpugh Apr 5, 2019
fa2ddf2
Fixing bad reset of document root to platforms in create wizard.
jonpugh Apr 5, 2019
5a46664
Re-load branches and tags after creating the repo.
jonpugh Apr 8, 2019
ad880f3
Fix subtitle links on platform node pages.
jonpugh Apr 8, 2019
d6a1e6a
Fix tests detecting "Document Root"
jonpugh Apr 9, 2019
f70b7b2
Set destination on "Refresh GitHub Repos" link.
jonpugh Apr 9, 2019
11b922f
Merge pull request #145 from opendevshop/github-create-repo
jonpugh Apr 9, 2019
2f568ab
Merge branch 'github-create-repo' into 7.x-1.x
jonpugh Apr 16, 2019
9097fd6
Update views and module filter modules.
jonpugh Apr 16, 2019
0036a16
Add new Support the Collective Link to support widget.
jonpugh Apr 16, 2019
02ebf68
If there are no repos found, show the "refresh github repos button".
jonpugh Apr 16, 2019
fb1be7a
Remove makefile info to try to get it into the right directory.
jonpugh Apr 17, 2019
bb060e6
Move the support link into the item list.
jonpugh Apr 17, 2019
ec4d909
Automatically load the active users public SSH key on hostmaster verify
jonpugh Apr 17, 2019
d9f2c88
Switch to chosen package so we get jquery.min.
jonpugh Apr 17, 2019
a12047b
Show username as an optional organization for git repo creation. Ensu…
jonpugh Apr 17, 2019
ef14f00
Don't hide verify and reset password tasks. This made it look like th…
jonpugh Apr 17, 2019
ae7f571
Catch failed client retrieval in case of github connection limit.
jonpugh Apr 17, 2019
b09e7d1
Better forms if token not found.
jonpugh Apr 17, 2019
7071f18
Show devshop.local.computer before "managed by" text.
jonpugh Apr 17, 2019
399c033
admin/devshop link, not admin/settings.
jonpugh Apr 17, 2019
b8f4a78
Managed, not owned.
jonpugh Apr 17, 2019
0c5e323
Don't bootstrap process the select lists for tags and branches.
jonpugh Apr 17, 2019
b53a550
If no platforms updated, don't show a message.
jonpugh Apr 17, 2019
4898862
Clean up clone source radio buttons to show the full URL of the envir…
jonpugh Apr 17, 2019
e8bd9b1
Put "Clone Environment" first and select it by default.
jonpugh Apr 17, 2019
0906cd4
Change "deploy a branch or tag" links with a chosen select list so us…
jonpugh Apr 17, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

# devshop repos
source

# Local config
.vagrant
; Ignore modules from make file.
modules/contrib
modules/aegir
themes/contrib
libraries
14 changes: 0 additions & 14 deletions .idea/codeStyleSettings.xml

This file was deleted.

104 changes: 90 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,97 @@
---
##
language: php

language: python
python: "2.7"
install:
sudo: required

# Install DevShop with the standalone installer, using local playbooks.
# Run as actual root? Testing to see if this is a problem.
- sudo su - root -c "wget http://getdevshop.com/install && bash install"
# Only run test when committing to 1.x branch.
branches:
only:
- 7.x-1.x

env:
global:
- DEVSHOP_VERSION=1.x
- SITE_HOSTS='dev.drup.devshop.travis dev.projectname.devshop.travis live.projectname.devshop.travis testenv.drpl8.devshop.travis'

matrix:
- test="Upgrade"
COMMAND="robo up --test-upgrade"
UPGRADE_FROM_VERSION="1.0.0-beta10"

- test="Docker Install"
COMMAND="robo up --test"

- test="Ansible on Ubuntu 14.04 Apache"
COMMAND="robo up --mode=install.sh --test"

- test="Ansible on Ubuntu 16.04 Apache"
COMMAND='robo up --mode=install.sh --install-sh-image=geerlingguy/docker-ubuntu1604-ansible --test'

# - test="Install with Ansible on Ubuntu 14.04 with NGINX"
# COMMAND="robo up --mode=install.sh --test --install-sh-options='--server-webserver=nginx'"

# - test="Ansible Install on CentOS 7"
# COMMAND="robo up --mode=install.sh --install-sh-image=geerlingguy/docker-centos7-ansible --test"

# - test="Install with Ansible on Fedora 25"
# COMMAND="robo up --mode=install.sh --install-sh-image=centos:7 --test"

services:
- docker

before_install:
- pwd
- env

# Install Robo
- wget https://github.com/consolidation/Robo/releases/download/1.0.5/robo.phar
- sudo mv robo.phar /usr/local/bin/robo
- sudo chmod +x /usr/local/bin/robo

# Install Drush
- wget https://github.com/drush-ops/drush/releases/download/8.1.9/drush.phar
- sudo mv drush.phar /usr/local/bin/drush
- sudo chmod +x /usr/local/bin/drush

# Install drupalorg_drush, for validating the makefile.
- drush dl drupalorg_drush-7.x-1.x
- drush verify-makefile

# Clone devshop
- cd ..
- git clone http://github.com/opendevshop/devshop
- cd devshop
- git checkout -qf ${DEVSHOP_VERSION}
- git status
- pwd
- cp build-devmaster-travis-forks.make.yml build-devmaster-dev.make.yml
- cat build-devmaster-dev.make.yml

# Prepare devshop CLI.
- composer install

script:
- ${COMMAND} -n --fork

# Test for DevShop
- sudo su - aegir -c "drush @hostmaster status"
- sudo su -c "cd /usr/share/devshop/tests && composer update"
- sudo su aegir -c "cd /usr/share/devshop/tests && bin/behat --profile travis"
# - container_id=$(mktemp)
# # Run container in detached state
# - 'sudo docker run --detach --name devshop_container --volume="${PWD}/devshop":/usr/share/devshop:rw --volume="${PWD}":/usr/share/devshop/devmaster:rw ${run_opts} -h devshop.travis --add-host "${SITE_HOSTS}":127.0.0.1 ${distribution}-${version}:ansible "${init}" > "${container_id}"'
#
# # Install script.
# - 'sudo docker exec devshop_container env TRAVIS=true TERM=xterm TRAVIS_BRANCH=$TRAVIS_BRANCH TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG DEVSHOP_UPGRADE_TO_VERSION=$DEVSHOP_UPGRADE_TO_VERSION TRAVIS_PULL_REQUEST_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH ${install_command} --makefile=/usr/share/devshop/devmaster/build-devmaster-test.make'
#
# # Hostmaster Status
# - 'sudo docker exec devshop_container env TERM=xterm sudo su - aegir -c "drush @hostmaster status"'
#
# # Turn off hosting queued, and the hosting task queue.
# - 'sudo docker exec devshop_container env sudo su - aegir -c "drush @hostmaster dis hosting_queued -y -v"'
# - 'sudo docker exec devshop_container env sudo su - aegir -c "drush @hostmaster vset hosting_queue_tasks_enabled 0 -y"'
#
# # Build and Run Tests
# - 'sudo docker exec devshop_container env TERM=xterm sudo su - -c "cd /usr/share/devshop/tests && composer update"'
# - 'sudo docker exec devshop_container env TERM=xterm sudo su - aegir -c "devshop devmaster:test"'
#
# # Stop container.
# - 'sudo docker stop devshop_container'

# Notify devshop IRC chatroom.
notifications:
irc: "chat.freenode.net#devshop"
slack: thinkdrop:pb05x3ZL3qumHs0RjqEXvYfA
13 changes: 13 additions & 0 deletions API.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DevShop Provision API
=====================

Document in Progress.

Drush Hooks
-----------

You can add drush hooks to act before or after devshop tasks.

An example of a post-deploy hook is in the file deploy_hooks_examples/devshop.drush.inc

Copy this file to sites/all/drush and use it for your specific site.
74 changes: 74 additions & 0 deletions CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

78 changes: 10 additions & 68 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,75 +1,17 @@
DevShop
=======
DevShop DevMaster
=================

Welcome to the DevShop Source code.
This is the DevShop web-based front-end, called Devmaster.

[![Build Status](https://travis-ci.org/drupalprojects/devshop.svg?branch=6.x-1.x)](https://travis-ci.org/drupalprojects/devshop)
It is a Drupal Install Profile and Makefile, otherwise known as a "Distribution".

Contents
--------
Please fork this repo if you wish to contribute to the Drupal based front-end of DevShop.

This project contains four important components to DevShop
More information about DevShop can be found in the [main project repository](https://github.com/opendevshop/devshop).

1. install.sh
A bash script to go from zero to DevShop. All you need is a new server and this script.
This script is designed to work all by itself, and is not dependent on the other files in this repo to run.
Issues & Development
====================

2. build-devshop.make
The makefile used to build the DevShop front-end.
All issues for any DevShop repository are located in the main project: [https://github.com/opendevshop/devshop/issues](https://github.com/opendevshop/devshop/issues)

3. devshop.profile
The Drupal installation profile for DevShop. Used to setup the front end.

4. Vagrantfile
Allows devshop to be launched with Vagrant. Used for testing and development. See README.vagrant.md for more info.

Installation
------------

1. Pick a domain and server name to use for DevShop, for example "devshop.thinkdrop.net"
2. Fire up a linux server somewhere, using that domain name as the server's hostname. (Ubuntu 12.04 is the most tested.)
- Rackspace and DigitalOcean use the name of the server to automatically set the hostname, so use your domain name
as the server name when creating it.
- On Amazon Web Services you must [change the hostname manually](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-hostname.html).
- On Linode, you must also [set the hostname manually](https://www.linode.com/docs/getting-started#setting-the-hostname).
3. Add a DNS record that points your domain name (devshop.thinkdrop.net) to your server's IP address.
4. Add a second DNS record that points a wildcard subdomain of your domain (*.devshop.thinkdrop.net) to your server's IP
address. This allows you to setup new sites without having to mess with DNS every time.
5. Login to your server as root, and retrieve and run the install script:
```
root@devshop:~# wget http://getdevshop.com/install
root@devshop:~# bash install
```

*NOTE:* http://getdevshop.com/install simply redirects to the dev version of install.sh: http://drupalcode.org/project/devshop.git/blob_plain/refs/heads/6.x-1.x:...


Usage
-----

Using devshop is a lot like using aegir.

Visit http://devshop.thinkdrop.net in the browser to view the front-end.

SSH into your server as the `aegir` user to access the back-end.

Use drush to access any of your sites. Use `drush sa` to see the list of available aliases.

Vagrant
-------

There is now a vagrantfile for DevShop that makes for an easy way to test it out and to contribute to the development of DevShop.

It is included in this package. To use, clone this repo and vagrant up:

See README.vagrant.md for more information.

Testing
-------

Very rudimentary testing is happening on TravisCI at http://travisci.org/drupalprojects/devshop

The install script has been tested on:

- ubuntu 12.04
- centos 7.0
To contribute to development, please see the [Development](https://docs.opendevshop.com/development.html) section of the documentation.
11 changes: 0 additions & 11 deletions README.txt

This file was deleted.

1 change: 1 addition & 0 deletions VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.x
13 changes: 13 additions & 0 deletions build-devmaster.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
;
; Loads the DevMaster install profile from drupal.org.
;
; This makefile is used by the DevShop standalone installer to build devmaster.
;

core = 7.x
api = 2

includes[] = drupal-org-core.make
projects[devmaster][type] = profile
projects[devmaster][download][type] = git
projects[devmaster][download][branch] = 7.x-1.x
14 changes: 14 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"require": {
"cpliakas/git-wrapper": "~1.0",
"knplabs/github-api": "~1.2",
"sensiolabs/ansi-to-html": "^1.1",
"symfony/yaml": "^3.0",
"symfony/process": "^2.7"
},
"config": {
"platform": {
"php": "5.6.0"
}
}
}
Loading