[git-users] Two repositories in one Visual studio project
Hello, I'm working on an opensource project caled T8SuitePro and T7Suite. Both have common code that is stored in CommonSuite. Now we made a submodule from CommonSuite within both TxSuite repositories. I'm working a couple of weeks now with this configuration but it feels like a bit overkill. A lot of administration needs to be done to get repositories in sync, and it is not easy to understand. Is this the way or is there a more simple solution? I was thinking in Just pull both repositories T8SuitePro en CommonSuite into c:\GitHub and in visual studio add project CommonSuite from c:\GitHub\CommonSuite instead of c:\GitHub\T8SuitePro\CommonSuite Regards, Meindert -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Two repositories in one Visual studio project
Good point. What left is how to make a distinction in the repository of the different projects? For example I move T7Suite and T8SuitePro to CommonSuite. Are the following actions a good approach?: - Move current files in CommonSuite to a subdirectory "Common"; - Move T7Suite repro in subdirectory CommonSuite/T7Suite; - Move T8SuitePro repro in subdirectory CommonSuite/T8SuitePro. I find it difficult to make dissensions like this :) development is done in VisualStudio /Meindert Op vrijdag 2 oktober 2015 15:25:41 UTC+2 schreef Magnus Therning: > > On Fri, Oct 02, 2015 at 02:44:55AM -0700, Meindert Oldenburger wrote: > > Thanks for answering. > > > > Before CommonSuite code was in Both "main" repositories, now we try to > > extract the common parts into CommonSuite. At the end we have > > hopefully most of the code in CommonSuite. But T8SuitePro and T7Suite > > are differend products that looks the same but are not. > > To me, "different products" doesn't automatically mean they should go > into separate git repos. > > For instance, as soon as you make a change to CommonSuite you need to > rebuild both T8 and T7. It sounds like you are trying to get as much > code as possible into CommonSuite, that would likely also mean that > almost *all maintenance* happens there, with the result that both > products need to be rebuilt on every change. So why complicate the > build process by requireing 3 checkouts? > > /M > > -- > Magnus Therning OpenPGP: 0xAB4DFBA4 > email: mag...@therning.orgjabber: mag...@therning.org > > twitter: magthe http://therning.org/magnus > > Java is, in many ways, C++--. > -- M Feldman > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Two repositories in one Visual studio project
On Fri, Oct 02, 2015 at 02:44:55AM -0700, Meindert Oldenburger wrote: > Thanks for answering. > > Before CommonSuite code was in Both "main" repositories, now we try to > extract the common parts into CommonSuite. At the end we have > hopefully most of the code in CommonSuite. But T8SuitePro and T7Suite > are differend products that looks the same but are not. To me, "different products" doesn't automatically mean they should go into separate git repos. For instance, as soon as you make a change to CommonSuite you need to rebuild both T8 and T7. It sounds like you are trying to get as much code as possible into CommonSuite, that would likely also mean that almost *all maintenance* happens there, with the result that both products need to be rebuilt on every change. So why complicate the build process by requireing 3 checkouts? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus Java is, in many ways, C++--. -- M Feldman -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: PGP signature
Re: [git-users] Two repositories in one Visual studio project
On Thu, Oct 01, 2015 at 11:35:36PM -0700, Meindert Oldenburger wrote: > Hello, > > I'm working on an opensource project caled T8SuitePro and T7Suite. Both > have common code that is stored in CommonSuite. Now we made a submodule > from CommonSuite within both TxSuite repositories. > > I'm working a couple of weeks now with this configuration but it feels like > a bit overkill. A lot of administration needs to be done to get > repositories in sync, and it is not easy to understand. > > Is this the way or is there a more simple solution? > > I was thinking in Just pull both repositories T8SuitePro en CommonSuite > into c:\GitHub and in visual studio add project CommonSuite from > c:\GitHub\CommonSuite instead of c:\GitHub\T8SuitePro\CommonSuite Why not merge all three into a single repo? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus Of course I laugh at my own jokes. You can't trust strangers. -- Phyllis Diller -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: PGP signature
Re: [git-users] Two repositories in one Visual studio project
Thanks for answering. Before CommonSuite code was in Both "main" repositories, now we try to extract the common parts into CommonSuite. At the end we have hopefully most of the code in CommonSuite. But T8SuitePro and T7Suite are differend products that looks the same but are not. /Meindert Op vrijdag 2 oktober 2015 10:56:12 UTC+2 schreef Magnus Therning: > > On Thu, Oct 01, 2015 at 11:35:36PM -0700, Meindert Oldenburger wrote: > > Hello, > > > > I'm working on an opensource project caled T8SuitePro and T7Suite. Both > > have common code that is stored in CommonSuite. Now we made a submodule > > from CommonSuite within both TxSuite repositories. > > > > I'm working a couple of weeks now with this configuration but it feels > like > > a bit overkill. A lot of administration needs to be done to get > > repositories in sync, and it is not easy to understand. > > > > Is this the way or is there a more simple solution? > > > > I was thinking in Just pull both repositories T8SuitePro en CommonSuite > > into c:\GitHub and in visual studio add project CommonSuite from > > c:\GitHub\CommonSuite instead of c:\GitHub\T8SuitePro\CommonSuite > > Why not merge all three into a single repo? > > /M > > -- > Magnus Therning OpenPGP: 0xAB4DFBA4 > email: mag...@therning.orgjabber: mag...@therning.org > > twitter: magthe http://therning.org/magnus > > Of course I laugh at my own jokes. You can't trust strangers. > -- Phyllis Diller > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] .gitignore ignored?
Hello Rusi, thank you very much for your help. You was right, the issue is now solved. Greetings Sascha Am Freitag, 2. Oktober 2015 06:11:26 UTC+2 schrieb rusi: > > On Fri, Oct 2, 2015 at 5:30 AM, Sascha Manns> wrote: > > Hello list, > > > > actually i'm having some trouble by using git. My .gitignore shows: > > > > sascha@sascha-desktop:~/RubymineProjects/hoe-manns$ cat .gitignore > > Index.yml > > hoe-manns.gemspec > > .yardoc > > SetupConfig > > SetupReceipt > > README.txt > > doc > > ChangeLog > > pkg > > .teamcity > > .idea > > Changelog > > > > But a git status says me: > > > > sascha@sascha-desktop:~/RubymineProjects/hoe-manns$ LANG=C git status > > On branch develop > > Your branch is up-to-date with 'origin/develop'. > > Changes not staged for commit: > > (use "git add ..." to update what will be committed) > > (use "git checkout -- ..." to discard changes in working > directory) > > > > modified: .idea/workspace.xml > > A file that is in the repo (already) needs to be removed first to be > ignored. See: > > http://stackoverflow.com/questions/1139762/ignore-files-that-have-already-been-committed-to-a-git-repository > > > I prefer this for the task (assuming changing history is ok) > https://rtyley.github.io/bfg-repo-cleaner/ > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Two repositories in one Visual studio project
On Fri, 2 Oct 2015 06:52:33 -0700 (PDT) Meindert Oldenburgerwrote: > Good point. What left is how to make a distinction in the repository > of the different projects? For example I move T7Suite and T8SuitePro > to CommonSuite. Are the following actions a good approach?: > - Move current files in CommonSuite to a subdirectory "Common"; > - Move T7Suite repro in subdirectory CommonSuite/T7Suite; > - Move T8SuitePro repro in subdirectory CommonSuite/T8SuitePro. > > I find it difficult to make dissensions like this :) > development is done in VisualStudio I'd just have three top-level directories: Common, T7Suite, T8Suite. If each of these entities result in several assemblies being built, have a subdirectory for each. That's a pretty common approach to organizing .NET code, really. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[git-users] Is there a forum for GitHub Enterprise?
Or I can post questions here? Thanks Jirong -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Two repositories in one Visual studio project
Thanks. No I like to do a copy with history from a repository into a directory of another repository git T8Suite TrionicSuites/T8Suite Both T8Suite and TrionicSuites are repros /Meindert Op vrijdag 2 oktober 2015 17:43:43 UTC+2 schreef Konstantin Khomoutov: > > On Fri, 2 Oct 2015 06:52:33 -0700 (PDT) > Meindert Oldenburgerwrote: > > > Good point. What left is how to make a distinction in the repository > > of the different projects? For example I move T7Suite and T8SuitePro > > to CommonSuite. Are the following actions a good approach?: > > - Move current files in CommonSuite to a subdirectory "Common"; > > - Move T7Suite repro in subdirectory CommonSuite/T7Suite; > > - Move T8SuitePro repro in subdirectory CommonSuite/T8SuitePro. > > > > I find it difficult to make dissensions like this :) > > development is done in VisualStudio > > I'd just have three top-level directories: Common, T7Suite, T8Suite. > If each of these entities result in several assemblies being built, > have a subdirectory for each. That's a pretty common approach to > organizing .NET code, really. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.