Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,323
    • Issues 4,323
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 361
    • Merge Requests 361
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #3375

Closed
Open
Opened 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
Assignee
Assign to
6.12.1
Milestone
6.12.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#3375