New topic: Source Code Control?
<http://forums.realsoftware.com/viewtopic.php?t=47740> Page 1 of 1 [ 6 posts ] Previous topic | Next topic Author Message BrianOBrien Post subject: Source Code Control?Posted: Mon Apr 29, 2013 6:50 pm Joined: Wed Jul 07, 2010 2:55 pm Posts: 691 Location: University Of Calgary, Faculty Of Medicine I have a lot of re-usable code that I reference in my project files as external files. However I've gotten myself in a jam where I updated one of these external file in one project and if had ramifications in another project. If I've messed up I guess I just have to learn to use git or something to maintain versions. However have I missed a way to get the source code back from the build folder? Is there a way to make all of my external files 'internal' at some point to checkpoint all the version dependancies into the project file? (I know you can do it one reference at a time, but that can be a lot of work.) _________________ If at first you don't succeed... Try REALBasic. Top npalardy Post subject: Re: Source Code Control?Posted: Mon Apr 29, 2013 8:35 pm Real Software Engineer Joined: Sat Dec 24, 2005 8:18 pm Posts: 7793 Location: Canada, Alberta, Near Red Deer BrianOBrien wrote:I have a lot of re-usable code that I reference in my project files as external files. However I've gotten myself in a jam where I updated one of these external file in one project and if had ramifications in another project. If I've messed up I guess I just have to learn to use git or something to maintain versions. Not an uncommon occurrence where you update the code elsewhere & it has unintended side effects BrianOBrien wrote:However have I missed a way to get the source code back from the build folder? No - there is no way BrianOBrien wrote:Is there a way to make all of my external files 'internal' at some point to checkpoint all the version dependancies into the project file? (I know you can do it one reference at a time, but that can be a lot of work.) No all at once way _________________ Norman Palardy (Real Software) Top Jason_Adams Post subject: Re: Source Code Control?Posted: Tue Apr 30, 2013 6:40 am Joined: Fri Nov 10, 2006 4:10 pm Posts: 1801 Location: Michigan, USA Just piecing together what you've said in the past, I'd strongly suggest taking the time to incorporate a Version Control System such as Mercurial or Git. The learning curve really isn't that bad and going back, like you're talking about, is a piece of cake. I keep my projects on Bit Bucket for free. I especially like Distributed Version Control as all of my code is stored on all development machines and Bit Bucket. Makes me warm and fuzzy. _________________ Windows 7 Ultimate x64 Windows XP Pro SP3 Ubuntu 11.04 via Virtual Box RS Enterprise 2012r1.1 Programming Tutorials & Free Projects: http://www.JasonTheAdams.com "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top tempel Post subject: Re: Source Code Control?Posted: Tue Apr 30, 2013 8:27 am Joined: Fri Sep 30, 2005 10:01 am Posts: 283 Location: Germany, Munich BrianOBrien wrote:Is there a way to make all of my external files 'internal' at some point to checkpoint all the version dependancies into the project file? Yes, my tool Arbed can do that, for many years now. I would think someone would have noticed this by now. See http://www.tempel.org/Arbed In fact, Arbed can also help with SCC even if you want to keep using externals: While RB propagates using their textual "VCP" format for SCC, it has one disadvantage: You cannot use it with externals. Unless you turn such external items in XML or RBO format. And if you do that, Arbed's Compare functionality helps seeing the differences in those hard-to-read files. See http://www.tempel.org/Arbed/SCM _________________ User of RB since first version. Provider of many free and outdated plugins. Code for sharing: http://www.tempel.org/RB/Resources Arbed, a unique tool for editing projects: http://www.tempel.org/Arbed Zip compression classes: http://www.tempel.org/RB/ZipPackage Top me.self Post subject: Re: Source Code Control?Posted: Tue Apr 30, 2013 9:04 am Joined: Wed May 25, 2011 10:18 am Posts: 23 VCP clients already exist. And they work well. Why re-invent the wheel? Chances are high it would come either come with a feature-set where people complain, or in a quality where people will complain. The RB-Database-Designer is one example, and it should be lesson enough to not do things which already exist. At least not when dev resources are limited. Kind regards Christian _________________ me.self works with: Real Studio Pro (always the latest), 10.7.x, Mac mini i5, Love Top tempel Post subject: Re: Source Code Control?Posted: Tue Apr 30, 2013 9:13 am Joined: Fri Sep 30, 2005 10:01 am Posts: 283 Location: Germany, Munich me.self wrote:VCP clients already exist. And they work well. Why re-invent the wheel? Is this in response to my post about Arbed? (edit) No, you can't mean that. You probably replied to someone asking that RS would incorporate a VCS into the IDE, right? (hint: if you reply, it helps quoting or otherwise pointing out what you reply to) _________________ User of RB since first version. Provider of many free and outdated plugins. Code for sharing: http://www.tempel.org/RB/Resources Arbed, a unique tool for editing projects: http://www.tempel.org/Arbed Zip compression classes: http://www.tempel.org/RB/ZipPackage Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 6 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
