Lesson Learned: Sharing Code With Git Submodule

Posted by Seng Lin Shee on February 26, 2015 in Agile, Development, Technical Management

You are probably aware of Git Submodules. If you haven’t, you may want to read about it from Atlassian and Git itself. In summary, Git provides a way to embed a reference to a separate project within a main project, while treating both projects as separate entities (versioning, commits etc).  This article applies to any project that makes use of such scenarios, irrespective of programming languages.

Recently, my team had issues with working with submodules. These ranged from changes in project structure to abrupt change in using tools and commands when working on projects that involve submodules.  In the industry, there are opinions that consider Git submoduling as an anti-pattern, where the ideal solution is to reference shared code only as precompiled packages (e.g. NuGet, Nexus etc).

This post is a short reflection on how we can restrict ourselves to only certain scenarios and how best to use projects utilizing submodules daily. (more…)

Leave a comment

Past Articles

AncestryDNA Scientists Achieve Advancement in Human Genome Reconstruction

Posted by Julie Granka on December 16, 2014 in DNA, Science, Uncategorized

Passed down through the generations, fragments of the genomes of long-gone ancestors exist today in the genomes of their living descendants. Those fragments can actually be used to recover parts of those ancestors’ genomes – without having to resort to some more morbid techniques for obtaining their DNA.  That means a potentially easier way for… Read more

Lessons Learned from a Monster Artist

Posted by Dan Lawyer on November 19, 2014 in Inside our Offices

Yes, we made monsters out of clay. If you happened to be in Midway, Utah at the very end of September you might have bumped into the Ancestry product team holding our annual product summit. About 80 of us gathered for an action packed two-day event filled with team building, strategic conversations, and a few… Read more

Monitoring progress of SOA HPC jobs programmatically

Posted by Chad Groneman on October 17, 2014 in C#, Development, Distributed Computing

Here at Ancestry.com, we currently use Microsoft’s High Performance Computing (HPC) cluster to do a variety of things.  My team has multiple things we use an HPC cluster for.  Interestingly enough, we don’t communicate with HPC exactly the same for any distinct job type.  We’re using the Service Oriented Architecture (SOA) model for two of… Read more

2 Talks and 4 Posters in 4 Days at the ASHG Annual Meeting

Posted by Julie Granka on October 15, 2014 in DNA, Science

For the AncestryDNA science team, October brings more than fall foliage and pumpkins.  It also brings us the yearly meeting of the American Society of Human Genetics (ASHG), the main conference of the year in our field. On Saturday, we’ll arrive in San Diego to join thousands of other scientists for a four day conference… Read more

Ancestry Opens Its Doors for NewCo.SF

Posted by Melissa Garrett on September 8, 2014 in Technology Conferences

Ancestry was selected as a 2014 NewCo.SF host company. Come join us at our San Francisco office on Thursday, Sept. 11 at 4:30pm PT to hear from Eric Shoup, EVP of Product at Ancestry.com. He will provide an inside look at the unique and meaningful business of family history and the tech, science, and product… Read more

Stop using anchors as buttons!

Posted by Jason Boyer on September 2, 2014 in Accessibility, CSS/HTML/JavaScript, UX, Web

Semantic buttons and links are important for usability as well as accessibility. Hyperlinks indicate a URL change, whereas buttons are used to perform an action. I thought this post up in response to a question asked on Stack Overflow over 5 years ago. Which one should you use? <a href=”#” onclick=”doSomething()”>Do Something</a> <a href=”javascript:void(0);” onclick=”doSomething()”>Do… Read more