conda / governance

The Conda & Conda-Incubator Governance Policy
Creative Commons Attribution 4.0 International
24 stars 28 forks source link

Request for incubation: `conda-checkpoints` #144

Closed jaimergp closed 3 weeks ago

jaimergp commented 1 month ago

Adding this for historical record. If I don't hear from any objections, I'll proceed with the transfer.

jakirkham commented 1 month ago

No objection. Though am curious how this compares to Conda revisions

jaimergp commented 1 month ago

I'd say conda revisions are conceptually broken. They don't guarantee a rollback; instead they will attempt to revert the action by solving the opposite operation against the current repodata. This means that (1) the solver runs for no reason, (2) there's an opportunity for errors.

With checkpoints I'm instead writing down the state of the environment as it was (at least the package records are there). If you wish to restore, you only need to take that lockfile and conda create -n env-copy --file ... it.

This is a good question to answer in the (eventual) documentation, so thanks for bringing it up!

jaimergp commented 3 weeks ago

Done!