-
Notifications
You must be signed in to change notification settings - Fork 147
Draft version of git proxy website #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
Conversation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
@JamieSlome - apologies for forgetting, how can I make lint checks happy? |
|
@vaibssingh - should |
|
@JamieSlome Not really. It only fixes the auto fixable problems. If it's not able to do so then those errors are highlighted in the console. User would get the exact same errors on their local too after running the command. This workflow essentially fixes the lint issues if the user has forgot to run it before pushing and if there are no conflicting issues or issues that can't be auto fixed, this pipeline would always pass. This actually makes me think that we should probably add this as a githook that runs before each push which would save time and efforts but then that would make this workflow redundant. Let me know what you think about this approach :) |
|
@vaibssingh - thanks for the information. I will work with @maoo to address the lint issues. Are we able to create a new issue that will lint the repository before a developer commits? Appreciate your time as always @vaibssingh 👍 |
|
@vaibssingh - I've just checked out onto the I wonder if we need a |
|
@maoo @TheJuanAndOnly99 - are we able to disable the linting rule for now whist we understand what is going on. We can then merge this PR, and then look to lint/pretty the entire codebase after 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maoo - this is my first time using Docusaurus. Should the website/.docusaurus file changes be included in this PR?
I can see that you have included this file path in the .gitignore?
|
|
Hey @JamieSlome , I think I might have missed that rule while adding the config. Sorry about that. Let me have a look at it. I agree with you on adding a On the topic of updating the rules, I am also going to add a rule that doesn't allow |
|
@JamieSlome meanwhile I have opened #241 which I am happy to take up. Should I create another issue for adding the |
|
@JamieSlome I have created another PR #243 against this branch which fixes the above issues. This does not include any changes in eslint config or rules. Most of these fixes are manual and some automatically added once the manual issues were resolved. Let me know if this works for you. This should get this PR to pass now. The only thing I request you to verify is this line here: I tried it on my machine but I can't get past the login screen so I can not check how does this render on browser. |
fix: lint errors for website branch fix
|
@vaibssingh - merged! 🎉 Feel free to include all changes in #241. I'd say get the linting and prettier into a position we are happy with on one branch, and then we can merge into Appreciate you @vaibssingh 👍 |
|
@maoo - can we look at what is causing the Netflify checks to fail now? @vaibssingh has kindly addressed the linting issues for us! |
Issue is: I suppose it can be reproduced with a local |
Got it |
Sorry about this one. Have opened another PR #245 that fixes the missing import. Somehow this edit got omitted during the commit. Hopefully this would be the last commit for this PR 😄 |
@JamieSlome On this point I think we need little bit more clarification. The auto fixes don't work on a file as long as it has issues which have to be fixed manually . Most of the indenting, quotes and similar issues get fixed automatically but the errors where the code needs to be changed in any meaningful way are not fixed. Whether the issue can be fixed automatically or not, depends on what exactly is the issue with the code. Usually the I agree on the need for a new |
|
All checks passing, waheey! 🎉 Thanks, @vaibssingh! @maoo, can we remove the files and folders that shouldn't be included in this PR, append them to the |
done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🍰
You have summarised perfectly - I did get auto-fixing issues and some remained. Let's focus on #241 and appreciate the clear delineation of the issues here. Nice work! 👍 |
|
@maoo - will this be available under https://git-proxy.finos.org? |
https://git-proxy.finos.org/ is up - but please do not share it yet (other than for preview), I believe we need to do few more iterations to make it look nice. SSL will be enabled in the next few minutes. |
|
@maoo - of course, no problem 👍 |
|
@maoo can we open an issue to create a workflow to publish the doc site through CI? |
Hi @coopernetes ! We're using Netlify, a CDN that pulls code, runs the build and publishes the site for you; it also provides a preview on Pull Requests; no need for extra CI steps 😄 |
Preview available at https://website--endearing-brigadeiros-63f9d0.netlify.app/
Contents are available in the following files/folders:
docswebsite/src/pages/index.jswebsite/src/components/