Bug 224801 - [suggested feature] make refetch
Summary: [suggested feature] make refetch
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-31 19:16 UTC by Yuri Victorovich
Modified: 2018-03-31 04:02 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2017-12-31 19:16:02 UTC
There is 'make restage' that helps to clean up the stage part of the build.

'make refetch' will be equally useful.

It should delete the files that were previously fetched for the current fetch, and fetch again.

This can help to ensure that MASTER_SITES/DISTNAME/DISTFILES is actually correct, vs. they are wrong and the build is picking up some previously fetched files.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2017-12-31 19:19:40 UTC
Maybe it should be as simple as:
> refetch:
>     make distclean ; make fetch
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2017-12-31 19:29:46 UTC
To clarify the rationale here: 'make refetch' is easier to remember and to use, this is why I think such command should be in place.