Permalink
Commits on Aug 23, 2017
  1. Merge pull request #6148 from Magisus/master

    Merge 5.1.x -> master
    branan committed on GitHub Aug 23, 2017
  2. Merge branch '5.1.x'

    * 5.1.x:
      (PUP-7813) Ensure yum plugins don't break yum
      (PUP-7848) Modify var name regexp to avoid infinite recursion
      (packaging) Bump version to 5.1.0
      (PUP-7818) Prefetch AIX packages when not all have sources
      (maint) Skip yum package test on ec2
      (docs) add a note to epp about loading any file with absolute path
    Magisus committed Aug 23, 2017
  3. Merge pull request #6146 from Magisus/5.1.x

    Merge 5.0.x -> 5.1.x
    MosesMendoza committed on GitHub Aug 23, 2017
  4. Merge branch '5.0.x' into 5.1.x

    * 5.0.x:
      (PUP-7813) Ensure yum plugins don't break yum
      (PUP-7848) Modify var name regexp to avoid infinite recursion
      (PUP-7821) Ignore invalid Windows env vars
      (PUP-7821) Add encode_options to read_wide_string
      (PUP-7821) Add FFI read_wide_string debug message
      (PUP-7818) Prefetch AIX packages when not all have sources
      (PUP-7776) update autoload resource test to log its execution
      (PUP-7804) Do not use server setting when failover fails
      (maint) Skip yum package test on ec2
      (packaging) Update puppet's version to 4.10.6
      (packaging) Updating POT file for b089edb
      (PUP-7760) Add unit tests for empty string separator
      (PUP-7760) Remove added space padding to hash entry separator
      (PUP-7760) Remove automatic extra separator space in array to string
      (docs) add a note to epp about loading any file with absolute path
    Magisus committed Aug 23, 2017
  5. Merge pull request #6145 from Magisus/5.0.x

    Merge 4.10.x -> 5.0.x
    MosesMendoza committed on GitHub Aug 23, 2017
  6. Merge pull request #6108 from ericldelaney/bug/5.0.x/PUP-7820/update_…

    …error_message_for_i18n
    
    (PUP-7820) correct error  messages for I18N support
    Magisus committed on GitHub Aug 23, 2017
  7. Merge branch '4.10.x' into 5.0.x

    * 4.10.x:
      (PUP-7813) Ensure yum plugins don't break yum
      (PUP-7848) Modify var name regexp to avoid infinite recursion
      (PUP-7818) Prefetch AIX packages when not all have sources
      (maint) Skip yum package test on ec2
      (docs) add a note to epp about loading any file with absolute path
    Magisus committed Aug 23, 2017
  8. Merge pull request #6140 from Magisus/application-summary

    (PUP-7858) Isolate and externalize all `puppet help` summary texts
    MosesMendoza committed on GitHub Aug 23, 2017
  9. Merge pull request #6132 from jbondpdx/master

    (docs)(DOCUMENT-652) fixes metaparameter log level order
    Magisus committed on GitHub Aug 23, 2017
  10. Merge pull request #6142 from thallgren/issue/pup-7863/default-is-ric…

    …h-data
    
    (PUP-7863) Make Default part of the RichData variant
    hlindberg committed on GitHub Aug 23, 2017
  11. (PUP-7863) Make Default part of the RichData variant

    This commit adds the `Default` type to the `RichData` variant.
    
    Since `default` now an instance of `RichData` it is also an instance of
    an unparameterized `Init` type which called for an adjustment on the
    test that checks what default is an instance of.
    thallgren committed Aug 23, 2017
  12. Merge pull request #6141 from thallgren/issue/pup-7862/data-and-optio…

    …nal-type-assigment
    
    (PUP-7862) Ensure variant assignability to Data and RichData
    hlindberg committed on GitHub Aug 23, 2017
  13. (PUP-7862) Ensure variant assignability to Data and RichData

    Before this commit, only subclasses to `PScalarDataType` were considered
    assignable the `ScalarData` type. This commit ensures that all variants
    containing assignable types (i.e. `Optional`, `NotUndef`, or `Variant`)
    are assignable (with the exception of `NotUndef[Undef]`, which isn't
    assignable to anything).
    
    The `Scalar` datatype which experienced the same problem, is also fixed
    by this commit.
    thallgren committed Aug 23, 2017
  14. (docs) fix space error in knockout_prefix

    jbondpdx committed with jbondpdx Aug 22, 2017
