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

Add icon validation for file size and duplicates #6076

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ramyromel
Copy link

@Ramyromel Ramyromel commented Oct 26, 2024

Add validation for icon file size and duplicate icons.

  • README.md

    • Add information about icon file size validation.
    • Add information about duplicate icon validation.
  • .github/workflows/pr_checks.yml

    • Add validation for icon file size in the validate_icons job.
    • Add validation for duplicate icons in the validate_icons job.
  • maintainer_checklist.md

    • Add a step to check for duplicate icons.
    • Add a step to check for icon file size.
  • processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt

    • Add logic to check for duplicate icons by calculating a hash (e.g., SHA-256) of each icon file.
    • Add logic to validate icon file size.

For more details, open the Copilot Workspace session.

Add validation for icon file size and duplicate icons.

* **README.md**
  - Add information about icon file size validation.
  - Add information about duplicate icon validation.

* **.github/workflows/pr_checks.yml**
  - Add validation for icon file size in the `validate_icons` job.
  - Add validation for duplicate icons in the `validate_icons` job.

* **maintainer_checklist.md**
  - Add a step to check for duplicate icons.
  - Add a step to check for icon file size.

* **processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt**
  - Add logic to check for duplicate icons by calculating a hash (e.g., SHA-256) of each icon file.
  - Add logic to validate icon file size.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ethereum-lists/chains?shareId=XXXX-XXXX-XXXX-XXXX).
@ethereum-lists ethereum-lists deleted a comment from github-actions bot Oct 26, 2024
Saraeutsza

This comment was marked as spam.

Copy link
Member

@ligi ligi left a comment

Choose a reason for hiding this comment

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

Thanks - great contribution!
But the CI must pass and currently it fails on historic icons - so either an exception to them or they need to be converted to fit the new (and useful) constraints

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