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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment