- Add a flag
--update-onlythat adds new or changed packages to the index, but keeps already-indexed packages inrepodataeven if they are missing from the filesystem. (#239)
- Improve
run_exportssupport for PostgreSQL cache. (#239) - Use correct
"version": 1field inrepodata_shardsinstead of"repodata_version": 2. Remove json-only"repodata_version"key from shards index. (#231) - Add
.info.created_atfield to shards index. (#237) - Fix bug where postgresql cache would not filter packages by channel when writing repodata. (#240)
- Fix PostgreSQL cache
load_all_from_cache()to use both conditions in the query. (#253)
- Default to
--no-current-repodatain the CLI. This file is slow to generate for large channels and can only be used by conda's "classic" solver. Pass--current-repodataif you still needcurrent_repodata.json. API users are not affected by this change. (#246)
- Require Python >= 3.10 (#250)
- @dholth
- @jezdez
- @kodegard
- @pavelzw
- Add postgresql as a supported database backend in addition to sqlite. (#199)
- Show error when
--no-write-monolithicis combined with--current-repodata,--run-exports, or--channeldata. (#224) - Add html title popup with dependencies for each build to
index.html. (#205) - "--html-dependencies/--no-html-dependencies" flag toggles popups. (#218)
- Include narrative documentation for
python -m conda_index --db postgresql ...in Sphinx (https://conda.github.io/conda-index/). (#219)
- Update
conda indexcommand plugin to avoid re-exported type. (#227)
- @dholth
- @jtroe
- @ryanskeith
- Added support for Python 3.13 in the CI test matrix and updated related configurations. (#203)
- In sharded repodata, set
base_urlandshards_base_urlto""instead of leaving them undefined, for pixi compatibility. (#209)
- Add database-independent base class for (sqlite specific) CondaIndexCache.
Return parsed data instead of str in
run_exports(). (#206) - Update sqlite3 create_function() arguments for "positional-only in Python 3.15" warning. (#211)
- Add
--channeldata/--no-channeldataflag to toggle generating channeldata. - Add sharded repodata (repodata split into separate files per package name).
- Remove WAL mode from database create
script, in case
conda-indexis used on a network file system. Note WAL mode is persistent,PRAGMA journal_mode=DELETEcan be used to convert a WAL database back to a rollback journal mode. (#177) - Separate current_repodata generation into own file, raising possibility of "doesn't depend on conda" mode.
- Update tests to account for conda-build removals. (#180)
- Publish new
conda-indexreleases on PyPI automatically. (#195)
See also https://github.com/conda/conda-index/releases/tag/0.6.0
- Add experimental
python -m conda_index.json2jlapscript to run after indexing, to createrepodata.jlappatch sets for incremental repodata downloads. (#125) - Add
--current-repodata/--no-current-repodataflags to control whethercurrent_repodata.jsonis generated. (#139) - Add support for CEP-15
base_urlto host packages separate from repodata. (#150) - Support fsspec (in the API only) to index any fsspec-supported remote filesystem. Also enables the input packages folder to be separate from the cache and output folders. (#143)
- Move
run_exports.jsonquery into cache, instead of directly using SQL inChannelIndex. (#163) - Create parents when creating
<subdir>/.cache(#166)
- Approach 100% code coverage in test suite; reformat with ruff. (#145)
- Update CI configuration to test on more platforms (#142)
- Drop support for Python 3.7; support Python 3.8+ only. (#130)
- @dholth
- @jezdez
- @conda-bot
- Add --compact-json/--no-compact-json option, default to compact. (#120)
- Add an
indexsubcommand using conda's new subcommand plugin hook, allowingconda indexinstead ofpython -m conda_index. Note the CLI has changed compared to oldconda-index. Whenconda-build < 24.1.0is installed, the olderconda-indexcode will still be used instead of this plugin. (#81 via #131)
- Check size in addition to mtime when deciding which packages to index. (#108)
- Update cached index.json, not just stat values, for changed packages that are already indexed. (#108)
- Improve test coverage (#123)
- Apply
ruff --fix; reformat code; syntax cleanup (#128)
- Add
--run-exportsto generate CEP-12 compliantrun_exports.jsondocuments for each subdir. (#102 via #110) - Don't pretty-print
repodata.jsonby default, saving time and space. (#111)
- Improve documentation.
- Require conda >= 4.14 (or any of the >= 22.x.y calver releases)