xbps-{install,query}: added -M --memory-sync option.

This explicitly enables the in memory fetch/store of remote repository
data archives mode, ignoring existing on-disk repodata archives.

This changes the previous behaviour of falling back to this mode if no
on-disk repodata archives were found.

Thanks to @Gottox and @dominikh for comments.
This commit is contained in:
Juan RP
2014-11-27 10:42:05 +01:00
parent 8e2225eb4e
commit fe9a795995
7 changed files with 45 additions and 16 deletions

12
NEWS
View File

@@ -1,12 +1,10 @@
xbps-0.42 (???):
* Added support to fetch repository data remotely and on demand. That means
that synchronizing the repository data with `xbps-install -S` is now
completely optional. If local repodata is found on disk, it's the preferred
operation mode. This also means that `xbps-query(8)` may be used by any
user without the need to be the `superuser` to synchronize the repository
archives. Of course this new operation mode requires a proper network
connection.
* xbps-{install,query}: added new option (-M, --memory-sync) to fetch and
store remote repository data in memory. That means that synchronizing
the repository archives with `xbps-install -S` is now completely optional.
This also means that `xbps-query(8)` may be used by any user without the
need to be the `superuser` to synchronize the repository archives.
* xbps-{install,query}: added new option (-i, --ignore-conf-repos) to ignore
repositories defined in configuration files (xbps.d). Only repos specified