Giter Site home page Giter Site logo

Comments (7)

roborourke avatar roborourke commented on May 29, 2024

Note, removing pseudo-terminal allocation (-t) from the docker exec call in this instance fixes the problem.

@joehoyle @rmccue I'm not super familiar with this aspect of WP CLI, the isPiped detection and TTY allocation. Is < an edge case that we need to handle specially or is the logic in the PHP at fault?

from altis-local-server.

svandragt avatar svandragt commented on May 29, 2024

As @roborourke mentioned:

if the db dump is in the working directory then it’s available on the container and you can do composer server cli -- db import database.sql

If the import is successful you should see more than one post when running composer server cli -- post list --limit=10

from altis-local-server.

roborourke avatar roborourke commented on May 29, 2024

Related to #224

from altis-local-server.

rmccue avatar rmccue commented on May 29, 2024

If we can't get this closed out this sprint, let's reassess as it's been in here for a while.

from altis-local-server.

roborourke avatar roborourke commented on May 29, 2024

We actually updated the docs to explicitly say it needs to be within the project root, so the problem with the documented solution is fixed at least.

from altis-local-server.

rmccue avatar rmccue commented on May 29, 2024

So, no more bug? We can close?

from altis-local-server.

roborourke avatar roborourke commented on May 29, 2024

We can say it's not a supported use-case I guess, nothing else along these lines has really come up since. I'll close so we don't waste more time on it until there's more reasons to dig into TTY / piping-of-things support and use-cases.

from altis-local-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.