Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use only one instance of global settings, removing sync issues and un…
…necessary reads

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.
  • Loading branch information
Bernd Wachter committed Mar 30, 2013
1 parent 306d4e8 commit 3836244
Show file tree
Hide file tree
Showing 11 changed files with 708 additions and 319 deletions.
4 changes: 0 additions & 4 deletions constants.h
Expand Up @@ -11,11 +11,7 @@
/// The group ID SSU expects to run as. This is usually the GID of the main phone user
#define SSU_GROUP_ID 1000
/// Path to the main SSU configuration file
#define SSU_CONFIGURATION "/etc/ssu/ssu.ini"
/// Path to the main SSU configuration file
#define SSU_REPO_CONFIGURATION "/usr/share/ssu/repos.ini"
/// Path to the main SSU configuration file
#define SSU_DEFAULT_CONFIGURATION "/usr/share/ssu/ssu-defaults.ini"
/// Path to board / device family mappings file
#define SSU_BOARD_MAPPING_CONFIGURATION "/usr/share/ssu/board-mappings.ini"
/// Path to config.d for board mappings
Expand Down
2 changes: 2 additions & 0 deletions libssu/libssu.pro
@@ -1,12 +1,14 @@
BUILD = ../build/libssu
HEADERS = ssu.h \
ssucoreconfig.h \
ssudeviceinfo.h \
ssulog.h \
ssuvariables.h \
ssusettings.h \
ssurepomanager.h \
../constants.h
SOURCES = ssu.cpp \
ssucoreconfig.cpp \
ssudeviceinfo.cpp \
ssulog.cpp \
ssuvariables.cpp \
Expand Down

0 comments on commit 3836244

Please sign in to comment.