You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the danger of repeating myself: I first want to see feature completeness of v2 over v1.
One main limitation for me is that v2-install will unconditionally rebuild all modules, in contrast to v1-install or v2-build. Thus, it is unfeasible to run an automatic git bisect process based on cabal v2-install.
However, in our agda-bisect tool we need an efficient way of generating for the current bisecting point an Agda executable that we can pass to a script that runs some test on this version of Agda. And Agda accesses data-files so the context should also be correct (something one does not have to worry about with v1-install).
One resolution for me would probably if one could invoke cabal run from somewhere outside of the project, but a respective feature request has not been fulfilled:
Activity
alt-romes commentedon Aug 19, 2024
I'm very much in favour of this. Even if some of these are more contentious, surely we can make progress on the undisputed ones.
Cabal should become rid of legacy baggage before growing new features, IMO.
ulysses4ever commentedon Aug 19, 2024
There are many issues discussing parts of this meta-issue and they should be referenced, I think. Esp. regarding v1 and nix.
geekosaur commentedon Aug 19, 2024
People are definitely still using both v1-commands and ghcjs.
andreasabel commentedon Aug 27, 2024
@mpickering wrote:
Relevant issue collections include:
On the danger of repeating myself: I first want to see feature completeness of v2 over v1.
One main limitation for me is that
v2-installwill unconditionally rebuild all modules, in contrast tov1-installorv2-build. Thus, it is unfeasible to run an automatic git bisect process based oncabal v2-install.However, in our agda-bisect tool we need an efficient way of generating for the current bisecting point an Agda executable that we can pass to a script that runs some test on this version of Agda. And Agda accesses
data-filesso the context should also be correct (something one does not have to worry about withv1-install).One resolution for me would probably if one could invoke
cabal runfrom somewhere outside of the project,but a respective feature request has not been fulfilled:Option giving the project root directory #8037Unnecessarily difficult to run executables from outside of project #7940Update:
cabal run --project-dir=...works now (!); I could evaluate again if this will work in our context.ulysses4ever commentedon Aug 27, 2024
Hackage builder still uses V1 command afaiu. It may be a great bite-size task to solve before doing away with V1. Almost gsoc size, maybe.
refactor(Cabal)!: remove UHC support
refactor(Cabal)!: remove UHC support