unfoldingWord / translationCore

Repository for the desktop application translationCore
https://www.translationcore.com
Other
36 stars 11 forks source link

Fork a project in DCS before importing a project from someone else's repo #5992

Open benjore opened 5 years ago

benjore commented 5 years ago

Story Explanation

User Story

As a team member working on a group project, I want tC to fork the original project to my repo in DCS so that when I'm done and upload the project to my repo, I can simply issue a PR to merge it back into the "master" branch.

Features / Specifications

Definition of Done

Additional Context

Mockups

jag3773 commented 5 years ago

Note that the forking tree information is arguably more important than needing to do a PR later, but we get both with a fork :)

benjore commented 5 years ago

Koz - need to make it an option Manny - merge conflicts? Spidel - what about name changes?

PhotoNomad0 commented 5 years ago

@jag3773 - since the new project has same history, couldn’t we do merge requests now? Or is it that DCS doesn’t give that option?

Sent from my iPhone

On Apr 23, 2019, at 2:30 PM, Ben Jore notifications@github.com wrote:

Koz - need to make it an option Manny - merge conflicts? Spidel - what about name changes?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jag3773 commented 5 years ago

Yeah you could do that manually. The problem is that we are not preserving the trail of data.

Recording the fork in DCS provides many advantages for workflow, debugging, and general provenance.

Koz - I don't think it should be an option, it should just be what tC does, just like if you were to copy a repo on DCS, you hit the fork button, that's just the way it works. If you really want to subvert the system you can download it yourself and push it back up to your account but the default behavior should be to preserve the relationship.

Manny - this shouldn't pose any merge conflict issues.

Spidel - this is unrelated to any naming changes or issues.

To be clear, I'm just talking about hitting this API endpoint: https://git.door43.org/api/swagger#/repository/createFork . Should just be a single request and then the rest of the import process would be identical to what (I expect) you have now.