Skip to content
  • Andrew Shark's avatar
    Support downloading metadata when no config available · 84d60ab0
    Andrew Shark authored
    - Download metadata before reading config
    - Provide fake config when no config available yet, so user in first run steps is able to choose which step to run first: --install-distro-packages or --generate-config
    - Mark incorrect case that I found when the last-metadata-update is not changed in normal use as todo
    - Fix endRE, so the "end" word may have spaces before it.
    - metadata-only option moved to context options
    - Remove mentioning of KDE 4 in the message when no config found
    
    In _downloadKDEProjectMetadata:
    - Reorganize variables
    - Always create a metadata source dir, even in pretending
    - Only allow to skip metadata update when it is already downloaded and user did not specifically ask to not update it with --no-metadata or when skipped update phase. Also fix incorrect condition when update was performed only when update desired (disregarding if it was still needed).
    84d60ab0