Page MenuHomeFreeBSD

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

Authored by mat on Mon, Sep 14, 1:20 PM.
Tags
None
Referenced Files
F172623073: D59663.id186971.diff
Sat, Sep 19, 6:42 PM
F172623037: D59663.diff
Sat, Sep 19, 6:41 PM
F172622968: D59663.id186656.diff
Sat, Sep 19, 6:41 PM
F172594715: D59663.id186971.diff
Sat, Sep 19, 1:33 PM
F172593878: D59663.id.diff
Sat, Sep 19, 1:24 PM
F172591479: D59663.id186971.diff
Sat, Sep 19, 12:54 PM
F172588757: D59663.diff
Sat, Sep 19, 12:20 PM
F172509043: D59663.diff
Fri, Sep 18, 10:47 PM
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.