conda / conda-classic-solver

The classic solver for conda
https://conda.github.io/conda-classic-solver/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bring history and adjust paths and imports #2

Closed jaimergp closed 3 weeks ago

jaimergp commented 3 weeks ago

Description

Bringing the whole solver classic history to this repo. This was done with these commands:

  1. Create patch file (classic-solver.patch.zip) from the conda/conda repo:
git log --pretty=email --reverse --binary --full-index \
    --patch-with-stat --first-parent -m -- \
    conda/common/_logic.py \
    conda/common/logic.py \
    conda/core/solve.py \
    conda/resolve.py \
    tests/test_logic.py \
    tests/test_solvers.py \
    > classic-solver.patch
  1. Commit patch to this repo:
git am --committer-date-is-author-date < ../conda/classic-solver.patch
  1. Adjusted committer info:
git filter-branch --env-filter '
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
' --tag-name-filter cat -- --branches --tags main..HEAD
  1. Move files from conda/* to conda_classic_solver/* and adjust imports.