Page MenuHomeFreeBSD

Improve cabal-extract for USE_GITHUB/USE_GITLAB cases
ClosedPublic

Authored by arrowd on Apr 27 2021, 6:51 PM.
Tags
None
Referenced Files
F111608439: D30014.diff
Wed, Mar 5, 11:13 PM
F111580081: D30014.id88271.diff
Wed, Mar 5, 1:19 PM
Unknown Object (File)
Nov 25 2024, 11:28 PM
Unknown Object (File)
Nov 7 2024, 10:44 AM
Unknown Object (File)
Nov 6 2024, 1:36 PM
Unknown Object (File)
Oct 29 2024, 2:14 PM
Unknown Object (File)
Oct 2 2024, 1:33 PM
Unknown Object (File)
Sep 21 2024, 4:25 PM
Subscribers
None

Details

Summary

The cabal-extract is an auxiliary target that is intended to be run
interactively by the port developer. It populates Cabal cache and then tries
to fetch the main distribution file from Hackage package database. However,
some packages reside on GitHub and other hostings, in which case this target
fails. I modified it in such way that it does the usual make extract in this
case, but preserve Cabal cache.

I'm a but unsure about .if expresions I added. Maybe they can be made more concise?

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 38893
Build 35782: arc lint + arc unit