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

Allow some remote actions without a bit-workspace #1837

Closed
jonisar opened this issue Jul 18, 2019 · 1 comment
Closed

Allow some remote actions without a bit-workspace #1837

jonisar opened this issue Jul 18, 2019 · 1 comment

Comments

@jonisar
Copy link
Member

jonisar commented Jul 18, 2019

Bit requires a local workspace to run all commands.
Some commands can be defined as 'remote only' commands and should be able to run without a workspace:

  • bit list <remote collection>
  • bit show <remote component>
  • bit remove <remote component>
  • bit deprecate <remote component>
  • bit undeprecate <remote component>

There is no reason for these commands not to be able to work without a workspace, so there's no need to force it.

@jonisar jonisar changed the title bit init instances bit init is required in irrelevant use cases Jul 18, 2019
@itaymendel itaymendel changed the title bit init is required in irrelevant use cases All some remote actions without a bit-workspace Jul 18, 2019
@itaymendel itaymendel changed the title All some remote actions without a bit-workspace Allow some remote actions without a bit-workspace Jul 18, 2019
@GiladShoham GiladShoham added this to the 14.3.0 milestone Jul 29, 2019
@davidfirst davidfirst self-assigned this Jul 30, 2019
davidfirst added a commit that referenced this issue Jul 31, 2019
davidfirst added a commit that referenced this issue Aug 1, 2019
…ce (#1884)

* implements #1837, enable running "bit list" of a remote scope without a bit-workspace

* allow bit-deprecate and bit-undeprecate to work outside bit-workspace

* change the machine of lint to be medium instead of small (hopefully it will fix the error of "Flow returned an error: Out of retries, exiting!")

* enable remove remote components using wildcards regardless whether the components exist locally

* enable remove components from a remote scope outside of a bit-workspace
@davidfirst
Copy link
Member

Implemented in #1884.
Added e2e-tests for all cases.

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

No branches or pull requests

4 participants