File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111To run it, the simplest way is to fetch it from GitHub and run it directly:
1212
13- curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/<tag>/cookiecutter/migrate.py | python3
13+ curl -sSLf https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/<tag>/cookiecutter/migrate.py | python3
1414
1515Make sure to replace the `<tag>` to the version you want to migrate to in the URL.
1616
Original file line number Diff line number Diff line change 1313All upgrading should be done via the migration script or regenerating the templates.
1414
1515``` bash
16- curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/< tag> /cookiecutter/migrate.py | python3
16+ curl -sSLf https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/< tag> /cookiecutter/migrate.py | python3 -I
1717```
1818
1919But you might still need to adapt your code:
Original file line number Diff line number Diff line change 1010
1111To run it, the simplest way is to fetch it from GitHub and run it directly:
1212
13- curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/<tag>/cookiecutter/migrate.py | python3
13+ curl -sSLf https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/<tag>/cookiecutter/migrate.py | python3 -I
1414
1515Make sure to replace the `<tag>` to the version you want to migrate to in the URL.
1616
Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ The script can also only migrate from one version to the next. If you are
115115skipping versions, you will have to run the script multiple times.
116116
117117``` sh
118- curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/{{ ref_name }}/cookiecutter/migrate.py \
119- | python3
118+ curl -sSLf https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/{{ ref_name }}/cookiecutter/migrate.py \
119+ | python3 -I
120120```
121121
122122Make sure that the version (` {{ ref_name }} ` ) matches the
You can’t perform that action at this time.
0 commit comments