Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. May 18, 2024
    • sheaf's avatar
      Setup Hooks: make Location a separate data type · 6dd579fc
      sheaf authored
      This commit makes Location a separate data type:
      
        data Location where
          Location
            :: SymbolicPath Pkg (Dir baseDir)
            -> RelativePath baseDir File
            -> Location
      
      instead of being a type synonym for (FilePath, FilePath).
      
      We noted during testing of the Hooks API that it was all too easy to
      give an incorrect location for rule outputs, e.g. by omitting an
      extension or using an absolute path.
      This change allows us to improve the API documentation, as well as
      clarifying the types to avoid any ambiguities about what kind of file
      path is expected (FilePath vs SymbolicPath).
      6dd579fc
    • mergify[bot]'s avatar
      Merge pull request #9975 from cabalism/doc/no-command-line-source-repository-package · b7cc3264
      mergify[bot] authored
      Add "no command line variant" for `source-repository-package`.
      b7cc3264
  2. May 17, 2024
  3. May 16, 2024
  4. May 15, 2024
    • Phil de Joux's avatar
      Recommend using latest cabal-install · de89ffe7
      Phil de Joux authored
      - Shorten the suggestion to use cabal.release.project
      - Move up cabal.release.project for initial build
      - Put the --project-file option after as suggested by the command help
      - Usage: cabal build [TARGETS] [FLAGS]
      - Use the latest markup for note
      - $ prefix for command line
      de89ffe7
  5. May 14, 2024
  6. May 11, 2024
    • sheaf's avatar
      Add NoImplicitPrelude to buildTypeScript · 42b8dc1f
      sheaf authored
      This allows us to compile Setup.hs without depending on base.
      In particular, this ensures that a package with `build-type: Hooks`
      and a custom setup stanza that does not depend on base successfully
      compiles.
      
      Tested in PackageTests/SetupHooks/SetupHooksNoBase.
      42b8dc1f
  7. May 10, 2024
    • Phil de Joux's avatar
      Add "no command line variant" of src-repo-pkg · 86156196
      Phil de Joux authored
      86156196
    • mergify[bot]'s avatar
      Merge pull request #9989 from sheaf/hooks-rfc-link · 47e72959
      mergify[bot] authored
      Docs: update link to SetupHooks RFC
      47e72959
    • sheaf's avatar
      Docs: update link to SetupHooks RFC · 427c24b5
      sheaf authored
      The proposal has been accepted, but its final location is in the 'rfc'
      subdirectory instead of the 'proposals' subdirectory. This simply
      updates the link in the Cabal documentation.
      427c24b5
    • mergify[bot]'s avatar
      Merge pull request #9701 from cabalism/doc/compare-source-repos-9665 · 29cdb03a
      mergify[bot] authored
      source-repository versus source-repository-package
      29cdb03a
    • Phil de Joux's avatar
      source-repository versus source-repository-package · d5dfd6e0
      Phil de Joux authored
      
      - Adds pijul as type
      - explicit dot is the same as root
      - Update doc/cabal-package-description-file.rst
      - Grammar, comma required for non-restrictive clause
      - Move warning down the section
      - Move repository stuff to its own page
      - Add author and consumer subsections
      - Keep consistent ordering
      - Put source-repository before source-repository-package
      - Reword intro and add hackage linking
      - A field of this type is always optional
      - Fix typo
      - Put the table into the field types section
      - Link to VCS kind, consistent casing
      - Introduce the VCS acronym early
      - Link to cabal get for this|head
      - Update doc/cabal-package-description-file.rst
      - Comma after as an example
      - Update doc/cabal-package-description-file.rst
      - There are two kinds comma
      - Split sentences.
      - Move to how to section
      - Add version control fields
      - Rewrite package consumer section
      - Bump source packages up a level
      - Rename as "how to source packages"
      - Rename section, "package source"
      - Fix whitespace
      - Mention manual download before cabal download
      - Use a description list for source-repository fields
      - Add a warning about the confusing field names
      - Clarify *source code* ``.tar.gz`` archive
      - Use Git uppercase
      - Source Marker section, marks out
      - Change to "inside a single VCS repository"
      - Taking a Dependency from a Source Code Repository
      - Lead with uppercase first letter for Darcs, Git
      - Fix whitespace
      - Use lowercase for titles
      - Change the guide title to "How to get package *source code*".
      - Hackage is for published, exact versus range of versions
      - Mention cabal get
      - Lead with uppercase for Cabal and Hackage
      - Move VCS fields up in the tree
      - Mention *source code* in all the section titles
      - Explain how linking helps contributors and maintainers
      - Add an example of conversion
      - Add a dependency vendoring section
      - Show cloning with cabal build --dry-run
      - Keep VCS fields small
      - Add diagrams
      - Warn about hash in clone folder name
      - Use code style for .cabal
      - Use lower caps in title to match other sections
      - Add missing _ for external link reference
      - Move package authoring section to last
      - Use subsections for vendoring
      - Add a section about publishing
      - Fix up anchors and references
      - Typo, "extracts it to a directory"
      - It is a "``cabal get`` unpacking step"
      - Use a comma in "Fork, don't vendor"
      - Add a tag to the src-repo-pkg example
      - The warning about commits is only for Git repositories
      - Move note to setting up section
      - Fix whitespace
      - Missing source-repository ead in the diff
      - Use with/without a "-package" suffix ... belongs
      - Add a reference to cabal get
      - How to locate and get
      - Add back the ref to the package consumer section
      - Replace arrowheads with ASCII
      - Replace ticked checkboxes with ASCII
      - Warn about project and the set of pkgs separately
      - Multiple dependency packages not multiple dependencies
      - Shorter explanation of vendoring
      - Lower caps for bold terms
      - Add references to VCS fields
      - A marker that points to
      - Use the shorter "shepherd"
      - Use grab (not obtain) before obtaining
      - Clarify terms in source code note
      - Hackage is only for published package dependencies
      - Add a link to hackage upload
      - Add a footnote about packages of a cabal.project
      - Revert section title to "Specifying the local packages"
      - Change shepherd to "deal with"
      - Put source after package, ordering how to guides
      - Comma after as
      
      Co-Authored-By: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>
      Co-Authored-By: Brandon S. Allbery's avatarbrandon s allbery kf8nh <allbery.b@gmail.com>
      d5dfd6e0
    • mergify[bot]'s avatar
      Merge pull request #9966 from sheaf/haddock-tmpFiles · 214acd83
      mergify[bot] authored
      Haddock: use buildSettingKeepTempFiles
      214acd83
  8. May 09, 2024
    • sheaf's avatar
      Haddock: use buildSettingKeepTempFiles · e35c0dcc
      sheaf authored
      This commit initialises the Haddock flag haddockKeepTempFiles with the
      value of buildSettingKeepTempFiles.
      
      This addresses an 8 year old TODO in the code, from Duncan Coutts.
      e35c0dcc
  9. May 06, 2024
  10. May 05, 2024
  11. May 04, 2024
  12. May 03, 2024
  13. May 02, 2024
  14. May 01, 2024
Loading