mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-03-12 17:39:01 +00:00
Created Migration from Devine (markdown)
14
Migration-from-Devine.md
Normal file
14
Migration-from-Devine.md
Normal file
@@ -0,0 +1,14 @@
|
||||
To migrate from Devine to Unshackle in your service modules, you can use the following one-liner to update all occurrences of "from devine" to "from unshackle" in files inside the services directory:
|
||||
|
||||
```bash
|
||||
find unshackle/services/ -type f -name "*.py" -exec sed -i 's/from devine/from unshackle/g' {} +
|
||||
```
|
||||
|
||||
This command will recursively search for Python files in services and replace all instances of `from devine` with `from unshackle`.
|
||||
|
||||
|
||||
Here’s a suggested markdown snippet for your migration wiki:
|
||||
|
||||
### Migrating Configuration
|
||||
|
||||
Your `devine.yaml` will function the same—just place its contents into `unshackle.yaml`. All service, credential, and CDM mappings will be recognized by Unshackle without modification. No need to rename keys or restructure; simply copy the configuration over.
|
||||
Reference in New Issue
Block a user