Page MenuHomeFreeBSD

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

Authored by mat on Mon, Sep 14, 1:20 PM.

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.