- edited description
CONTRIBUTING.md not being rendered in pull requests
I've installed the add-on to a team account, added the CONTRIBUTING.md to the root of a mercurial repo with the same content as in the example (https://prguidelines.useast.atlassian.io/) and the file is in the default branch as well.
In a pull request the guidlines link is visible but when i click it i get a blank modal. See attached image.
Also i'm using the latest stable version of chrome and there are no errors in the dev tools.
Comments (17)
-
reporter -
Account Deactivated Hi Luciano,
I apologize for issues. I'll try to replicate the problem and report back.
Abhin
-
reporter Thank you! It would be great to start using this feature for our teams.
FYI, i did also try this with a Git repo but didn't work either.
-
Account Deactivated Hi Luciano,
I've recently updated the way the markdown is parsed. You can probably see that for yourself since I also recently open-sourced the add-on. Can you please try again and let me know if the add-on renders correctly?
Abhin
-
Account Deactivated - changed status to resolved
A recent overhaul of the markdown parsing code should have fixed this error.
-
reporter Unfortunately, it's still not working for me. I get the same result.
-
reporter Also, we are using the cloud version of bitbucket. So not sure how we get a new version of the add-on installed. Is it automatically updated?
-
Account Deactivated I haven't seen a traceback in the logs, so that's a bit concerning. You should be able to try reinstalling the add-on by going to the account's settings page (the account onto which the addon was installed) and choosing "Manage add-ons", expanding the "Pull request guidelines" add-on and hitting "remove".
Once that is done, you should be able to try reinstalling through the "Find new add-ons" or by hitting the install button on https://prguidelines.atlassian.io/
I also noticed that you were using https://prguidelines.useast.atlassian.io/ in your description, which is different from the official URL (https://prguidelines.atlassian.io/), but also works. Using a different URL could possible mess with the OAuth permissions, so it would be great to try reinstalling as per the above instructions.
Please let me know the result of the reinstall.
-
reporter - changed status to open
@abhin i've just tried this again but still having no luck in getting it to display anything.
Is there anything i can do to provide you with more information? Cheers
-
Does the CONTRIBUTING.md file need to be on the "main branch"?
I still see the "Get started with a CONTRIBUTING.md file" on a pull request adding CONTRIBUTING.md
-
Account Deactivated @luciano_cloudpay Sorry for the delayed response. I'll take a look at this issue this week and see what we can do.
-
Account Deactivated @bbagdon: the CONTRIBUTING.md file needs to be on the target branch of the PR. It would not (and should not) be based on the source branch.
-
reporter That would be great, thank you. Let me know if there is anything i can do to help. Thanks
-
@abhin Any updates regarding this issue? I'm experiencing this as well
-
reporter - changed status to resolved
I've just reinstalled the addon and it is working now. Thanks
-
I am experiencing the same, I have included CONTRIBUTING.md in master and developer both branches.
-
There’s a typo in the CONTRIBUTING.md example and I think I copy+pasted the name which I think was my issue…
- Log in to comment