packages.setup_sources(): log when package version changes after refreshing
This commit is contained in:
parent
f705e39ca1
commit
771199d932
1 changed files with 3 additions and 0 deletions
|
@ -439,7 +439,10 @@ def setup_sources(package: Pkgbuild, lazy: bool = True):
|
||||||
cache.refresh_all(write=False)
|
cache.refresh_all(write=False)
|
||||||
cache.src_initialised = cache.checksums['PKGBUILD']
|
cache.src_initialised = cache.checksums['PKGBUILD']
|
||||||
cache.write()
|
cache.write()
|
||||||
|
old_version = package.version
|
||||||
package.refresh_sources()
|
package.refresh_sources()
|
||||||
|
if package.version != old_version:
|
||||||
|
logging.info(f"{package.path}: version refreshed from {old_version} to {package.version}")
|
||||||
|
|
||||||
|
|
||||||
def build_package(
|
def build_package(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue