Skip to content

Align history with pymatgen#1

Merged
shyuep merged 8017 commits intomaterialsproject:mainfrom
esoteric-ephemera:history
Feb 24, 2026
Merged

Align history with pymatgen#1
shyuep merged 8017 commits intomaterialsproject:mainfrom
esoteric-ephemera:history

Conversation

@esoteric-ephemera
Copy link
Copy Markdown
Contributor

@esoteric-ephemera esoteric-ephemera commented Feb 23, 2026

Have tried to migrate the history from pymatgen to pymatgen-core. Might have missed some history because of file renames, but have tried to account for that here.

General steps to reproduce:
brew install git-filter-repo

base_path=$(pwd)

if [ -d pymatgen-filtered ] ; then
    rm -rf pymatgen-filtered
fi

git clone https://github.com/materialsproject/pymatgen.git pymatgen-filtered

cd pymatgen-filtered
args=""
for p in alchemy command_line core electronic_structure optimization phonon symmetry transformations util ; do
    args="$args --path-rename pymatgen/$p":"src/pymatgen/$p"
    args="$args --path src/pymatgen/$p"
done
echo $args

git filter-repo $args

git remote add origin https://github.com/esoteric-ephemera/pymatgen-core.git
git fetch origin
git merge origin/history --allow-unrelated-histories
<resolve merge conflicts here>
git push origin HEAD:history

@shyuep:

  • There are two files you may have missed in the move, let me know if these were removed intentionally:
    • src/pymatgen/command_line/vampire_caller.py
    • src/pymatgen/electronic_structure/cohp.py

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.