Skip to content

fly cli displays diffs unintuitively #316

Closed

Description

@mfine30

I added two new tasks to my job, and didn't modify any of the existing tasks in the job. One of the task parameters is the same across all three tasks. When reconfiguring the pipeline, fly is confusing which line is actually the new line.

This is the diff according to git, which are the actual changes that I made.
screen shot 2016-03-11 at 2 00 12 pm

This is the diff according to fly. Notice how it is confusing the tag: output-release-dir/cf-mysql-tag lines between the existing and new tasks.
screen shot 2016-03-11 at 2 02 13 pm

Activity

  1. changed the title [-]fly cli shows displays diffs incorrectly[/-] [+]fly cli displays diffs incorrectly[/+] on Mar 11, 2016
  2. concourse-bot commented on Mar 11, 2016

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  3. tylerschultz commented on Mar 25, 2016

    @tylerschultz

    I too see incorrect diffs. I added outputs and inputs to tasks in my pipeline and saw no output in the diff.

  4. changed the title [-]fly cli displays diffs incorrectly[/-] [+]fly cli displays diffs unintuitively[/+] on Jul 16, 2016
  5. dsharp-pivotal commented on Feb 11, 2017

    @dsharp-pivotal

    We saw something similar to the OP, but we were removing lines.

    Also, the red/green colorized-only output is not color-blind friendly. It should include unified-diff style +/- markers in the first column.

  6. added a commit that references this issue on Mar 31, 2017
  7. added a commit that references this issue on Apr 10, 2017
  8. xtremerui commented on Jul 27, 2018

    @xtremerui
    Contributor

    There are "+/-" indicating add/remove in fly diffs for current version 4.0.0. Will close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions