More updates
Save data to disk after each update Adjust repo names
This commit is contained in:
parent
7a7f96c0ae
commit
c6a139981e
2 changed files with 4 additions and 3 deletions
|
@ -17,7 +17,7 @@ kapidox kapidox
|
||||||
karchive karchive
|
karchive karchive
|
||||||
kauth kauth
|
kauth kauth
|
||||||
kbookmarks kbookmarks
|
kbookmarks kbookmarks
|
||||||
kcm_sddm kcm_sddm
|
sddm-kcm kcm_sddm
|
||||||
kcmutils kcmutils
|
kcmutils kcmutils
|
||||||
kcodecs kcodecs
|
kcodecs kcodecs
|
||||||
kcompletion kcompletion
|
kcompletion kcompletion
|
||||||
|
@ -33,9 +33,9 @@ kde-gtk-config kde-gtk-config5
|
||||||
kdelibs4support kdelibs4support
|
kdelibs4support kdelibs4support
|
||||||
kdesignerplugin kdesignerplugin
|
kdesignerplugin kdesignerplugin
|
||||||
kdesu kdesu
|
kdesu kdesu
|
||||||
kde-user-manager kde-user-manager
|
user-manager kde-user-manager
|
||||||
kdewebkit kdewebkit
|
kdewebkit kdewebkit
|
||||||
kdnssd-framework kdnssd-framework
|
kdnssd kdnssd-framework
|
||||||
kdoctools kdoctools
|
kdoctools kdoctools
|
||||||
kemoticons kemoticons
|
kemoticons kemoticons
|
||||||
kfilemetadata kfilemetadata5
|
kfilemetadata kfilemetadata5
|
||||||
|
|
|
|
@ -91,6 +91,7 @@ def update_package(hash_data, package_name, remote_name, obs_repository,
|
||||||
logging.debug("Hash doesn't match, updating")
|
logging.debug("Hash doesn't match, updating")
|
||||||
run_osc(obs_repository, package_name)
|
run_osc(obs_repository, package_name)
|
||||||
hash_data[remote_name] = remote_hash
|
hash_data[remote_name] = remote_hash
|
||||||
|
hash_data.save()
|
||||||
|
|
||||||
|
|
||||||
def update_packages(cache_file, obs_repository, repo_mapping_file):
|
def update_packages(cache_file, obs_repository, repo_mapping_file):
|
||||||
|
|
Loading…
Add table
Reference in a new issue