Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Why RESTRICT=mirror? #32

Closed
lo48576 opened this issue Apr 11, 2020 · 3 comments
Closed

Why RESTRICT=mirror? #32

lo48576 opened this issue Apr 11, 2020 · 3 comments

Comments

@lo48576
Copy link

lo48576 commented Apr 11, 2020

RESTRICT="mirror"

The RESTRICT="mirror" setting should be used if we cannot legally mirror certain files; files will still be downloaded from the original locations.

Mirrors – Gentoo Development Guide

Many projects written in Rust are OSS (as far as I know), and RESTRICT=mirror seems not necessary for such usual OSS applications, especially when we want ebuild files for them.

Why is this line included in default template?

If this exists for safety (i.e. to prevent accidentally mirroring proprietary stuff), then I want some comments in the template to indicate when this line is necessary and when unnecessary.

lo48576 referenced this issue in gentoo/guru Apr 11, 2020
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
lo48576 referenced this issue in gentoo/guru Apr 11, 2020
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
lo48576 referenced this issue in gentoo/guru Apr 11, 2020
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
@lo48576
Copy link
Author

lo48576 commented Apr 11, 2020

Ok, I understand this exists to prevent portage from fetching crates from mirrors while they are not deployed to mirror servers.
I still want comment lines for this (because actually mirroring is not "restrict"-ed), but RESTRICT=mirror itself would be useful and should not be removed for now.

@cardoe
Copy link
Owner

cardoe commented May 5, 2020

PR is welcome if you'd like to add that boilerplate into every ebuild.

@cardoe
Copy link
Owner

cardoe commented Jan 10, 2021

Closing as abandoned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants