xmake-io / xrepo

🗂️ A cross-platform C/C++ package manager based on Xmake
https://xrepo.xmake.io
Apache License 2.0
361 stars 16 forks source link

Using Xmake-repo by default #33

Closed unknown989 closed 1 year ago

unknown989 commented 1 year ago

Is your feature request related to a problem? Please describe.

When I first started using xrepo I couldn't figure out why I can't install packages, but later on I figured it's because there's no repository attached even though xmake list-repo shows me that xmake-repo is used. but it was fixed when I added it xrepo add-repo xmake-repo https://github.com/xmake-io/xmake-repo

Describe the solution you'd like

I think xrepo by default should fall back the xmake-repo whenever an error is found.

Describe alternatives you've considered

No response

Additional context

No response

waruqi commented 1 year ago

https://github.com/xmake-io/xmake-repo is the built-in repository and it will always be used. You don't need to add it manually.

If you encounter errors, you should provide error logs with -vD to solve the problem.