Comments (10)
👍 That would be a very nice feature
from satisfy.
@ludofleury What do you think about this feature? May i try to implement that?
from satisfy.
So, bacisally, if I have some a composer.lock with a mix of repos (some available on packagist, some available on a satis #1 and some available on a satis #2) What would be the behavior ?
from satisfy.
For my use case, i want satis to mirror all dependencies as archives. So i would import all repos from composer.lock.
from satisfy.
Oh I see.
So what should be the best way to do that ?
- CLI command ?
- Upload a composer.lock in a web GUI ?
- Define a project repository url and automatically fetch the composer.lock and mirror ?
from satisfy.
First, i would use a simple web gui form. The Target of the form POST might be used in external systems via 'curl'.
A CLI Commands sounds nice too, but not yet needed, maybe later.
Automatically fetching is too specific i think.
from satisfy.
All right go for it !
from satisfy.
@ludofleury Please have a look at this commit:
h4cc@fc88972
I had a problem with your Manager->add() because of the flush() in there and the duplicate copying of the satis.json - So i created a addAll().
Then i thought about using Serializer for the composer.lock, but that would be too much overhead.
from satisfy.
@h4cc I just reviewed. It looks kiss & cool. I think about getting composer in the dependency or something to JSON validate the composer.lock with the json schema.
Serializer could be cool... but as you said, it may be too much overhead. I'll check on it after we merge your feature.
from satisfy.
Maybe Serializer might be too much, because we just want to read the file.
Think i will give this a try, havent used it yet but looks promising: https://github.com/justinrainbow/json-schema
from satisfy.
Related Issues (20)
- You cannot guess the mime type as the Mime component is not installed. Try running "composer require symfony/mime". HOT 1
- [Bug] Tag metadata not well supported HOT 1
- More information about the webhook HOT 1
- New install does not work HOT 4
- 'Service "Playbloom\Satisfy\Service\LockProcessor" not found' error when trying to upload composer.lock file HOT 1
- Is the Bitbucket webhook is also working for Bitbucket on premise? HOT 1
- GitLab rebuild webhook not working HOT 2
- Add section "minimum-stability-per-package"
- Configurable logger HOT 1
- (Request) Add an abandoned checkbox HOT 1
- GitHub Webhook URL returns 400 error when APP_DEBUG is 0 HOT 8
- Build packages button stopped to work HOT 5
- I need a docker to manage upgrades HOT 4
- Transfer the repository ownership HOT 2
- How to update installation? HOT 4
- Does webHook have instructions
- Webhook 500 Response Code 255 HOT 2
- Feature Request: Published Docker Image HOT 4
- PHP 8.2 Support HOT 2
- How to set up a user for the backend HOT 1
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 satisfy.