You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the very beginning we have seen some frictions with the semantics behind the add and update commands. One example is the discussion in #20.
My proposal is to
Implement modifiers/filters as entrypoints
Refactor add, update functionality to sync,config commands
The sync command would fetch a list of filenames from PyPI and
If the package is not present in the local cache, then create a new subdir, a new index.html, apply default filters (e.g. dev versions filter) unless modifier flags are present and download them. If modifier flags are present, store them in the index.html metadata.
If the package is present, then load configuration/filters and list of already downloaded files from index.html. Afterwards, apply the loaded filters to the list of filenames downloaded from PyPI, compute the diff with the list of local files and download the result. If modifier flags are present, then override default filters.
Roadmap
New entry-point group for filters pypickup.filter
Implement dev version filter as entrypoint
Implement alpha, beta version filter as entrypoint
From the very beginning we have seen some frictions with the semantics behind the
add
andupdate
commands. One example is the discussion in #20.My proposal is to
add
,update
functionality tosync
,config
commandsThe
sync
command would fetch a list of filenames from PyPI andindex.html
, apply default filters (e.g. dev versions filter) unless modifier flags are present and download them. If modifier flags are present, store them in theindex.html
metadata.index.html
. Afterwards, apply the loaded filters to the list of filenames downloaded from PyPI, compute the diff with the list of local files and download the result. If modifier flags are present, then override default filters.Roadmap
pypickup.filter
dev
version filter as entrypointindex.html
as metadata (Save filters inindex.html
#20)config
command to check and edit packages'index.html
metadatasync
command to fetch packages from PyPIadd
if package is not in local cacheupdate
if package is in local cacheThe text was updated successfully, but these errors were encountered: