Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action to move files #34

Open
morevnaproject opened this issue Aug 17, 2016 · 1 comment · May be fixed by #31
Open

Action to move files #34

morevnaproject opened this issue Aug 17, 2016 · 1 comment · May be fixed by #31

Comments

@morevnaproject
Copy link
Collaborator

morevnaproject commented Aug 17, 2016

As continuation of #14. This action should move the file to new location and updates all links for all related files and the moved file itself. This would be extremely useful.

For this to work we will need to implement path replacing function for each module. A kind of RenderChanModule.replace("old_path","new_path"). By default it will return False. Then each module can override this function with its own implementation. I believe we can implement this for all animation formats that we support currently (most of them are XML files and for Blender case this could be done through Python scripting).

In general case we can hit some (closed?) binary format, that wouldn't be possible to implement replace() function. In this case we can just throw warning and list links that are failed to update.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37016572-action-to-move-files?utm_campaign=plugin&utm_content=tracker%2F513466&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F513466&utm_medium=issues&utm_source=github).
@morevnaproject
Copy link
Collaborator Author

See also WIP #31

@scribblemaniac scribblemaniac linked a pull request Mar 6, 2017 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant