You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
oc deploy should allow the user to view the logs of the latest deployment #3544
And the user shouldn't get some crappy error, we have to smooth over that
pain. Having a rest endpoint specifically for a deployments logs is def
preferred
As a side note, I'd suggest having some consistency introducing oc deploy --logs where we already have oc build-logs or just oc logs. My suggestion would be to have oc deploy-logs or alike, instead.
I'm not sure that build-logs is the right direction in the long term.
Deploy and build are doing slightly different things, and a deployment
belongs to the DC in a different way than build belongs to build config. A
DC has at most one active deployment (barring bugs or other). That is
not how builds are handled.
As a side note, I'd suggest having some consistency introducing oc deploy
--logs where we already have oc build-logs or just oc logs. My suggestion
would be to have oc deploy-logs or alike, instead.
—
Reply to this email directly or view it on GitHub #3544 (comment).
Makes sense, still for users it's easier to grasps/remember commands if they are similar. I'm not suggesting we should change stick to one or the other, I was rather suggesting to have them similar. It does provide better user experience, imho.
It does, unless it forces us to create multiple similar commands that have
different use patterns. It's probably better in the long run to have a
single logs command, as long as it fits within the framework we need. But
a user will come into these commands in different circumstances and with
different levels of experience - there is also value in exposing function
in different contexts.
Makes sense, still for users it's easier to grasps/remember commands if
they are similar. I'm not suggesting we should change stick to one or the
other, I was rather suggesting to have them similar. It does provide better
user experience, imho.
—
Reply to this email directly or view it on GitHub #3544 (comment).
Activity
smarterclayton commentedon Jul 1, 2015
@fabianofranz @Kargakis or @ironcladlou whichever of you guys have time - need to keep in mind the same sorts of problems we have with oc build-logs
ironcladlou commentedon Jul 7, 2015
@bparees what problems might @smarterclayton be referring to here?
ironcladlou commentedon Jul 7, 2015
Are we talking about problems with
LocationStreameror with build specific stuff?bparees commentedon Jul 7, 2015
i'm guessing issues about the deployment pod not existing yet, or being removed, eg:
#2541
we have various situation in which you can't get the logs yet because the pod isn't running yet, or it went away for some reason.
smarterclayton commentedon Jul 8, 2015
And the user shouldn't get some crappy error, we have to smooth over that
pain. Having a rest endpoint specifically for a deployments logs is def
preferred
On Jul 7, 2015, at 6:40 PM, Ben Parees [email protected] wrote:
i'm guessing issues about the deployment pod not existing yet, or being
removed, eg:
#2541 #2541
we have various situation in which you can't get the logs yet because the
pod isn't running yet, or it went away for some reason.
—
Reply to this email directly or view it on GitHub
#3544 (comment).
soltysh commentedon Jul 8, 2015
As a side note, I'd suggest having some consistency introducing
oc deploy --logswhere we already haveoc build-logsor justoc logs. My suggestion would be to haveoc deploy-logsor alike, instead.smarterclayton commentedon Jul 8, 2015
I'm not sure that build-logs is the right direction in the long term.
Deploy and build are doing slightly different things, and a deployment
belongs to the DC in a different way than build belongs to build config. A
DC has at most one active deployment (barring bugs or other). That is
not how builds are handled.
On Jul 8, 2015, at 9:50 AM, Maciej Szulik [email protected] wrote:
As a side note, I'd suggest having some consistency introducing oc deploy
--logs where we already have oc build-logs or just oc logs. My suggestion
would be to have oc deploy-logs or alike, instead.
—
Reply to this email directly or view it on GitHub
#3544 (comment).
soltysh commentedon Jul 8, 2015
Makes sense, still for users it's easier to grasps/remember commands if they are similar. I'm not suggesting we should change stick to one or the other, I was rather suggesting to have them similar. It does provide better user experience, imho.
smarterclayton commentedon Jul 8, 2015
It does, unless it forces us to create multiple similar commands that have
different use patterns. It's probably better in the long run to have a
single logs command, as long as it fits within the framework we need. But
a user will come into these commands in different circumstances and with
different levels of experience - there is also value in exposing function
in different contexts.
On Jul 8, 2015, at 5:03 PM, Maciej Szulik [email protected] wrote:
Makes sense, still for users it's easier to grasps/remember commands if
they are similar. I'm not suggesting we should change stick to one or the
other, I was rather suggesting to have them similar. It does provide better
user experience, imho.
—
Reply to this email directly or view it on GitHub
#3544 (comment).