Git monorepo diff a package subtree with HEAD

0 votes

I am trying to build a monorepo microservices application, microservices will be written in various languages

Mar 27, 2018 in DevOps and Microservices by Atul
• 10,240 points
1,123 views

1 answer to this question.

0 votes

 Build a makefile to look through all subdirs and make package dynamic in order to check every package, but this command fails, it displays every file in my subpackage, all the times.

The current solution I found out for checking changes is :

  • build a subtree with packages/gateway
  • diff the tag gateway@1.0.0 with subtree (same dir structure, so diff works)
  • if I have > 0 files modified, the package need to be rebuilt
  • destroy tmp tree

But this create/destroy local subtrees seems like an overkill to me, as I need to do it for each package

LLevel up your skills with our Microservices Course.

answered Mar 27, 2018 by DragonLord999
• 8,450 points

Related Questions In DevOps and Microservices

+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 votes
1 answer
0 votes
1 answer

How to set a custom install directory for a deb package with fpm

Here's something that you can try... the last ...READ MORE

answered Mar 26, 2018 in Big Data Hadoop by Amrinder
• 140 points
1,521 views
0 votes
1 answer

Is there any way to include a python package with Hadoop streaming job?

See I don't know the answer to ...READ MORE

answered May 10, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
2,195 views
0 votes
1 answer

How to use Ansible git module pull a branch with local changes?

You cannot achieve it using the git ...READ MORE

answered Jul 9, 2018 in Ansible by Atul
• 10,240 points
7,055 views
0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 10,620 points
10,526 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP