1. 10 Oct, 2016 1 commit
  2. 17 Sep, 2015 1 commit
    • Marko Saukko's avatar
      Allow defining url domains to be used with specific credentials. · beef0d92
      Marko Saukko authored
      [ssu] Allow defining url domain to be used with specific credentials. Fixes JB#32346
      
      Previously store-auth-repos could be only defined in repos.ini and each
      new feature would need to add new line to that variable. This patch
      allows repos.ini to define url domain,credential pairs that can be used
      to say which credential is used when certain url domain is used.
      
      This removes the need to touch repos.ini when bringing in new feature.
      Signed-off-by: default avatarMarko Saukko <marko.saukko@jolla.com>
      beef0d92
  3. 21 Aug, 2015 1 commit
  4. 02 Feb, 2015 1 commit
  5. 23 Dec, 2014 1 commit
    • Aard's avatar
      [ssu] Allow passing store credential errors down to libzypp · 52e8c464
      Aard authored
      If a device is reasonably broken the UI level might not be available.
      Until the updated related components from store are available fully
      in middleware this provides a workaround to rescue such devices,
      given valid store credentials were written once before
      52e8c464
  6. 13 Oct, 2014 1 commit
  7. 07 Sep, 2014 1 commit
  8. 02 Dec, 2013 1 commit
  9. 10 Nov, 2013 1 commit
  10. 09 Nov, 2013 1 commit
  11. 08 Nov, 2013 2 commits
  12. 07 Nov, 2013 1 commit
  13. 06 Nov, 2013 1 commit
  14. 01 Nov, 2013 1 commit
  15. 14 Oct, 2013 1 commit
  16. 06 Oct, 2013 1 commit
  17. 13 Sep, 2013 1 commit
  18. 09 Sep, 2013 1 commit
  19. 06 Jul, 2013 1 commit
  20. 05 Jul, 2013 1 commit
    • Aard's avatar
      [variables] Add default sections, local variables, full recursive resolving · 4f7e4a76
      Aard authored
      - variable section resolving now tries to automatically identify default
        sections when looking up a complete section
      - local variables may be defined by prefixing with _ or using the local
        keyword
      - multiple variable sections are now supported, as well as adding both
        the variables keyword and variable values in a section
      4f7e4a76
  21. 23 May, 2013 2 commits
  22. 04 Apr, 2013 1 commit
    • Martin Kampas's avatar
      Refactorize project files · 16fe343d
      Martin Kampas authored
      Every subproject "mysubproject" of type app or lib now contains three qmake
      files:
      
        mysubproject.pro
        mysubproject.pri
        mysubproject_dependencies.pri
      
      Dependency between two projects is satisfied by calling
      include(../path/to/dependee/dependee.pri) inside dependent_dependencies.pri.
      mysubproject.pri always includes mysubproject_dependencies.pri - this way
      dependencies are gathered transitively.
      
      Every mysubproject.pro starts with defining TARGET and including one of the
      templates:
      
        ssuapplication.pri
        ssulibrary.pri
      
      Settings common to both app and lib type of projects comes from
      
        ssu_common.pri
      
      For tests, there are derived templates inside tests directory
      
        tests/testapplication.pri
        tests/testlibrary.pri
      
      Common settings similarly comes from
      
        tests/tests_common.pri
      
      Source code root is added to INCLUDEPATH and DEPENDPATH so it is possible to
      include any header file specifying ints path relatively to source code root.
      Since all the libs and apps are part of single source tree, I recommend to
      express this fact by #including ssu own headers with "" instead of <>.
      
        #include "libssu/ssu.h"
      
      Projects outside of ssu source tree will still use #include <ssu.h>
      
      For tests, the "tests" dir is also added to INCLUDEPATH and DEPENDPATH so the
      "tests/" path component can/should be omitted inside tests code:
      
        #include "testutils/process.h"
      
      Building:
      
      I have removed the hardcoded build paths (buildpath.pri). It is still possible
      to keep source tree clean of build artefacts -- with shadow build:
      
      mkdir build && cd build && qmake ../ssu.pro -r && make
      
      Note that the output directories for app and lib binaries is still hardcoded
      as build/{bin,lib}.
      
      When gcov is to be used, simply build without the shadow build and object
      files will be placed next to source files.
      
      Other notes:
      
      I found some CONFIG settings having no effect and removed these. Namely
      
      CONFIG += dll - shared libs are build by default
      CONFIG -= app_bundle - Mac OS X specific
      CONFIG += console - Windows specific
      CONFIG += qtestlib - QT+=testlib should be the prefered way
      
      -maybe I am wrong?
      
      The 'unix' conditional was not used consistently. Similar issue with
      $${PREFIX}. As it is not much useful at the moment, I rather removed it.
      16fe343d
  23. 02 Apr, 2013 1 commit
  24. 30 Mar, 2013 1 commit
    • Aard's avatar
      Use only one instance of global settings, removing sync issues and unnecessary reads · 38362440
      Aard authored
      Some bits got moved to more appropriate modules, others (like credentials
      handling) still need to be moved. ssu CLI got a bit more readable.
      
      This is part of a big refactoring due to SSU doing mostly repo management
      and URL handling instead of the originally planned credentials management
      with URL handling as a nice bonus feature.
      38362440
  25. 29 Mar, 2013 1 commit
  26. 28 Mar, 2013 2 commits
  27. 27 Mar, 2013 2 commits
  28. 22 Mar, 2013 2 commits
  29. 19 Mar, 2013 6 commits
  30. 11 Mar, 2013 1 commit