diff --git a/kde_unstable_applications.csv b/kde_unstable_applications.csv index be53ded..ec113a8 100644 --- a/kde_unstable_applications.csv +++ b/kde_unstable_applications.csv @@ -68,7 +68,7 @@ kdepim-runtime kdepim-runtime kdesdk-thumbnailers kdesdk-thumbnailers kdf kdf kdgantt2 kdgantt2 -kdiamond kdiamond git +kdiamond kdiamond kdnssd kdnssd kfloppy kfloppy kfourinline kfourinline diff --git a/obs_KDE_Unstable_Applications_cache b/obs_KDE_Unstable_Applications_cache index 2402193..c3ebeee 100644 Binary files a/obs_KDE_Unstable_Applications_cache and b/obs_KDE_Unstable_Applications_cache differ diff --git a/update_unstable.py b/update_unstable.py index 273b045..ad3d80d 100755 --- a/update_unstable.py +++ b/update_unstable.py @@ -9,8 +9,6 @@ import pickle import git import sarge -logging.basicConfig(format='%(levelname)s:%(message)s', - level=logging.INFO) class GitHashCache: @@ -120,9 +118,14 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument("repository", help="OBS repository to use") parser.add_argument("mapping_file", help="KDE:OBS repository mapping file") - + parser.add_argument("--debug", help="Show debugging output", action="store_true") options = parser.parse_args() + level = logging.INFO if not options.debug else logging.DEBUG + + logging.basicConfig(format='%(levelname)s:%(message)s', + level=level) + cache_file = Path.home() / ".local/share/obs_{}_cache".format(options.repository.replace(":", "_")) cache_file = str(cache_file)