https://www.synology.com/it-it/knowl...M/help/Git/git
Quindi ho creato anche l'apposito file composer.json (nella directory del repository)
Codice: Seleziona tutto
{
"name": "test/test",
"version": "1.1.1",
"require": {}
}
Codice: Seleziona tutto
+ cd /test
+ cat composer.json
{
"require": {
"test/test": "*"
},
"repositories": {
"test/test": {
"type": "vcs",
"url": "nas:/volume1/git/test"
}
}
}
+ composer update
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package test/test could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
L'unica soluzione che ho trovato è clonare direttamente il repository
Codice: Seleziona tutto
$ git clone ssh://nas/volume1/git/test