Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1288

Exposing some parent metadata (organisation, module, revision, branch) as properties.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0-RC1
    • Core

    Description

      It can be helpful to expose some parent metadata as properties. As module inheritance support multiple parent we should have something like :

      • ivy.parents.count : number of parents module
      • ivy.parent[index].organisation : set to the organisation name found in the parent ivyfile which was used for resolve
      • ivy.parent[index].module : set to the module name found in the parent ivyfile which was used for resolve
      • ivy.parent[index].revision : set to the revision name found in the parent ivyfile which was used for resolve
      • ivy.parent[index].branch : set to the branch name found in the parent ivyfile which was used for resolve

      Where index represent the index of extends module.

      Attachments

        1. IVY-1288-alternative.patch
          6 kB
          Jean-Louis Boudart
        2. IVY-1288.patch
          5 kB
          Jean-Louis Boudart

        Activity

          People

            hibou Nicolas Lalevée
            jboudart Jean-Louis Boudart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: