Ivy
  1. Ivy
  2. IVY-1288

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

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-RC1
    • Component/s: Core
    • Labels:

      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.

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

        Activity

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            Jean-Louis Boudart
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development