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

fix: exclude test WebAssembly from linguist #8868

Merged
merged 4 commits into from
Apr 3, 2023

Conversation

pugachAG
Copy link
Contributor

@pugachAG pugachAG commented Apr 3, 2023

Github displays nearcore language as WebAssembly which is confusing:
Screenshot 2023-04-03 at 11 49 02
This is caused by #8792.
Fixed by ignoring test wast files.

@pugachAG pugachAG requested review from Ekleog-NEAR and nagisa April 3, 2023 09:55
@pugachAG pugachAG marked this pull request as ready for review April 3, 2023 09:55
@pugachAG pugachAG requested a review from a team as a code owner April 3, 2023 09:55
@pugachAG pugachAG added the C-housekeeping Category: Refactoring, cleanups, code quality label Apr 3, 2023
.gitattributes Outdated
@@ -1 +1,2 @@
**/package-lock.json linguist-generated=true -diff
/runtime/near-vm/tests/wast/spec/* linguist-detectable=false
Copy link
Collaborator

Choose a reason for hiding this comment

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

I’d just ignore anything with **.wast, **.wat and **.wasm extensions. Given the nature of the project(s) these files can end up in other places just as well quite easily, leading to this same issue appearing again.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that makes sense, done

@pugachAG pugachAG changed the title fix: exclude test wasm from linguist fix: exclude test WebAssembly from linguist Apr 3, 2023
@pugachAG pugachAG requested a review from nagisa April 3, 2023 11:49
@near-bulldozer near-bulldozer bot merged commit 89513db into near:master Apr 3, 2023
@pugachAG
Copy link
Contributor Author

pugachAG commented Apr 3, 2023

The fix worked as expected:
Screenshot 2023-04-03 at 14 18 56

nikurt pushed a commit to nikurt/nearcore that referenced this pull request Apr 5, 2023
Github displays nearcore language as WebAssembly which is confusing:
<img width="464" alt="Screenshot 2023-04-03 at 11 49 02" src="https://user-images.githubusercontent.com/3171838/229474854-3597d9ec-6f7c-4efe-815c-11a3e4bee23d.png">
This is caused by near#8792.
Fixed by ignoring test wast files.
nikurt pushed a commit that referenced this pull request Apr 28, 2023
Github displays nearcore language as WebAssembly which is confusing:
<img width="464" alt="Screenshot 2023-04-03 at 11 49 02" src="https://user-images.githubusercontent.com/3171838/229474854-3597d9ec-6f7c-4efe-815c-11a3e4bee23d.png">
This is caused by #8792.
Fixed by ignoring test wast files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-housekeeping Category: Refactoring, cleanups, code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants