-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat(archlinuxcn-mirrorlist): Update #44
Draft
Zenvie
wants to merge
10
commits into
archlinuxcn:master
Choose a base branch
from
Zenvie:archlinuxcn-mirrorlist
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zenvie
force-pushed
the
archlinuxcn-mirrorlist
branch
30 times, most recently
from
December 12, 2023 12:56
9d8fba8
to
d218f25
Compare
- Format the files using the default settings of ruff and prettier - Validate that yaml file comply with the yamllint rules
Zenvie
force-pushed
the
archlinuxcn-mirrorlist
branch
10 times, most recently
from
December 15, 2023 16:46
c52dd81
to
f6141c5
Compare
- Follow ruff, pylint, pyupgrade, and refurb rules - Modify README_ITEM_TEMPLATE and README_TEMPLATE templates to add more details in README; Validate that markdown file comply with the markdownlint-cli2 rules - Modify MIRRORLIST_ITEM_TEMPLATE template and mirrorlist_item function to append comments for each mirror site in mirrorlist - Use ruamel.yaml module to preserve yaml file content, eliminating the need for ordered_load/dump_yaml functions - Remove unused mirror_score function - Modify mirror_title, generate_readme, generate_mirrorlist functions, removing conditional statements - Modify mirror_comment function, retaining only comments - Modify generate_mirrorlist function, enhance the way of generating time - Modify sub_list function, returning only mirror names - Modify the feature of updating protocols - Divide functions, easy to maintain - Use httpx and socket module to determine whether the website supports http/https and ipv4/ipv6; Increase timeout when connecting; Output exceptions when connection fails - Modify the feature of updating geographic coordinates - Break down functions, easy to maintain - Use httpx module that supports http/2 to structured query; Display information only when geographic location does not exist; Output exceptions when connection fails - Fix code logic, ensure that geographic coordinates data are all from openstreetmap - Modify the feature of generating geojson file - Separate functions, easy to maintain - Fix code logic, ensure that the geographic location or coordinates are not lost - Use orjson module to generate - Modify sub_all function, execute all operations - Modify help document - Refine wording - Avoid force exit the program when entering wrong parameters - Code has no log output feature, discard nicelogger module
- Update the geographic location of the CDN mirror sites[^1][^2] - README.md, archlinuxcn-mirrorlist and mirrors.geojson are generated by manager.py [^1]: https://www.tencentcloud.com/document/product/228/2941 [^2]: https://www.alibabacloud.com/help/en/cdn/product-overview/pop-distribution
- README.md, archlinuxcn-mirrorlist and mirrors.geojson are generated by manager.py
- Follow ruff, pylint, pyupgrade, and refurb rules - README.md, archlinuxcn-mirrorlist and mirrors.geojson are generated by manager.py
- Follow ruff, pylint, pyupgrade, and refurb rules - Use the ruamel.yaml module to load the yaml file - Remove the humantime function that is no longer used - Split the functions for easy maintenance - Use the httpx module that supports http/2 to get the last modified time of multiple file - Save result to json file
- Follow the prettier, stylelint-config-standard and stylelint-config-recess-order rules
- Follow the prettier, stylelint-config-standard and stylelint-config-recess-order rules - Change the page title; Add favicon.ico and page description - Upgrade the dependencies to the latest versions - Change the legend and popup style - Set the zoom level of the map; Avoid showing the coverage area on mouse hover - Remove scale bar and sorting mirror sites function - Improve the color of the mirror site markers
- Validate that markdown file comply with the markdownlint-cli2 rules
Zenvie
force-pushed
the
archlinuxcn-mirrorlist
branch
from
December 16, 2023 09:15
f6141c5
to
e4a041f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.