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

ABP CLI Replace Packages with Previews #2837

Closed
hikalkan opened this issue Feb 16, 2020 · 4 comments · Fixed by #2868
Closed

ABP CLI Replace Packages with Previews #2837

hikalkan opened this issue Feb 16, 2020 · 4 comments · Fixed by #2868
Assignees
Milestone

Comments

@hikalkan
Copy link
Member

We re-started to release nightly previews. However, it is tedious to replace all NuGet/NPM packages with the previews and return to stables when its released.

So, add a new command to the ABP CLI to replace all NuGet/NPM packages with the previews and vice verse. Example commands:

abp --switch-to-preview
abp --switch-to-stable

If anyone has a better command name, it is appreciated :)

@acjh
Copy link
Contributor

acjh commented Feb 16, 2020

How about:

abp sources switch --preview
abp sources switch --stable

Inspired by nuget sources: https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-sources

@hikalkan
Copy link
Member Author

Good suggestion. But "source" has a single meaning for NuGet, while it may mean "the source of the modules" for abp. We have/will another command to replace a module reference by its source code, so a root "sources" command would not be suitable. Maybe "abp package-sources -p" and "abp package-sources -s" (long versions are --preview and --stable).

@acjh
Copy link
Contributor

acjh commented Feb 16, 2020

replace a module reference by its source code

Do you mean replace a remote reference with a local reference?

@hikalkan
Copy link
Member Author

You know, startup project is using the modules as NuGet packages. For example, for the Identity module, you don't have the source code. We will try to add a command to CLI to remove Identity Nuget packages, download and add its source code directly into the current solution, so you can freely modify it.

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

Successfully merging a pull request may close this issue.

3 participants