Skip to content
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

Revive link checker #682

Merged
merged 14 commits into from
Dec 15, 2023
Merged

Revive link checker #682

merged 14 commits into from
Dec 15, 2023

Conversation

wirednkod
Copy link
Member

@wirednkod wirednkod commented Jul 5, 2023

Also checks the PR before merging (when PR is opened).

e.g. https://github.com/Polkadot-Blockchain-Academy/pba-content/actions/runs/5463571326/jobs/9944430712?pr=682#step:4:88

We should also add a rule on settings that the PR cannot be merged unless there is at LEAST 1 approval from an admin or smthng

Copy link
Contributor

@JoshOrndorff JoshOrndorff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good change. But I think we get @nukemandan's opinion before merging.

FWIW this is a middle ground between what I installed in #368 (checks every branch) and what Nuke installed in #648 (only checks main). This one only checks branches that have PRs to main open.

Honestly, this is probably the best idea of all.

@wirednkod
Copy link
Member Author

IMO - there is no reason to have a link checker if everything gets merged without being checked.
The earlier the issue appear, the easier it is to be fixed. This way the instructor will make sure his dirs and links are fine, and the issue will not be delegated to a maintainer or someone else (as I did) to fix the issues;

@nuke-web3
Copy link

duplicate #690 ?

See #686 too for maybe a yet untried minimal CI running to add value option 🙏

@wirednkod
Copy link
Member Author

#690 is a DO NOT MERGE TEST PR :) So we keep this as the "track"

@nuke-web3 nuke-web3 closed this Aug 21, 2023
@JoshOrndorff
Copy link
Contributor

JoshOrndorff commented Aug 22, 2023

Why is this closed? We need serious CI on this repo. @nukemandan As a PBA session goes on you get more and more pissed at contributors for missing things like broken links or closing / characters in img tags. Why are you so opposed to just having a CI that checks it?

@wirednkod wirednkod reopened this Aug 22, 2023
@wirednkod
Copy link
Member Author

I merged with main and the checker already captured some link issues. I think it is important to keep this one - but its your call 100%

@nuke-web3
Copy link

This repo is moving to an archive, and thus we will no longer need to try and fix things, a new monorepo book is imminent that we can get better CI on. Here is the WIP that will be destroyed when approved and the HEAD of that repo used to start the new public facing content repo with slides embedded: https://github.com/Polkadot-Blockchain-Academy/testing-only

@nuke-web3 nuke-web3 closed this Aug 22, 2023
@JoshOrndorff
Copy link
Contributor

JoshOrndorff commented Dec 13, 2023

@wirednkod I think it is time to get this one in :D

I can't reopen it, but maybe you can since it is your PR.

@wirednkod wirednkod reopened this Dec 13, 2023
@nuke-web3
Copy link

The book is the repo to use only now. This repo can and should have issues and PRs migrated.
you can migrate this over there, except you don't need to. https://github.com/Polkadot-Blockchain-Academy/pba-book/blob/main/.github/workflows/checks.yml

Please review
https://polkadot-blockchain-academy.github.io/pba-book/contribute/index.html

@wirednkod
Copy link
Member Author

Thank you @nukemandan for the feedback. This, though, was adviced to revive and run here.

@nuke-web3
Copy link

OK well I am sadly not involved at this time to help out, although that may change (@Asamartino will let me know) I would advocate not trying to maintain this repo in addition or instead of the book, that this CI work implies is what you are steering for.

If you do decide to abandon the book or maintain changes between these repos, I suggest strongly pulling from the book first for the slides before restarting work here, as I did clean some MD and associated img/other files and fixed a lot of broken and stale links there (SDK migration as well).

One key factor the book provides that this repo does not: a replacement for notion as a home for the content in sequence. So yet more work would be needed that I tried hard to avoid in making the book will be required to share and update things easily.

Happy to advise on things and help clarify things as I do know I was not able to communicate with faculty past UCB to motivate anything I was doing toward the book.

Best of luck in HK if I am not part of things at all team ❤️

@nuke-web3 nuke-web3 removed their request for review December 15, 2023 03:04
@wirednkod
Copy link
Member Author

@JoshOrndorff This still needs some links to be fixed (I'll take care of it)
@nukemandan sorry to hear about your non-involvenment. I am not aware of the book's content but I'll ask around or cherry-pick whatever changes need to be passed here, if any. Thank you for your advices though - highly appreciated 🙏🏽

@wirednkod wirednkod merged commit 043cc28 into main Dec 15, 2023
1 check passed
@wirednkod wirednkod deleted the nik-add-link-check branch December 15, 2023 22:52
@@ -120,7 +120,7 @@ We want the most robust system possible, given the _environment and context_ the

More relevant trilemma:

- [Scalability](https://vitalik.ca/general/2021/04/07/sharding.html#the-scalability-trilemma)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vitalik's entire website is down right now. I suspect it won't be permanent, and we may be able to restore this one.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright then. This is not a hurry anyways so we could wait for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants