ontolex / morph

The Morphology Module for the OntoLex Model
5 stars 6 forks source link

special characters break GDrive sync #1

Closed chiarcos closed 2 years ago

chiarcos commented 2 years ago

On Windows, git clone currently fails with invalid paths from the GDrive section. This does include paths with :, etc.

TODO: revise sync-gdrive.sh to rename such files after retrieval, revert to version before adding GDrive, recover changes since then. Must not be done on a Windows device.

chiarcos commented 2 years ago

A partial workaround for checking out the data is the following:

  1. git clone https://github.com/ontolex/morph (will fail with an error message but leave an empty directory morph behind)
  2. cd morph
  3. git restore --source=HEAD :/ (will recover most content, excluding files with reserved characters)

Note: Don't do git commit -a with this repo, unless you want to delete the problematic content permanently.