Closed ayushnau closed 3 months ago
@asyncapi/bounty_team
Just for the record, a conversation happened in the following Slack thread where @KhudaDad414 gave the next steps @ayushnau needs to follow in order to make this PR functional and mergeable.
@ayushnau would you mind summarizing what are you working on atm? Thanks!
Just for the record, a conversation happened in the following Slack thread where @KhudaDad414 gave the next steps @ayushnau needs to follow in order to make this PR functional and mergeable.
@ayushnau would you mind summarizing what are you working on atm? Thanks!
@smoya I'm currently working on creating the correct GitHub Actions workflow for releasing this via changeset.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
@smoya please check added the new release file.
@smoya
@smoya i have made the required changes can you check.
@smoya I think the changesets changes are ready to merge I have still used the changelog (didnt make it false in the config) cause there is ongoing bug in the changesets which they have not given the solution yet. And this is basically causing changesets still search for the CHANGELOG.md inspite of making it false in the config. here is the link https://github.com/changesets/action/issues/256
Also I was needed to install the @changesets/cli also cause once I run the chagnesets/cli command directly with npx it is installing the cli version and correctly working but then the ci is not able to find the changelog causing the error.
@smoya I think the changesets changes are ready to merge I have still used the changelog (didnt make it false in the config) cause there is ongoing bug in the changesets which they have not given the solution yet. And this is basically causing changesets still search for the CHANGELOG.md inspite of making it false in the config. here is the link changesets/action#256
Also I was needed to install the @changesets/cli also cause once I run the chagnesets/cli command directly with npx it is installing the cli version and correctly working but then the ci is not able to find the changelog causing the error.
See https://github.com/asyncapi/parser-js/pull/1008/files#r1648443871
Shouldn’t be @changesets/changelog-git ? You don’t need the cli package with such change and maybe that's the reason you needed to install it?
Alternatively, can't we just then get rid of the GH action and do the commands manually maybe?
@smoya I think the changesets changes are ready to merge I have still used the changelog (didnt make it false in the config) cause there is ongoing bug in the changesets which they have not given the solution yet. And this is basically causing changesets still search for the CHANGELOG.md inspite of making it false in the config. here is the link changesets/action#256 Also I was needed to install the @changesets/cli also cause once I run the chagnesets/cli command directly with npx it is installing the cli version and correctly working but then the ci is not able to find the changelog causing the error.
See https://github.com/asyncapi/parser-js/pull/1008/files#r1648443871
Shouldn’t be @changesets/changelog-git ? You don’t need the cli package with such change and maybe that's the reason you needed to install it?
Alternatively, can't we just then get rid of the GH action and do the commands manually maybe?
@smoya added the @changelog/git and its working now . without installing the cli.
tested and it is deployed to npm registry. Just a thing it creates a pr which i have merged manually. which khudad have told that will get merged automatically with the bot, In my case i did by myself.
also just one thing do i need to change this or it is fine
the generate asset line (last line. ) cause in testing it doesnt caused any issue.
also just one thing do i need to change this or it is fine the generate asset line (last line. ) cause in testing it doesnt caused any issue.
At a glance, I don't see why the PR would break anything so if you tested and the README's toc is being properly updated + the built app is right, let's skip it.
/rtm
For some reason, Sonarcloud status is not being reported. I see it is ok in https://sonarcloud.io/summary/new_code?id=asyncapi_parser-js&pullRequest=1008
Trying to push an empty commit so it triggers a new CI build.
Trying to push an empty commit so it triggers a new CI build.
No success. BTW, I fixed the .sonarcloud.properties
file for you.
I see it is ok in https://sonarcloud.io/summary/new_code?id=asyncapi_parser-js&pullRequest=1008
No, it's not. That instance ran 18 days ago 😮
Additionally, is pointing to a commit that I can't find within the commits of this branch https://github.com/asyncapi/parser-js/commit/ad50cc4a4f15e437c5513a4e06978c8c140695e7
There was an issue with SonarCloud several weeks ago.
There was a long discussion in Slack
https://asyncapi.slack.com/archives/CQVJXFNQL/p1718711108263639
and at the end of the day an issue was opened in .github
https://github.com/asyncapi/.github/issues/306
It seems not to have a simple immediate solution.
It seems not to have a simple immediate solution.
Yeah, I even tried to reset the config on Sonarcloud with no success.
I disabled the check in master
branch now.
/rtm
I disabled the check in
master
branch now.
Found like it seems a workaround. See https://github.com/asyncapi/parser-js/issues/1033#issuecomment-2208958397
@smoya creating the pr for the multiparser.
For the record, the release didn't work because the release action wasn't triggered when the automated PR was merged.
The guess is that didn't work because of this https://github.com/asyncapi/parser-js/blob/master/.github/workflows/release-with-changesets.yml#L21-L26, however the PR was created as chore
(it is ok).
We would need to remove such checks as in https://github.com/asyncapi/studio/blob/master/.github/workflows/release.yml
Changes Added.
Related issue(s)
Related to: https://github.com/asyncapi/parser-js/issues/963