1. 28 Jan, 2019 1 commit
    • Karel Koci's avatar
      Drop package content extra option · a8489ebe
      Karel Koci authored
      This was originaly introduced to allow local packages to be installed.
      It was later replaced with localrepo and was marked as obsoleted for
      long time.
  2. 03 Jul, 2018 1 commit
    • Karel Koci's avatar
      Add options --model and --board · 1c3769dc
      Karel Koci authored
      This also moves some configuration variables from backend to separate
      syscnf module.
      Original design where hard coded in values were used as defaults is not
      replaced with design where set function is required to be called before
      anything is done. Commonly that is suppose to be done in C before we
      start using other Lua modules.
      Thanks to new options --model and --board we can now set target even
      outside of the router environment without requiring /tmp tainting. It's
      now also not possible to run updater's executables on non-openwrt
      platform without specifying those two options.
  3. 13 Apr, 2018 1 commit
  4. 25 Oct, 2017 1 commit
    • Karel Koci's avatar
      Fix invalid order of candidates in some cases · 0767ea2c
      Karel Koci authored
      There was a bug in compare function for candidates sorting. Sorting
      algorithm is quicksort and requires that compare returns true when first
      is less then the second argument. This implies that we should return
      false as last resort (for comparable candidates). We were returning true
      which resulted to invalid order in some cases.
  5. 08 Aug, 2017 1 commit
    • Karel Koci's avatar
      Don't fail if virtual package is provided · 96da75d6
      Karel Koci authored
      Design states that "If a real package of the same name exists, an error
      is reported." but provided candidates aren't packages of the same name
      so previous implementation could be seens as invalid.
  6. 15 Jun, 2017 1 commit
  7. 17 May, 2017 1 commit
  8. 09 Jan, 2017 1 commit
    • Karel Koci's avatar
      Error on content missing and allow ignore · ccf40af2
      Karel Koci authored
      If content is missing (can't be received for what ever reason), we fail
      updater run instead of just printing warning and continuing. To not fail
      there can be used "content" string in ignore extra field of Package.
  9. 02 Dec, 2016 1 commit
    • Michal 'vorner' Vaner's avatar
      Provide a priority to standalone packages · 874ff3d1
      Michal 'vorner' Vaner authored
      Allow the Package to have a priority option and use it when comparing
      stand-alone packages with other packages to pick the right one.
      This'll allow us to have a testing package with a version higher than
      the one in repository and have the repository outgrow the version in
      future (or not, depending on the priority).
  10. 29 Nov, 2016 1 commit
  11. 07 Nov, 2016 1 commit
  12. 04 Nov, 2016 1 commit
  13. 27 Sep, 2016 2 commits
  14. 26 Sep, 2016 3 commits
    • Karel Koci's avatar
      Add support for virtual packages · c2eedc6a
      Karel Koci authored
      Virtual packages can participate in dependency computation.
    • Karel Koci's avatar
      Remove group variable from package candidate · b00787f2
      Karel Koci authored
      This variable was pointer to package group from candidate. But we
      always access candidate from package group and if we manipulate with
      candidate directly we can access group trough Package field.
    • Karel Koci's avatar
      Don't split Depends to table and some cleanups · 71ce6282
      Karel Koci authored
      Don't split Depends field in backend. This format can also be specified
      in configuration file, so it can be done in postprocess together.
      prune_arr implemented in utils. It's code originally used in planner to
      remove nil elements from array. This is now used on multiple places
      where some workaround been used until now.
      Also some more tests added to previously untested features.
  15. 21 Sep, 2016 2 commits
  16. 19 Sep, 2016 2 commits
  17. 13 Sep, 2016 1 commit
  18. 29 Jun, 2016 1 commit
  19. 18 May, 2016 1 commit
  20. 12 May, 2016 1 commit
    • Michal 'vorner' Vaner's avatar
      Hide private data · 61b92377
      Michal 'vorner' Vaner authored
      Hide some data (like contexts and other complex objects) from the
      objects returned to the configuration scripts. That would allow the
      scripts to access internal data of the contexts and, for example, change
      its security level.
  21. 06 May, 2016 1 commit
  22. 04 May, 2016 1 commit
  23. 02 May, 2016 2 commits