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,190 points
37 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,360 points

Related Questions In DevOps and Microservices

+13 votes
2 answers
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
43 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,190 points
703 views
0 votes
1 answer
+5 votes
3 answers

How to execute a python file with few arguments in java?

You can use Java Runtime.exec() to run python script, ...READ MORE

answered Mar 27, 2018 in Java by DragonLord999
• 8,360 points

edited Nov 6, 2018 by Omkar 4,423 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.