Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the package directory to a separate repo #54

Open
Looooong opened this issue Sep 20, 2022 · 0 comments
Open

Move the package directory to a separate repo #54

Looooong opened this issue Sep 20, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Looooong
Copy link
Contributor

Looooong commented Sep 20, 2022

In essence, this repo is a development project that includes the Mixture package. I would love to have the package directory moved to a separated repo and included in this repo as a git submodule.

The reason behind this is that I cannot use registry package because I want to make a few modifications. On the other hand, I also cannot use local package because I cannot share the modification with my colleague. In my use case, I want to fork ONLY the package as a repo and can easily add this forked repo to Unity Package Manager using git URL. By doing so, I can collab with my colleague on both the Unity project along with the forked repo.

Basically, you can setup your repos like one of the following:

  • Use Mixture repo for dev project and use Mixture-package repo for package.
  • Use Mixture repo for package and use Mixture-dev for dev project.
  • Use Mixture repo for package and move the dev project info a orphaned branch under Mixture repo. This is what I have done for my Unity package where the dev project is moved to branch legacy and is also distributed in Releases as demo project

The later 2 options are preferable as people can contribute directly to the already popular repo.

@Looooong Looooong added the enhancement New feature or request label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants