updated README and download comments about mtimes support
This commit is contained in:
parent
540d3d49b2
commit
c305bf670b
2 changed files with 2 additions and 28 deletions
22
README
22
README
|
@ -268,25 +268,3 @@ Single chained list.
|
||||||
A minimalistic chained list implementation to store options from the
|
A minimalistic chained list implementation to store options from the
|
||||||
configuration file, and targets passed to pacman on the command line.
|
configuration file, and targets passed to pacman on the command line.
|
||||||
|
|
||||||
|
|
||||||
LIMITATIONS/BEHAVIOR CHANGES COMPARED TO PACMAN 2.9
|
|
||||||
===================================================
|
|
||||||
|
|
||||||
Excepted missing features still needing to be implemented, one can
|
|
||||||
notice the following limitations:
|
|
||||||
|
|
||||||
- When trying to add a package that conflicts with an already installed
|
|
||||||
one, pacman won't ask for removing the latter one prior to install the
|
|
||||||
former.
|
|
||||||
It will stop with an error code mentionning a conflict.
|
|
||||||
|
|
||||||
The library can handle only one transaction at a time, and as a consequence,
|
|
||||||
it is not easily possible to remove a conflicting package while holding
|
|
||||||
still the on-going transaction...
|
|
||||||
|
|
||||||
- If pacman is out of date, the frontend displays a warning and recommends
|
|
||||||
to give up the on-going transanction. The frontend does not allow to
|
|
||||||
upgrade pacman itself on-the-fly, and thus it should be restarted with
|
|
||||||
only "pacman" as a target.
|
|
||||||
|
|
||||||
- ...
|
|
||||||
|
|
|
@ -169,16 +169,12 @@ int downloadfiles(list_t *servers, const char *localpath, list_t *files)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is the real downloadfiles, used directly by sync_synctree() to check
|
* This is the real downloadfiles, used directly by sync_synctree() to check
|
||||||
* modtimes on remote (ftp only) files.
|
* modtimes on remote files.
|
||||||
* - if *mtime1 is non-NULL, then only download files
|
* - if *mtime1 is non-NULL, then only download files
|
||||||
* if they are different than *mtime1. String should be in the form
|
* if they are different than *mtime1. String should be in the form
|
||||||
* "YYYYMMDDHHMMSS" to match the form of ftplib's FtpModDate() function.
|
* "YYYYMMDDHHMMSS" to match the form of ftplib's FtpModDate() function.
|
||||||
* - if *mtime2 is non-NULL, then it will be filled with the mtime
|
* - if *mtime2 is non-NULL, then it will be filled with the mtime
|
||||||
* of the remote FTP file (from MDTM).
|
* of the remote file (from MDTM FTP cmd or Last-Modified HTTP header).
|
||||||
*
|
|
||||||
* NOTE: the *mtime option only works for FTP repositories, and won't work
|
|
||||||
* if XferCommand is used. We only use it to check mtimes on the
|
|
||||||
* repo db files.
|
|
||||||
*
|
*
|
||||||
* RETURN: 0 for successful download
|
* RETURN: 0 for successful download
|
||||||
* -1 if the mtimes are identical
|
* -1 if the mtimes are identical
|
||||||
|
|
Loading…
Add table
Reference in a new issue