Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,344
    • Issues 5,344
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 563
    • Merge requests 563
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #3375
Closed
Open
Issue created Jul 16, 2009 by seliopou@trac-seliopou

Add a command-line option to the darcs-all script to specify the darcs repository to use

The darcs-all script currently assumes that it is being run from the top level of a darcs repository. It uses the repository location stored in _darcs/prefs/defaultrepo to determine from where to get the other repositories that GHC depends on.

The assumption that the script is being run from a darcs repository is unnecessary and is a hindrance to people who wish to use the git mirror of the GHC repository. To make this script more flexible, and to allow git users to use the repository without having to hack this script, I propose adding to the script a -r option, which itself takes as an argument the location of a darcs repository from which to get GHC's dependencies.

This option would be useful for darcs users as it would allow them to get, pull, or push from any darcs repository they wish. It would also be useful to git users, as it would allow them to quickly get started working on GHC by using the command

./darcs-all -r http://darcs.haskell.org/ghc get

Trac metadata
Trac field Value
Version 6.10.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking