Create a new repository based on PlatformPlatofrm but not a fork #652
Replies: 2 comments
-
This is actually a solved problem in PlatformPlatform, so converting this to a discussion ;) We recently created a new CI command called The CLI command will create a new branch called Also, there is a convention in PlatformPlatform pull requests descriptions that will show instructions to maintainers of downstream projects to make changes in their projects to align with the PlatformPlatform conventions, architecture, etc. Or, in the case of a truly breaking change in PlatformPlatform, it will stop the cherry pick with clear instructions on how to move forward. Since PlatformPlatform is a boilerplate template, there will always be situations where there are merge conflicts. So, this is not a bulletproof way to pull changes, but it's much more structured than if maintainers of downstream projects manually have to use Git to pull changes. FYI: Currently, there is a problem when running the |
Beta Was this translation helpful? Give feedback.
-
The CLI command can work for existing repositories. The case I mentioned would be to make the onboarding and adoption easier by giving one command to have a boosted head start on a brand-new repository. I'm also wondering about creating a CLI command to add a new PlatformPlatform self-contained system. It would create a wireframe for the Core, API, web app, worker, tests and connect it to AppHost. Something like:
New discussion? |
Beta Was this translation helpful? Give feedback.
-
Detailed description?
When starting a new project based on PlatformPlatform, I desire a simple and implicit way to keep my project foundation updated with the latest changes from PlatformPlatform without having it as a repository fork. That's because some restrictions apply to a forked repository, such as not allowing it to be private.
It will be convenient to have this tool provided by the
developer-cli
, something like:This command should create, mirror, and clone a new repository on GitHub based on PlatformPlatform.
Describe alternatives you've considered
For my end, I did the following steps to achieve a good starting point:
--bare
optiongit push --mirror
to the private repositorygit remove -v
, you should see something like this:Now, we can update the private repository with changes from PlatformPlatform by doing:
Feature Type
DevOps, Reference example
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions