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

-A $INSTANCE_URL is ignored in a checkout of foreign instance #1728

Open
adrianschroeter opened this issue Mar 7, 2025 · 0 comments
Open
Labels

Comments

@adrianschroeter
Copy link
Member

Describe the bug
The command line switch -A $URL used to be the authority in any case, independend of local data. This changed in some of the last releases, what can be quite dangerous esp in scripts when operations happen on the wrong instance.

To Reproduce
Steps to reproduce the behavior:

  1. osc -A $INSTANCE_A co any_project any_package
  2. cd any_project/any_package
  3. osc -A $INSTANCE_B search ...

The search result will be from INSTANCE_A. However this is not limited to the search command, but afaik happens with all commands.

Expected behavior
osc -A $URL always uses $URL no matter of local work directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant