jessehouwing / azure-pipelines-tfvc-tasks

Azure Pipelines tasks for Team Foundation Version Control
https://marketplace.visualstudio.com/items?itemName=jessehouwing.jessehouwing-vsts-tfvc-tasks
MIT License
27 stars 18 forks source link

Create a merge task #34

Open mslagle opened 8 years ago

mslagle commented 8 years ago

It would be helpful to have a merge task. At my company, we have many branches that need merged from the parent branch daily. We achieve this with two calls to tf.exe (one to merge, one to checkin). You already have a checkin task, just need a merge task.

jessehouwing commented 8 years ago

I suspect that you'd be able to use 'tf merge' from the commandline before calling my tf checkin task.

Merge doesn't have to interact with the repository I suspect, so the commandline should work just fine.

On Jul 26, 2016 14:41, "mslagle" notifications@github.com wrote:

It would be helpful to have a merge task. At my company, we have many branches that need merged from the parent branch daily. We achieve this with two calls to tf.exe (one to merge, one to checkin). You already have a checkin task, just need a merge task.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jessehouwing/vsts-tfvc-tasks/issues/34, or mute the thread https://github.com/notifications/unsubscribe-auth/AD-uS0_uxFxKUDwiA2PJ2AK3I2L3QTnoks5qZlTugaJpZM4JVdXL .

mslagle commented 8 years ago

I am currently using command line, so I don't think anything complex is needed.

jessehouwing commented 8 years ago

Given that I need to provide support for the tasks I write. Or at least try to do as best I can, we do need to think what happens in gated and shelveset builds. Or at least provide a default option to skip the task in those cases.

I don't have time until October for this, looking at my current priorities. If you want to provide a pull request, we'll be able to at least test some scenarios.

The update gated checkin is probably a good base task to start from, it has all the conditional logic already built in.

sol-lee commented 6 years ago

Any updates on the merge task? It would be nice to have it.