Commits on Aug 22, 2017
  1. (PUP-7858) Isolate and externalize all `puppet help` summary texts

    Some summary texts for subcommands appearing in `puppet help` missed
    being translated. For some of these, that was because the string was
    embedded in a larger help text (which was not intended for translation)
    and extracted on the fly. This commit isolates all of these summary
    texts and makes them available via a `summary` method. This allows them
    to be marked for translation.
    
    The summary method return an empty string by default. If users of puppet
    have created their own applications without summaries, the `help`
    command will still attempt to extract the summary text from the help
    body.
    Magisus committed Aug 22, 2017
  2. Merge pull request #6128 from ehelms/pup-7813

    (PUP-7813) Ensure yum plugins don't break yum
    geoffnichols committed on GitHub Aug 22, 2017
  3. Merge pull request #6138 from Magisus/gettext-require2

    (PUP-7857) Guard reference to GettextSetup
    MosesMendoza committed on GitHub Aug 22, 2017
  4. (PUP-7857) Guard reference to GettextSetup

    With the recent refactor of GettextSetup configuration, a check to make
    sure that gem had already been loaded when initializing a module was
    also removed. This ensures that we don't try to call the module's
    methods before requiring it.
    Magisus committed Aug 22, 2017
  5. Merge pull request #6135 from thallgren/issue/pup-7853/object-short-form

    (PUP-7853) Allow short form for type alias declaration of Object types
    hlindberg committed on GitHub Aug 22, 2017
  6. Merge pull request #6137 from thallgren/issue/pup-7855/serialization-…

    …of-default
    
    (PUP-7855) Ensure proper Data conversion the special default value
    hlindberg committed on GitHub Aug 22, 2017
  7. (PUP-7855) Ensure proper Data conversion the special default value

    Before this commit, the ToDataConversion would serialize the special
    `default` value using rich data semantics even when `rich_data` was
    set to false. This commit ensures that a) this only happens when rich
    data is enabled, and b) when it happens, a proper warning is logged.
    
    A new issue was added to avoid logging info about the symbol `:default`
    and instead mention the "special value default" (the use of the symbol
    is an an internal concern of the ruby implementation).
    thallgren committed Aug 22, 2017
  8. (PUP-7855) Add test asserting Data conversion of symbols and default

    This commit adds tests that asserts that symbols and the special
    `default` value are converted to Data in a manner consistent with the
    provided options `rich_data` and `symbol_as_string`.
    thallgren committed Aug 22, 2017
Commits on Aug 21, 2017
  1. (PUP-7853) Improve and complement tests for bracket-less Object alias

    thallgren committed Aug 21, 2017
  2. Merge pull request #6136 from thallgren/issue/pup-7852/object-constants

    (PUP-7852) Add attribute 'constants' to the Object type description
    hlindberg committed on GitHub Aug 21, 2017
  3. (PUP-7852) Add attribute 'constants' to the Object type description

    This commit adds a new member `constants` the `Object` type. The
    `constants` member is similar to the `attributes` member in that its
    value is a hash of attributes. The specification of each attribute under
    `constants` is however only a value. It's type is inferred from this
    value and the kind is always 'constant'.
    
    Overrides are automatically allowed if the parent attribute is also a
    constant with a type that is assignable from the overriding type.
    thallgren committed Aug 20, 2017
  4. (PUP-7853) Allow short form for type alias declaration of Object types

    Before this commit, a type alias of a Object type would have to be
    declared like this:
    
      type MyType = Object[{ ... }]
    
    with this commit, the brackets are optional for the Object type so that
    the above expression can be written:
    
      type MyType = Object { ... }
    
    Actually, the word 'Object' can also be left out so this is also legal:
    
      type MyType = { ... }
    
    The 'Object' can also be replaced by something else, in which case it
    becomes the parent type. Thus, this description:
    
      type MyType = Object[{ parent => ParentType, ... }]
    
    can now be written like this:
    
      type MyType = ParentType { ... }
    thallgren committed Aug 21, 2017
Commits on Aug 19, 2017
  1. (PUP-7813) Ensure yum plugins don't break yum

    The yum plugin API allows for plugins to send output via info or
    error messages to stdout. This can break assumptions the yum provider
    is making in terms of the output from commands like check-update.
    This adds a check to ensure that when parse_updates is called, the
    second argument in the tuple matches an RPM version and skips over it
    if not. This should help guard against multiple types of bad output.
    ehelms committed Aug 17, 2017
Commits on Aug 18, 2017
  1. Merge pull request #6127 from Magisus/translation-fixes

    (maint) Minor string fixes from translator review
    ahpook committed on GitHub Aug 18, 2017