Skip to content

Expose cabal-install lib, remove dogfooding, expose cabal-install-solver as own lib, enable HPC coverage reporting. - #7358

Merged
emilypi merged 4 commits into
masterfrom
strip-dogfooding-framework
May 3, 2021
Merged

emilypi merged 4 commits into
masterfrom
strip-dogfooding-framework

Conversation

@emilypi

@emilypi emilypi commented Apr 14, 2021 •

Copy link
Copy Markdown
Member

As discussed in #7344 (comment), this PR does the following:

TODO:

  • Doc changes for testing.md, contributing.md
  • Changelog entry
  • Changes to CI

Fixes:

Baseline report:

cabal-install-baseline-coverage.zip

CC @fgaz @phadej @ptkato

Comment thread cabal-install/cabal-install.cabal Resolved

@fgaz fgaz left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow files are generated (see the github-actions make target)

edit: this was supposed to be a comment on commit 59b2fe5

@emilypi
emilypi force-pushed the strip-dogfooding-framework branch 6 times, most recently from 21cfe3f to c431c69 Compare April 18, 2021 22:42
@fgaz

fgaz commented Apr 20, 2021

Copy link
Copy Markdown
Member

Could you squash the commits that do the same thing (eg. Setup.hs for cabal-install-solver → separate cabal-install-solver)?

@emilypi

emilypi commented Apr 21, 2021

Copy link
Copy Markdown
Member Author

Sure i'll restructure these and rebase tomorrow 👍

emilypi added a commit that referenced this pull request Apr 23, 2021
* Add missing bootstrap plans
* Add changelog entry for #7358
@emilypi
emilypi force-pushed the strip-dogfooding-framework branch from 825fa86 to db2a099 Compare April 23, 2021 16:09

@fgaz fgaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small stuff and questions

Comment thread cabal-install/cabal-install.cabal Resolved
Comment thread cabal-install/cabal-install.cabal Resolved
Comment thread cabal-install/cabal-install.cabal Resolved
Comment thread cabal.project Resolved
Comment thread templates/ci-artifacts.template.yml Resolved
Comment thread CONTRIBUTING.md Resolved
Comment thread CONTRIBUTING.md Resolved
Comment thread changelog.d/pr-7358 Resolved
@typedrat

typedrat commented May 2, 2021

Copy link
Copy Markdown
Collaborator

This would be massively useful to me.

@emilypi
emilypi force-pushed the strip-dogfooding-framework branch 2 times, most recently from 7bf6fb1 to ceb3040 Compare May 2, 2021 21:01
emilypi added 3 commits May 2, 2021 17:03
* Add Setup.hs for `cabal-install-solver`
* Update `cabal.project` pkg path for `cabal-install-solver`
* Strips away dogfooding framework and zinza templates
* Splits out tests into targets by as a function of running time
* Delete TESTING.md as it no longer applies
* Bump cabal-install.cabal to its dev template settings (base >= 4.10,
Cabal 2.2)
* Remove Paths_cabal_install (blocks HPC generation)
* Add `long-tests` target to split out unit-tests and long-running
  DVCS tests.
* Changes needed for GenValidate and release.py to
  accommmodate new solver dependency
* Bumps bootstrap plans to modern GHC versions
* Update `validate.sh` and `release.py` to accommodate new solver dep.
* Update `Makefile` targets
@emilypi
emilypi force-pushed the strip-dogfooding-framework branch 2 times, most recently from c5825c8 to 12daef5 Compare May 2, 2021 21:07
@emilypi

emilypi commented May 2, 2021

Copy link
Copy Markdown
Member Author

@fgaz okay - comments should be addressed, and I'll merge on green, following up with a PR with updates to the release checklist. The release checklist in particular needs to detail how to update CI, which i'll add as well. I'll do one more pass to see if anything stands out, and then I think we're good to merge.

@emilypi
emilypi force-pushed the strip-dogfooding-framework branch from 3f7f428 to 0b8d3f8 Compare May 2, 2021 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment