Skip to content

Diff URLs truncated #26

Closed
Closed
@xurizaemon

Description

@xurizaemon

Just testing this out (thanks!) and noticed that some of the URLs provided for compare are truncated. Eg:

| drupal/entity_reference_revisions     | 1.7.0        | 1.8.0        | https://git.drupalcode.org/project/entity_reference_revisions/compare/8.x-1.7...8.x-1.8  |
| drupal/fast_404                       | 1.0.0-alpha4 | 1.0.0-alpha5 | https://git.drupalcode.org/project/fast_404/compare/8.x-1.0.0-alph...8.x-1.0.0-alph      |
| drupal/page_manager                   | 4.0.0-beta4  | 4.0.0-beta5  | https://git.drupalcode.org/project/page_manager/compare/8.x-4.0.0-bet...8.x-4.0.0-bet    |
| drupal/views_data_export              | 1.0.0-beta4  | 1.0.0-rc1    | https://git.drupalcode.org/project/views_data_export/compare/8.x-1.0.0-bet...8.x-1.0.0-r |

(I've intentionally excerpted to show a single correct URL and some that are not working links.)

These output URLs do not provide comparison views correctly, while most do:

In worst case this might result in deceptive output (eg diff vs -beta1 links to -beta, or diff vs -beta11 links to -beta1).

tput cols returns 236; these are not shortened due to limitations of the console AFAICT. See screenshot below.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions