Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9664

Metatools not recursively merging dictionaries in queue_all_yaml_autogens

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • Hide
      Make an autogen.yaml with multiple packages and defaults
      example:
      osgeo_proj4_rules:
        generator: github-1
        defaults:
          github:
            user: OSGeo
            query: releases

        packages:
          - proj:
             github:
              repo: PROJ
          - proj-data:
             github:
              repo: PROJ-data
      doit

      See failure because 'query' from defaults wasn't applied to package
      Show
      Make an autogen.yaml with multiple packages and defaults example: osgeo_proj4_rules:   generator: github-1   defaults:     github:       user: OSGeo       query: releases   packages:     - proj:        github:         repo: PROJ     - proj-data:        github:         repo: PROJ-data doit See failure because 'query' from defaults wasn't applied to package

      drobbins  diagnosed this while addressing my incorrect analysis of FL-9661.

      queue_all_yaml_autogens is merging in such a way as defaults aren't applied to each package. drobbins understands the finer points better than I do.

            drobbins drobbins
            jeepingben jeepingben
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: