allow "upload" to local repository
Open
cabal-install: cmd/upload
cabal-install: other
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
hi,
i have a small shell script that does the following for `package-0.1.2`. it would be great if cabal could do that out of the box (using gnu tar.)
`local_repo` is the first repository that is specified as `local-repo:` in cabal.
``` shell
> cabal sdist
> cp dist/package-0.1.2.tar.gz "$local_repo/package"
> tar -f "$local_repo/00-index.tar" -A package.cabal \
--transform 's~package.cabal~package/0.1.2/package.cabal~'
```
Contributor guide
Assessment
This issue has not been assessed yet.