Skip to content

Conversation

mcbarton
Copy link
Collaborator

Previously xeus-cpp only had one kernel. This PR updates the .gitignore to take into account there are now multiple kernels.

@codecov-commenter
Copy link

codecov-commenter commented May 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.42%. Comparing base (09360ac) to head (adce397).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #87   +/-   ##
=======================================
  Coverage   52.42%   52.42%           
=======================================
  Files          15       15           
  Lines         599      599           
=======================================
  Hits          314      314           
  Misses        285      285           

.gitignore Outdated
@@ -39,7 +39,7 @@
__pycache__/

# Generated kernelspec
share/jupyter/kernels/xcpp/kernel.json
share/jupyter/kernels/**/*.json
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this even in the ignore list?

Copy link
Collaborator Author

@mcbarton mcbarton May 12, 2024

Choose a reason for hiding this comment

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

@vgvassilev I actually don't know. I assummed it was there for a reason, and generalised it. I will remove it, and change the PR name accordingly.

Copy link
Collaborator Author

@mcbarton mcbarton May 12, 2024

Choose a reason for hiding this comment

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

My only guess as to why its was there to begin with is in case someone doesn't build xeus-cpp within the build folder, like the instructions say, and to stop it being added to a commit.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we used to generate some files in the source directory with cmake configure_file. That’s gone now.

@mcbarton mcbarton changed the title Update .gitignore due to more kernels Remove kernelspec from .gitignore May 12, 2024
@mcbarton mcbarton force-pushed the Update-.gitignore branch from 4bca4a5 to adce397 Compare May 12, 2024 12:55
@mcbarton
Copy link
Collaborator Author

@vgvassilev This PR is ready for merging.

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

LGTM!

@vgvassilev vgvassilev merged commit 792f9e9 into compiler-research:main May 12, 2024
@mcbarton mcbarton deleted the Update-.gitignore branch May 22, 2024 16:11
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