<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Raspberry Pi 4B and Gitlab, part 1</title><link>/products/raspberry-pi/b/blog/posts/raspberry-pi-4b-and-gitlab-part-1</link><description>IntroductionI am one of the winners of a brand new Raspberry Pi 4B https://www.element14.com/community/docs/DOC-93093/l/announcing-our-raspberry-pi-4-giveaway-winners . My project proposal was to try running a Gitlab server https://about.gitlab.com/ </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Raspberry Pi 4B and Gitlab, part 1</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pi-4b-and-gitlab-part-1</link><pubDate>Mon, 30 Sep 2019 06:41:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f56e081c-e01f-4b3b-8f43-dcb5bf21c82d</guid><dc:creator>koudelad</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thank you, &lt;span&gt;[mention:d85999949f974a74a457e05151ea1c2b:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; and &lt;span&gt;[mention:d214a0a0f5594ee19515b2a3782e7070:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; .&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For my hobby projects, I also previously created a zip archive for every version. I used only a few source files and it was somehow manageable.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I also have an example where the device manufacturers can make life much harder:&lt;/p&gt;&lt;p&gt;A few years ago, I started playing with PSoCs and their IDE, the PSoC Creator. There is no built in version control system (VCS) support, so I stuck with zip archives. One part of a PSoC development is creating the component structure in graphical editor. (Here is an example from &lt;a class="jive-link-blog-small" href="/challenges-projects/project14/programmable-logic/b/blog/posts/psoc-ultrasonic-range-meter"&gt;PSoC ultrasonic range meter&lt;/a&gt; ):&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/490x360/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-f56e081c-e01f-4b3b-8f43-dcb5bf21c82d/3362.contentimage_5F00_204668.png:490:360]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Later, during compilation, tens or hundreds of source and header files are generated. If you want to fully control your source code and have the ability compile the code later without the IDE, you need to have the files in one pack - but there are also other non-source files, which are unnecessary to version as they only clog the repository (because they change every compilation).&lt;/p&gt;&lt;p&gt;One solution was zipping the entire project. The other is use VCS without the connection to the IDE, which is what I recently chose. If you want to know see more, have a look at my post, just see the &lt;em&gt;.gitignore&lt;/em&gt; file. &lt;a class="jive-link-blog-small" href="https://www.element14.com/community/people/koudelad/blog/2019/06/18/version-control-in-psoc-creator"&gt;Version control in PSoC Creator&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When starting with version controlling, it is always a bit painful transition, but it pays off. Gitlab or similar SW / service can help a lot.&lt;/p&gt;&lt;p&gt;I will insert a link in the next part, but a key factor to success is discipline, good tool set and a good branching model. Many companies use this one: &lt;a class="jive-link-external-small" href="https://nvie.com/posts/a-successful-git-branching-model/" rel="nofollow ugc noopener" target="_blank" title="https://nvie.com/posts/a-successful-git-branching-model/"&gt;https://nvie.com/posts/a-successful-git-branching-model/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope I will get to writing a next part soon, but we are doing a small reconstruction and redecoration at home.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7861&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raspberry Pi 4B and Gitlab, part 1</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pi-4b-and-gitlab-part-1</link><pubDate>Sat, 28 Sep 2019 15:37:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f56e081c-e01f-4b3b-8f43-dcb5bf21c82d</guid><dc:creator>genebren</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Great blog!&amp;nbsp; This is definitely something that I should learn more about.&amp;nbsp; Back in my early days of Unix, RCS was such a useful tool.&amp;nbsp; As I moved into the world of development on DOS, all of the early clones of RCS were very flaky and I lost more code than I saved, leaving me very leery of these clones.&amp;nbsp; Since then, I have reverted to saving sources for each version, but I really need to rejoin the present and find a better solution.&amp;nbsp; Thanks for the push in right direction.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7861&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raspberry Pi 4B and Gitlab, part 1</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pi-4b-and-gitlab-part-1</link><pubDate>Sat, 28 Sep 2019 08:43:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f56e081c-e01f-4b3b-8f43-dcb5bf21c82d</guid><dc:creator>14rhb</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;A great blog, thank you &lt;span&gt;[mention:00dfb01ff12548938b4b7669fc69e778:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; . I hadn&amp;#39;t heard of Gitlab before but it makes absolute sense allowing better remote working in teams I guess. I&amp;#39;m looking forward to your follow on blogs.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve recently started to get into using git and really like the way you can jump back and forth, create branches and highlight all the differences. I used to just keep saving the files as new versions but that started to become awkward when IDE manage the whole project and you aren&amp;#39;t always sure where the files are. I also know just enough git to be dangerous to my projects - I&amp;#39;ve managed to add so much as to make them almost break or have got lost as to what branch/revision I should be in. But like most things - practice and application always help the learning....so onwards &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-f56e081c-e01f-4b3b-8f43-dcb5bf21c82d/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7861&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>