Skip to content

Transfer to new a directory structure

DStrelak edited this page Jul 17, 2019 · 8 revisions

New directory structure

With the pull request 169, we have changed the directory structure of the Xmipp repository.

Why?

We want to simplify the installation and allow external tools to analyze our code.

It will also allow you to use git directly from the root directory.

What does it mean for me as a user?

We recommend you to remove the current installation and replace it with a new version:

  • In Scipion: Nothing to do. Just update the plugin version and the binaries when available.
  • In Standalone: remove entire Xmipp folder, clone the repository again and run xmipp script in the root

What does it mean for me as a developer?

To avoid possible issues, we recommend you to move entire Xmipp folder to a backup directory, clone the repository again and run xmipp script in the root.

cd
mv xmipp-bundle xmipp-bundle-BCKP
git clone https://github.com/I2PC/xmipp xmipp-bundle

In case you have an existing branch (with old directory structure), you might experience merge conflict while creating a PR to the new directory structure.

We recommend you to create a patch, manually alter the paths to the files (with accordance to the new repository layout), and apply the patch in the new repository, as described here

Make sure that any deleted / newly created file is in the proper location.

If none of this works, please contact us at [email protected]

Clone this wiki locally