Skip to content

cabal init produces extra-source-files: CHANGELOG.md #6864

Closed

Description

@juhp

Describe the bug
CHANGELOG.md(sic ChangeLog.md) (and README.md) should be listed as extra-doc-files not extra-source-files (see also #5813).

To Reproduce
Steps to reproduce the behavior:

$ cabal init --non-interactive

Please use version-prefixed commands (e.g. v2-build or v1-build) to avoid ambiguity.

Expected behavior
extra-doc-files: CHANGELOG.md

System information

  • Operating system: Fedora
  • cabal-3.2.0.0, ghc-8.6.5 versions

Additional context
extra-source-files: CHANGELOG.md is put in .cabal file.

Activity

  1. changed the title [-]cabal init uses `extra-source-files: CHANGELOG.md`[/-] [+]cabal init produces `extra-source-files: CHANGELOG.md`[/+] on May 30, 2020
  2. phadej commented on May 31, 2020

    @phadej
    Collaborator

    Note that extra-doc-files is cabal-version: 1.18 (IIRC. please check) feature.

  3. juhp commented on Jun 1, 2020

    @juhp
    CollaboratorAuthor

    Note that extra-doc-files is cabal-version: 1.18 (IIRC. please check) feature.

    Okay but cabal init now produces cabal-version: 2.4 anyway, right?

  4. phadej commented on Jun 1, 2020

    @phadej
    Collaborator

    Okay but cabal init now produces cabal-version: 2.4 anyway, right?

    Interactive variant still could be selected to produce 1.10.

  5. juhp commented on Jun 1, 2020

    @juhp
    CollaboratorAuthor

    Gotya, good point!

    I think you are right: #3825.

  6. added a commit that references this issue on May 5, 2021
  7. juhp commented on May 27, 2021

    @juhp
    CollaboratorAuthor

    Haven't tested yet, but thanks a lot for addressing this!

  8. added a commit that references this issue on May 31, 2021
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