Skip to content
Snippets Groups Projects
  1. Aug 29, 2020
  2. Aug 28, 2020
    • Matthias Schiffer's avatar
      features: fix handling of logical expressions · 13b743d5
      Matthias Schiffer authored
      The rewrite of the feature handling introduced multiple major bugs. One
      of them was caused by the way Lua's logical operators work:
      
      An expression of the form
      
          _'autoupdater' and _'web-advanced'
      
      would return 'web-advanced' rather than the boolean true when _ returned
      both strings unchanged (because the features are enabled).
      
      As entries with more than a single feature name in their expressions did
      not set no_default, Gluon would then attempt to add gluon-web-advanced to
      the package selection, as web-advanced is a "pure" feature.
      
      To fix this, and get rid of the annoying nodefault, separate handling of
      "pure" feature and handling of logical expressions into two separate
      functions, called feature() and when(). To simplify the feature
      definitions, the package list is now passed directly to these functions
      rather than in a table with a single field 'packages'.
      
      Fixes: ee5ec5af ("build: rewrite features.sh in Lua")
      13b743d5
  3. Aug 19, 2020
  4. Aug 15, 2020
  5. Aug 14, 2020
  6. Aug 08, 2020
  7. Jul 05, 2020
  8. Jul 03, 2020
  9. Jul 02, 2020
  10. Jul 01, 2020
  11. Jun 30, 2020
  12. Jun 21, 2020
  13. Jun 14, 2020
  14. Jun 13, 2020
  15. Jun 12, 2020
  16. Jun 11, 2020
  17. Jun 10, 2020
  18. Jun 06, 2020
  19. Jun 05, 2020
    • Matthias Schiffer's avatar
      gluon-web-model: remove unused field error message code · 45b518df
      Matthias Schiffer authored
      Validation errors are mostly handled in the frontend (by displaying
      invalid fields with a red background). There was some code left in the
      backend for handling different kinds of errors, and returning custom
      error messages from validate(), but the resulting value was not used
      anywhere.
      45b518df
Loading