You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change introduced in #13 caused a regression: no matter what users pass to the -r/--repository CLI argument, Replicat will attempt to perform actions on the repository in the current working directory, which is the default behaviour.
Cause
This is due to a bug in the Python's argparse module. Come read python/cpython#89398, it's amusing.
Affected versions
main, 1.2.1
Solution
Force Replicat to parse the -r/--repository argument twice. We'll be able to revert this solution when (if) Python core developers find time to fix (or review PRs that fix) that argparse bug. Let's not forget to verify that the fix actually works. Also, we should add tests for Replicat's CLI.
The text was updated successfully, but these errors were encountered:
Description
The change introduced in #13 caused a regression: no matter what users pass to the
-r
/--repository
CLI argument, Replicat will attempt to perform actions on the repository in the current working directory, which is the default behaviour.Cause
This is due to a bug in the Python's argparse module. Come read python/cpython#89398, it's amusing.
Affected versions
main
, 1.2.1Solution
Force Replicat to parse the
-r
/--repository
argument twice. We'll be able to revert this solution when (if) Python core developers find time to fix (or review PRs that fix) that argparse bug. Let's not forget to verify that the fix actually works. Also, we should add tests for Replicat's CLI.The text was updated successfully, but these errors were encountered: