Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any offical method to mirror packages.microsoft.com ? #4697

Open
BH4EHN opened this issue May 18, 2020 · 5 comments
Open

Any offical method to mirror packages.microsoft.com ? #4697

BH4EHN opened this issue May 18, 2020 · 5 comments

Comments

@BH4EHN
Copy link

BH4EHN commented May 18, 2020

Issue Title

Is there any methods to mirror the .NET Core packages source (packages.microsoft.com) ?

General

I have a isolated environment without internet access but sometimes need .NET Core SDK and runtime.
Searched in the docs but not found anything about mirroring the offical package source.
Of cource I can use wget --mirror command to crawl the whole site, but I'm still looking for better way or the offical way to do it, like a lot package source provide rsync or ftp.

@dagood
Copy link
Member

dagood commented May 18, 2020

There is no official method, but we're tracking maintaining our own tarball of applicable packages to use for this kind of thing at #4379.

@BH4EHN
Copy link
Author

BH4EHN commented May 18, 2020

@dagood Thanks, I will try it when this come to .NET Core 3. And I still want to know is it ok to mirror the entire site with wget?

@dagood
Copy link
Member

dagood commented May 18, 2020

And I still want to know is it ok to mirror the entire site with wget?

This isn't an official way to mirror the repo, but that's all I really know. If you're concerned about licensing, I asked @leecow at #2882 (comment) with no response yet. As far as getting blocked (abuse detection or whatnot) it seems unlikely to me but something we might be able to ask the team that hosts this service.
/cc @NikolaMilosavljevic @MichaelSimons

@ArrowRaider
Copy link

ArrowRaider commented Aug 25, 2020

packages.microsoft.com is currently providing 38kbs which is unacceptable. We need a mirror.

@BH4EHN
Copy link
Author

BH4EHN commented Sep 3, 2020

@ArrowRaider I set up a internal reverse proxy (nginx) with cache, and all my servers are using it.

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

No branches or pull requests

3 participants