Skip to content

cabal init generates non-standard licences #9812

Closed

Description

@ffaf1

Describe the bug
cabal init generates licences with some weird added wording, e.g. an additional “All rights reserved” in BSD-2. See this Discourse thread.

To Reproduce

$ cabal init prova # then press ⏎ a number of times
$ cd prova
$ grep All LICENSE

viz. SPDX text

Expected behavior
Licence text should adhere to what is in SPDX.

Activity

  1. added
    re: license
    and removed on Mar 15, 2024
  2. ulysses4ever commented on Mar 15, 2024

    @ulysses4ever
    Collaborator

    Couple meta comments:

    $ grep All LICENSE

    Would be good to see what grep shows :-)

    $ cabal init prova # then press ⏎ a number of times

    it's always easier to use cabal init -n I find

  3. ffaf1 commented on Mar 15, 2024

    @ffaf1
    CollaboratorAuthor

    Would be good to see what grep shows :-)

    An “All Rights reserved” line:

    , ""
    , "All rights reserved."
    , ""

    which is not present in the current text present at SPDX.

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

    cabal-install: cmd/initre: licensetype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions