Use source and not dist in gitlab repositories
Hi,
Is it possible within https://repman.io to use git packages and use source not dist? cloning the repository. I tried to add a project via the url git@git... but I got this error

It should be possible with https:// url format, but this approach will require to add credentials to url ... :thinking: which not necessarily is something you want to do.
It should be possible with
https://url format, but this approach will require to add credentials to url ... 🤔 which not necessarily is something you want to do.
is that I needed the source version at my place of work, as I change and version directly in the package I'm using.
I resolved temporarily by creating a token in gitlab and using my https://user:token@git... this way it downloads the source version and not just the dist.
I just tried such a scenario since I also need it in my organization.
After adding the package through the gitlab integration I was able to download the package along with its respective git repository either by running:
composer update --prefer-source
or by defining in the composer.json:
"config": {
"preferred-install": {
"*": "source"
}
}
and running composer update