Page MenuHomeFreeBSD

Stop passing `?dummy=/distname` in URLs
Needs ReviewPublic

Authored by mat on Mon, Sep 14, 1:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 9:56 AM
Unknown Object (File)
Thu, Oct 1, 8:24 AM
Unknown Object (File)
Wed, Sep 30, 2:10 AM
Unknown Object (File)
Tue, Sep 29, 10:07 PM
Unknown Object (File)
Sun, Sep 27, 2:26 PM
Unknown Object (File)
Sun, Sep 27, 2:25 PM
Unknown Object (File)
Thu, Sep 24, 6:36 AM
Unknown Object (File)
Thu, Sep 24, 4:30 AM
Subscribers

Details

Reviewers
None
Group Reviewers
portmgr
Summary

This is an idea to fix a "caching" issue from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298395

Right now, fetch will be run as:

/usr/bin/fetch -Fpr  -S 20907 -o rust/crates/zeroize-1.8.2.crate https://static.crates.io/crates/zeroize/zeroize-1.8.2.crate?dummy=/rust/crates/zeroize-1.8.2.crate
/usr/bin/fetch -Fpr  -S 9153588 https://codeload.github.com/stevedekorte/io/tar.gz/2017.09.06?dummy=/stevedekorte-io-2017.09.06_GH0.tar.gz

With this patch, it changes things to:

/usr/bin/fetch -Fpr  -S 20907 -o rust/crates/zeroize-1.8.2.crate https://static.crates.io/crates/zeroize/zeroize-1.8.2.crate
/usr/bin/fetch -Fpr  -S 9153588 -o stevedekorte-io-2017.09.06_GH0.tar.gz https://codeload.github.com/stevedekorte/io/tar.gz/2017.09.06

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mat requested review of this revision.Mon, Sep 14, 1:20 PM
mat created this revision.

Fixup things and add ports that need fixing.
There are two other ports that define do-fetch and actually call do-fetch.sh biology/gatk and lang/bun, those need more fixing

Oh, no, the two ports that actually uses do-fetch are already broken, this patch is not what breaks them.

This is great, thanks! I'd like to see a "exp-fetch" on this. No need to build all ports, but at the very least, if we attempt to mass fetch ports and all the checksums match as before, then we can rest assured that ports will build the same way as before.