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

Add phase banners to the tops of each phase #157

Merged
merged 4 commits into from
Sep 30, 2019

Conversation

ian-howell
Copy link
Contributor

@ian-howell ian-howell commented Sep 27, 2019

Description

This adds banners to the tops of each phase. This makes it easier to follow the flow in a multi-phase alias.

Fixes/Implements: #154

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • I have update README (If needed)

Notes to reviewer

This prints the banner unconditionally, whether it is a command, a before, or an after. This also prints the banner even if the command fails. I personally think this constantness is a good thing, allowing a user to see exactly what happened during execution (and exactly which step failed), but I will gladly change it if desired.

@welcome
Copy link

welcome bot commented Sep 27, 2019

🙏 Thanks for opening this pull request! Please check out our contributing guidelines.

@auto-comment
Copy link

auto-comment bot commented Sep 27, 2019

🙏 Thank your for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible

@gopinath-langote gopinath-langote added Hacktoberfest Support to https://hacktoberfest.digitalocean.com/ In Progress Someone working on the issue new_feature New features labels Sep 28, 2019
@gopinath-langote gopinath-langote added this to the v1.4.0 milestone Sep 28, 2019
cmd/models/onebuild-execution-plan.go Outdated Show resolved Hide resolved
cmd/models/onebuild-execution-plan.go Outdated Show resolved Hide resolved
We need the literal number of spaces a command *is* taking up, as
opposed to the width of its unicode character, or the width that it
*should* take up on the screen. E.g. The smiley emoji, described by the
3 bytes [0xE2 0x98 0xBA] takes up 2 columns on the screen, but only
occupies 1 column, as seen below
 1234567
 ###☺###
@gopinath-langote gopinath-langote merged commit c84764b into gopinath-langote:master Sep 30, 2019
@welcome
Copy link

welcome bot commented Sep 30, 2019

Congrats on merging your first pull request! We here at 1build are proud of you! 🙏

@ian-howell ian-howell deleted the phase-banners branch September 30, 2019 14:03
themayurkumbhar pushed a commit to themayurkumbhar/1build that referenced this pull request Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Support to https://hacktoberfest.digitalocean.com/ In Progress Someone working on the issue new_feature New features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants