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 26, 2018 in DevOps and Microservices by Atul
• 10,240 points
56 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

answered Mar 26, 2018 by DragonLord999
• 8,380 points

Related Questions In DevOps and Microservices

+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
145 views
0 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
74 views
0 votes
1 answer
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
1,395 views
0 votes
1 answer