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

TODOs #2

Open
Boran opened this issue Mar 6, 2015 · 0 comments
Open

TODOs #2

Boran opened this issue Mar 6, 2015 · 0 comments

Comments

@Boran
Copy link
Owner

Boran commented Mar 6, 2015

An initial list, these should become separate issues to track later. The list covers changes to the main modules: webfact, webfact_content_types and webfact_theme with links to others below.

Bugs

  • admin/reports/dblog "Recoverable fatal error: Argument 2 passed to t() must be of the type array, integer given, called in /var/www/html/modules/dblog/dblog.admin.inc on line 295"
  • Notice: Trying to get property of non-object in WebfactController->load_meta() (line 226 of /var/www/html/sites/all/modules/custom/webfact/controller.php).

Features

  • (done) status page: show the real auto-start setting in the container too.
  • (done) pull status information from within the container, e.g. git commit/version
  • (done) Way to update websites in containers in one click
  • (done) If you delete a "website" (content page), then also delete the containers and relevant images too.
  • (done) run command: box is too small
  • create website:
    • (done) force lowercase hostnames (important to avoid errors)
    • if the image used for a new container does not exist, it should try to download it automatically from dockerhub
  • (done) Controller: after rebuild error go to /advanced, not back to the rebuild page!
  • navigation
  • how to upload files (sql dumps etc.) to a container (see "couploadfile" in controller, work has started). http://stackoverflow.com/questions/22907231/copying-files-from-host-to-docker-containerWould have to upload the tar file to a directory on the webfact container (maybe with Drupal file_save_upload()), then run docker exec to transfer and extract that tar file. exec() and execstart() in ContainerManager docker-php/docker-php#90 (comment)
  • How to upload a container (or image) that was exported from another webfactory? Export already works. i.e. to import a container to one server after exporting it from another. Or upload a container that was developed locally.
  • container status screen
    • view logs: add timestamp
    • logs: stream continuously. Sample code added but not in realtime, see 'logtail' in controller.php and test.php
  • web operations after creation

Docker API implementation:

Other:

  • general review/refactor of the webfact module: after the first few months of organic development, an objective review would be good
  • generate DRUPAL_ADMIN_PW & inform (don't use a fixed one?)
  • Improve Guzzle errorhandling for initial connection (if docker port not reachable)
  • Theme:

TODOs from related modules

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