Skip to content

".." added by Distribution.Backpack.DescribeUnitId.setupMessage', not full stop or ellipsis? #8928

Closed

Description

@mpilgrem

A very minor UI point: the ".." added to the end of setup messages by setupMessage' is neither a full stop (".") nor an ellipsis ("...") - see the where statement in the code extract further below. Is that intentional, or a bug? If a bug, I'll raise a pull request to change it to an ellipsis. It results in output like:

Preprocessing library for foo-0.1.0.0..
Building library for foo-0.1.0.0..
-- | Print a Setup message stating (1) what operation we are doing,
-- for (2) which component (with enough details to uniquely identify
-- the build in question.)
--
...
setupMessage' verbosity msg pkgid cname mb_insts = withFrozenCallStack $ do
    noticeDoc verbosity $
      case mb_insts of
...
        _ ->
          msg_doc <+> for_doc

  where
    msg_doc = text msg <+> text (showComponentName cname)
    for_doc = text "for" <+> pretty pkgid <<>> text ".."

Activity

  1. ulysses4ever commented on Apr 30, 2023

    @ulysses4ever
    Collaborator

    Changed from ellipsis to .. here: bc9d5ad

    I think it's pretty safe to assume that it's a typo, and a PR fixing it would be very welcome.

  2. added a commit that references this issue on Apr 30, 2023
    8588ffb
  3. mpilgrem commented on Apr 30, 2023

    @mpilgrem
    CollaboratorAuthor

    @ulysses4ever, thanks - pull request raised.

  4. added 2 commits that reference this issue on Apr 30, 2023
    7dad98c
    28ed9fa
  5. added 2 commits that reference this issue on Jun 2, 2023
    00bdd8d
    5d6af7c
  6. added a commit that references this issue on Jun 2, 2023
    6c11a04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions