I have repository that is used in multiple projects. I am unable to add it to more than one project :-( . How to add it to all projects that depend on the repository?
Hello @mitov
This is not possible. Maybe the projects should be repositories that depend on this repository in the same project?
Thank you @Graham Twine
Separating the projects per repository is not possible.
Some of the repositories are open source, and they are libraries naturally used by multiple projects.
Others are private libraries used across projects and products as well.
This limitation makes projects completely useless from a practical point of view :-( .
I am very disappointed, as I got excited about the possibility of organizing my repositories per projects, but well... I guess just a useless feature :-(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@mitov May I challenge why a project needs access to the source of another project?
Most applications have dependencies, tools like maven, gradle or yarn to mention but a few assist a team to include these in a project.
This depends on the technology used to create the binary.
With the above in mind; one of your core libraries should be left in its own project and this project may include any number of repositories.
When a new version of the project is built it should be deployed to something like Nexus, Artifactory, nuget or your custom internal Docker registry.
Other projects can depend on different versions of this thing.
The team developing the core thing may also release snapshots in things like a nightly build so teams using the library can also get new features not yet released.
Maven or Gradle is used so I can include things like the Jira API from atlassians pulic repo to write a custom plugin. I do not require the source code to Spring or some other propitiatory library.
If I am understanding your use case correctly I would propose using something like a private repository to manage dependencies.
Kind Regards,
Graham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Graham Twine ,
The projects are Desktop applications build in various IDEs, and the libraries are component libraries that need to be maintained compiled and installed in the IDEs for the development.
None of this uses Docker, or other build deployment tools.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.