Giter VIP home page Giter VIP logo

Comments (3)

dennis-behm avatar dennis-behm commented on August 13, 2024

@bala-azha Thanks for bringing this up to our attention. This sounds like a very interesting enhancement, which was also raised by other users.

It took us a while to think how we could support this in zAppBuild. With the LogicalFiles with its LogicalDependencies , which are captured within the collection, we have a lot of flexibility. We would be actually be able to add any other logical dependency to an logical file. Our current thinking is to add logicalDependencies for Build Property (with it's own dependency category) based on list of properties, which should be considered in an impactBuild scenario.

Currently, we think about the Compiler Version, Compile Options and Link Options. Do you see any other build properties, which you would like to include?

from dbb-zappbuild.

dennis-behm avatar dennis-behm commented on August 13, 2024

@bala-azha @drbruce-git

I developed a prototype for this enhancement. When scanning the files, it adds LogicalDependencies for the build properties to the LogicalFile: https://github.com/dennis-behm/dbb-zappbuild/blob/properties/utilities/ImpactUtilities.groovy#L354-L366

It detects the change of the property file and passes control to a new gitUtil method to understand the actual change. I pass it to a Java Properties object for validation before returning all the modified build properties to the impact calculation.

After the impact analysis phase, there is a new calculation of impacted files for the list of changed properties:

image

You can browse my fork at https://github.com/dennis-behm/dbb-zappbuild/tree/properties

I need to do some housekeeping, while I used the new test framework, which I modified to my needs.

from dbb-zappbuild.

dennis-behm avatar dennis-behm commented on August 13, 2024

While this is delivered, I am closing the issue.

from dbb-zappbuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.