Skip to content

Explicit repository upload (2nd try)#11478

Open
Kleidukos wants to merge 5 commits intohaskell:masterfrom
Kleidukos:explicit-repository-upload
Open

Explicit repository upload (2nd try)#11478
Kleidukos wants to merge 5 commits intohaskell:masterfrom
Kleidukos:explicit-repository-upload

Conversation

@Kleidukos
Copy link
Member

@Kleidukos Kleidukos commented Feb 7, 2026

This PR adds option to specify remote repository.

In case the specified repository is not found in the configuration, or not specified when multiple repositories are configured, a helpful message is displayed to the user:

Error: cabal: Cannot determine a specific hackage repository. Please choose
one with --repository-name. Available repositories are: localhost,
hackage.haskell.org
$ cabal run -- cabal get  -R toto Cabal-syntax
Error: cabal: Cannot find chosen repository toto. Available repositories are:
localhost, hackage.haskell.org

Template Α: This PR modifies behaviour or interface

Include the following checklist in your PR:

@Kleidukos Kleidukos force-pushed the explicit-repository-upload branch 2 times, most recently from b4dcaf5 to e92d418 Compare February 20, 2026 16:28
@Kleidukos Kleidukos marked this pull request as ready for review February 20, 2026 16:44
@Kleidukos Kleidukos requested review from andreabedini, ffaf1, geekosaur and sheaf and removed request for andreabedini and geekosaur February 20, 2026 16:45
@Kleidukos Kleidukos force-pushed the explicit-repository-upload branch from e92d418 to 4848309 Compare February 20, 2026 16:52
@Kleidukos Kleidukos requested a review from Bodigrim February 20, 2026 16:52
@Kleidukos Kleidukos force-pushed the explicit-repository-upload branch 6 times, most recently from 1ed480d to d5c0775 Compare February 25, 2026 20:22
@Kleidukos Kleidukos force-pushed the explicit-repository-upload branch 2 times, most recently from c6c5f6c to 519e6c1 Compare February 25, 2026 21:40
@Kleidukos Kleidukos force-pushed the explicit-repository-upload branch from 519e6c1 to 6bb8a37 Compare February 25, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants