Stash Shared repository object between Projects

David Garcia April 8, 2015

Hi All:
I'm my name is David and I'm from Argentina and my company is in middle of Stash + JIRA + Confluence implementation process using Scrum methodology.
Our issue is how we should create the projects and repositories, because our business unit works sharing the same requirements (user story) between other projects (differents managements). That's means that we can have one object modified by two different projects. I will leave a picture below like a demonstration. the text written says "Exist some kind of solution to sync the modification"?

 

thanks in advance

kind regards

 

David

20150407_172030.jpg

2 answers

0 votes
David Garcia April 8, 2015

Hi Daniel, thanks a lot the answer. 

You mean that I should isolate the shared objects in a third repository? Or I should clone the duplicate objects in a third Project.

Thanks in advance

David

 

Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2015

I would move it out to it's own repository. That way you can get alerted to when it gets updated etc. Part of the reason is just how Git works with the changes being global across the repository so people might do a pull just because the changeset changed when it was the shared object that was updated.

0 votes
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2015

What you'll probably want to do is to pull those objects into a third repo so that you can keep track of when it changes and move the local reference up when you want to pull them in (using something like Git submobules). http://git-scm.com/docs/git-submodule

Suggest an answer

Log in or Sign up to answer