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

Core operations of GDT #266

Open
grayside opened this issue Mar 26, 2016 · 0 comments
Open

Core operations of GDT #266

grayside opened this issue Mar 26, 2016 · 0 comments
Milestone

Comments

@grayside
Copy link
Contributor

The "core" operations of GDT are the things that belong in grunt help, that are the high-value, task-oriented features of the system. At present, this is somewhat clouded, and we present developers with some operations with a small learning curve and limited standalone value.

These top-level operations seem to be the following, and should align with top-level configuration keys, and operate as conceptual or even literal grouping of secondary operations.

  • Build: Drush Make, Scaffold, Post-Build operations, e.g., theme dispatch.
  • Validate: phplint, phpcs, eslint > modules
  • Analyze: phpcs, phpmd, eslint > modules
  • Package:
  • Install: Install a working Drupal site
  • Serve: Simple hosting for the Drupal site. If build/html is empty, should run Build.
  • Test: Run tests, because it takes a while or needs complete/working Drupal code. If build/html is empty, should run Build.
  • Watch: Watch for GDT-managed code.
  • Default: Composer:Install, Validate, & Build

Further, there are "extended functionality areas:

  • Project: Git Repository, Project name, Default URL, Alias
  • Scripts: Our "operational scripts" broker, similar to npm scripts.
  • Themes: For close integration with theme tooling.

This riffs on #251, #169. Much like #169, it takes the position that for reasons of DX, GDT should take an opinionated position about what it's providing, rather than the "light" approach alternative of simply aggregating useful tools from npm. The current middle-ground is confusing.

@grayside grayside added this to the 1.0.0 milestone Mar 26, 2016
@grayside grayside modified the milestones: 1.0.0, 2.0.0 Jun 15, 2016
@grayside grayside removed this from the 2.0.0 milestone Jan 8, 2018
@grayside grayside added this to the Icebox milestone Mar 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant