Comments (5)
You'll have to either host some sort of private packagist (use https://packagist.com, the official open source https://github.com/composer/packagist/, https://github.com/lukaszlach/satis-server or any other available tool for that) or map your package directly to your repo (good explanation here: https://barryvanveen.nl/blog/55-installing-a-private-package-with-composer). Either way there seems not to be an issue with the flex server, I'll therefore close this.
from server-for-symfony-flex.
Hi there,
should actually work, works for bitbucket repos for me and also for selfhosted gitlab. So neither selfhosting nor bitbucket should be a problem.
What exactly doesn't work? Make sure to double check your repo url (see https://server-for-symfony-flex.readthedocs.io/en/latest/topics/configuration/#private-recipes-repo)
Github has proven to be quite good in resolving git requests, other providers or git servers may be pickier. If you run into problems, try to play with '.git', the protocol prefix or the type of url provided.
Also make sure that your repo is available for the server.
from server-for-symfony-flex.
I'm going to start with the easy with Github,
I have my recipes: https://github.com/keldrox/symfony-recipes
My server-for-symfony-flex server has configured in the .env file FLEX_RECIPE_REPO_PRIVATE = https: //github.com/keldrox/symfony-recipes
Performed the command "php bin / console recipes: reset"
All OK: https://ibb.co/KrMygyt
In my Symfony project I edit the composer.json file and add
"symfony": {
"endpoint": "XXXX"
},
I execute "composer require keldrox / demo-bundle" but it is not found
What can happen?
Thank you!
from server-for-symfony-flex.
I think there might be a slight misunderstanding in what Flex is supposed to do here. Symfony Flex does not serve your bundles to composer, it just enriches them by using recipes. That means: Your bundle needs to be published on packagist (or some private clone) in order to be able to install it using composer. Make sure to check this with a package that exists.
from server-for-symfony-flex.
Thanks again moay.
Exactly using the package with Packagist works. But my packages are in a private bitbucket server. In this case how could I proceed?
I think I'm missing the composer connection with my private packages on Bitbucket Server, but I don't know how to proceed
Thank you!
from server-for-symfony-flex.
Related Issues (20)
- Official Endpoint proxy broken
- Upgrade webpack encore HOT 5
- Catch "InvalidArgumentException" if repository for private recipes is empty
- Name of the repository HOT 8
- Integration of PHP-CS-Fixer
- Coveralls
- webhook does not word at all HOT 2
- Provide hook for refreshing recipes HOT 1
- Issue with static assets HOT 3
- Official Symfony recipes broken because they use symlinks with 4.4
- Interested in merging back changes from my fork? HOT 1
- local recipes title loaded wrong HOT 2
- problem with copy-from-recipe HOT 2
- Are recipe updates really available? HOT 1
- Recipe can not be downloaded HOT 1
- Feature request: Allow to specify branch that should be used to build recipes
- php7.3 Browser access error after startup. But other uses are normal. HOT 3
- Serverless flex compatibility HOT 1
- Could not resolve host: symfony.sh
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 server-for-symfony-flex.