NRC-Research / SNAP-issues

This repository was created to provide a public location to record and display the status of "issues" for the SNAP application. The SNAP developers will acknowledge, provide (and maybe request) feedback on the reported issues, and in general use the information to improve SNAP code.
3 stars 0 forks source link

Moving a model from one Git repository to another causes problems #7

Closed NRCgg closed 2 years ago

NRCgg commented 3 years ago

Observation:

When trying to copy a SNAP TRACE model that was in one git repository directory to another git repository directory via the SNAP modeleditor, there are some issues:

  1. The SNAP git module doesnt recognize that the "new" mode needs to be "added" to the new git repository
  2. If the user goes to the GIT menu and tries to push the repository, this error is shown:

    Capture

Note that if, after copying the file using SNAP modeleditor into the new git repo, one shuts down the modeleditor then reopens the files in the new location, SNAP DOES recognize that the file needs to be added. After adding the file using SNAP Git interface, the git push to origin works as expected.

kroc-apt commented 3 years ago

Issue has been identified as the model not properly updating the GIT working directory when saving a model to a new location. This will be fixed for the next version of the GIT Plug-in.

NRCgg commented 2 years ago

Fix was implemented and confirmed to work for plugin Git 2.0.2. Closing this issue!