Skip to content

Conversation

@steveej
Copy link
Contributor

@steveej steveej commented Mar 23, 2020

No description provided.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 23, 2020
@steveej
Copy link
Contributor Author

steveej commented Mar 24, 2020

/retest

Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO this should be a single commit.

Justfile Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add the graph.svg to .gitignore.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason this is not working in my tmux session. But thats not a blocker for the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please paste the command and its output here. It's supposed to work for you as well.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I am using $ just display-graph in a wrong way. Can you add an example in the dev docs?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running $ just get-and-display-graph works fine. But as expected $ just display-graph would hang as it need json input. If this is right, we should make $ just display-graph a private recipe.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@steveej mentioned that the right usage is just get-graph-pe-production "stable-4.2" "amd64" | just display-graph. As discussed we should add docs for display-graph in the Justfile for just --list to show. I will also suggest that we add just --list to the dev docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not yet ready to document all of this. I would like to, but I'm not convinced this is a stable interface. Right now we're observing a divergence, or at best a duplication, between the Justfile and the scripts in dist/ and hack/. I would like to unify this as much as possible soon along with updating the documentation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the divergence exists because we have not accepted the Justfile yet as the default way for local development. By making it easier to use the Justfile will be a positive step in that direction. I would suggest lets add the doc required for this PR in $ just --list and then take up the other things required to unify things.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. So you're suggesting to simply add docs to the recipes in this PR?

@steveej
Copy link
Contributor Author

steveej commented Mar 24, 2020

IMO this should be a single commit.

I don't think so as they're unrelated changes. But if you feel strongly about it I'd rather squash than having this PR linger around 😉

@steveej steveej force-pushed the pr/justfile-gb-improvements branch from a7dc270 to 417ba3c Compare March 24, 2020 21:14
@LalatenduMohanty
Copy link
Member

I don't think so as they're unrelated changes. But if you feel strongly about it I'd rather squash than having this PR linger around wink

I do not have a strong opinion.

Justfile Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I am using $ just display-graph in a wrong way. Can you add an example in the dev docs?

@steveej steveej force-pushed the pr/justfile-gb-improvements branch from 417ba3c to ba6e454 Compare March 25, 2020 15:31
@steveej steveej force-pushed the pr/justfile-gb-improvements branch from ba6e454 to cf34b32 Compare March 25, 2020 15:49
Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 25, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, steveeJ

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [LalatenduMohanty,steveeJ]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit cf2463f into openshift:master Mar 25, 2020
@steveej steveej deleted the pr/justfile-gb-improvements branch March 25, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants