-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
Generator doesn't pull template from private repo #538
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue. |
@alextrs the reason is that with 1.2 we no longer use global npm to install templates, we had to change it to not only support the latest node and npm7 but also to solve some installation-related issues. tbh, we were not aware people use private registries with generator, so sorry for breaking your functionality. now we use Arborist for installation (https://github.com/asyncapi/generator/blob/master/lib/generator.js#L371). Luckily what you need is supported -> https://github.com/npm/arborist#usage we would just need to not only enable Arborist configuration on API level but also figure out how to do it for the CLI, how to name parameters. Would appriciate some help here |
Hey all, +1 for this use case. Either enabling the CLI to use private registries w/ the generator or publishing an officially supported image that includes a bundle of all the officially supported templates would make it easier to run the generator on build servers in any enterprise environment that restricts internet access. I.e. security team needs to vet either each individual template image or the officially supported image w/ all the templates |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
would be great if someone could contribute this feature, happy to guide |
I would be happy to take it, just encounter the issue myself |
A quick workaround would be to install the packages locally (not with the |
why do you need workarounds? as I see Arborist supports passing auth token, we just need to enable it on API level and in the code |
I meant workaround until we solve the problem |
ah, sorry, you are right, this should work |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
This is still valid. I'm happy to help anyone who wants to contribute it |
I have made changes how can I debug? I need some guidelines to debug. Can you please tell |
Hey, can I work on this issue? |
Hey! Can I work on this issue? I beleive I can do this |
Hey @derberg, I would like to work on this. I am an active contributor at AsyncAPI. Here is the list of my merged PRs. ProposalTaking PR #877 as a base, we have to make these changes: 1. Add typedef for RegistryOptions: Create a typedef declaration for the RegistryOptions object.
2. Update the Constructor JSDoc: we will get a nice API docs generated |
Only 2 candidates can be considered for this issue, it is @AayushSaini101 and @princerajpoot20
Although they did not have to open a PR (did it to quick), they proved he understands the scope and what he is signing up for. Hint for others in future, you can do the same without opening a PR, but just writing transparently in the comment what do you know about the issue
Both folks also made it super easy for me to quickly click on the link to confirm if they already had 3PR merged Instead of going with some "coin flipping" solution, I decided to give this issue to @AayushSaini101 as he is not involved in any other AsyncAPI program (like mentorship) |
Bounty Issue's Timeline
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better. |
Due to unpredicted circumstances that could not be foreseen and are beyond the control of the AsyncAPI Maintainer (@derberg), the Bounty Issue's Timeline is frozen for an indefinite amount of time. |
AsyncAPI Maintainer (@derberg) had regained a confident online presence in Slack, so the Bounty Issue's Timeline is extended by four weeks. Bounty Issue's Timeline Extended
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better. |
@asyncapi/bounty_team |
AsyncAPI Maintainer (@derberg) was absent online in Slack for one period of three working days in a row, so all remaining target dates of the Bounty Issue's Timeline are extended by two calendar weeks. Bounty Issue's Timeline Extended
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better. |
@aeworxet hey, thanks for reaching out about that topic. So yeah, I'd like to propose that we change this issue from Medium to Advanced. When |
Upon request of the AsyncAPI Maintainer (@derberg) Complexity Level of this Bounty Issue has been reclassified to Bounty Issue has been Reclassified and its Timeline Changed
Please note that the dates given represent deadlines, not specific dates, so if the goal is reached sooner, it's better. |
confirming that this is completed, great work 🚀 |
🎉 This issue has been resolved in version 1.17.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Bounty Issue Completed 🎉Please go to the AsyncAPI's OpenCollective page and submit an invoice for |
Describe the bug
After upgrade to 1.6.0 version from 1.1.4, ag stopped to recognize npm configuration to use private repository
How to Reproduce
Expected behavior
Ag should pull template from private repository
The text was updated successfully, but these errors were encountered: