Comments (13)
Nobody uses packagist-mirror without packagist.org as domain name ?
from packagist-mirror.
A despicable workaround ...
unzip packages.json.gz
sed -i 's/repo.packagist.org/myinternaldomain.int' packages.json
from packagist-mirror.
from packagist-mirror.
@fredbcode you man installing it in ur local system to mirror ?
from packagist-mirror.
Yes I want mirroring packagist.org for users without internet access
I can now with this workaround #62 (comment)
packages.json contains "hardcoded" urls to internet domain name
from packagist-mirror.
@fredbcode ok got it but the thing is this mirror script will not fully download every package in ur local / server . this requires an active internet connection. this mirror is there just to provide an quicker access to the downloadable content.
from packagist-mirror.
from packagist-mirror.
@fredbcode this script collects data as a JSON and here you can see an example
https://packagist.in/p/varunsridharan/php-autoloader$43f855e12f3936742ebfe87275273239884f61acefeaa20fedefb270637696c3.json
that json is for this package https://packagist.org/packages/varunsridharan/php-autoloader
this script dose not download the sourcecode into local it just provides a link on where to download
from packagist-mirror.
Doh ! So packagist is not really a php mirror
There is a way to do that ?
from packagist-mirror.
Yes not a full mirror even packagist.org itself dose not download any packages into local it just provide a link to download.
from packagist-mirror.
Thank you, so there is no way to have a full mirror ? like npm, apt, python, etc ?
from packagist-mirror.
Well i dont think so . in case if u want to do that it would require around 100s OF GBs
from packagist-mirror.
Thank you, so there is no way to have a full mirror ? like npm, apt, python, etc ?
This mirror is only metadata mirror because get all code on local is huge, don't scale with time, we talk about 1.6 million os versions to be downloaded.
npm is the only that support this kind of mirror with smart download, on first call the proxy download and create a cache.
apt can point to mirror local too.
composer create an automatic local cache too, you can work on this.
from packagist-mirror.
Related Issues (20)
- Services lose get parameters after mirroring HOT 1
- Add FOSSA
- Update mirroring code to our official mirror code HOT 10
- support composer v2? HOT 1
- packagist.hostuj.to down HOT 1
- "do not match its signature" HOT 13
- Will it mirror zip files of packages? HOT 1
- A
- A
- Error - Impossible to create the root directory HOT 4
- Add support to Google Analytics HOT 1
- in progress HOT 1
- Not Downloading Meta information properly HOT 20
- Sync Packes More Frequent. HOT 3
- Build a miror behind a proxy HOT 4
- Warning: failed to open stream: Too many open file HOT 2
- composer install error HOT 3
- Extra dependencies?
- Drop PHP 7.1 support for next release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packagist-mirror.