GithubHelp home page GithubHelp logo

Comments (8)

chmouel avatar chmouel commented on June 8, 2024

@siamaksade how would you know if this is the actual output of the application it may be a stretch but usually when there is no logs I would expect the emptyness is valid, isnt it ?

from cli.

siamaksade avatar siamaksade commented on June 8, 2024

from cli.

vdemeester avatar vdemeester commented on June 8, 2024

@siamaksade yes, by default we don't show the infra logs (aka init logs), so my guess is there is a tiny tiny possibility of having no logs 👼. But in any case, we know the status of the pipelinerun (aka if it succeeded, failed, so we can act based on it)

from cli.

siamaksade avatar siamaksade commented on June 8, 2024

@chmouel @vdemeester I see. Does the following make sense?

  • If the pipelinerun is running and no logs: "No logs found yet..."
  • If the pipelinerun is NOT running and no logs: "No logs found."

from cli.

chmouel avatar chmouel commented on June 8, 2024

sounds good, but what about for the second case to say instead :

Pipeline hasn't started...

from cli.

vdemeester avatar vdemeester commented on June 8, 2024

If the pipelinerun is running and no logs: "No logs found yet..."

If -f is present, it will not return until it's not running, so there is not need for this case 👼 — if -fis not present, that's another story 😉

from cli.

chmouel avatar chmouel commented on June 8, 2024

can someone sum up the conclusion? i am confused 🥺

from cli.

siamaksade avatar siamaksade commented on June 8, 2024

Here is a summary with a slight change :)

When -f present

  • Logs command should wait for output (current implementation)

When -f is NOT present

  • If pipelinerun is running and no logs available, logs command should wait (not return)
  • If the pipelinerun is NOT running and no logs are available, the command should return and print: “No logs available.”

from cli.

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.