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

Update .gitignore #2882

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Update .gitignore #2882

merged 1 commit into from
Nov 8, 2023

Conversation

francesco-ballarin
Copy link
Member

I'll comment below each change

@@ -8,6 +8,7 @@
*.os
*.pyc
*.so
*.so.*
Copy link
Member Author

Choose a reason for hiding this comment

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

To also match libdolfinx.so.0.8 and libdolfinx.so.0.8.0.0.

@@ -16,8 +17,6 @@
*.dylib
*.nbi
*.nbc
dolfinx/libdolfin.so*
Copy link
Member Author

Choose a reason for hiding this comment

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

Not needed, there is already a match for all .so.

@@ -42,9 +41,6 @@ python/doc/source/generated/
cpp/dolfinx/common/version.h

# Configuration files
dolfin.conf
Copy link
Member Author

Choose a reason for hiding this comment

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

These have the old name dolfin.

@@ -58,20 +54,17 @@ test_*_tempdir

# Tests
/python/test/unit/**/*.xml
/cpp/test/unit/mesh/*.{xml,m}
Copy link
Member Author

Choose a reason for hiding this comment

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

C++ unit tests are not in cpp/test/unit anymore, so I removed everything.

@@ -58,20 +54,17 @@ test_*_tempdir

# Tests
/python/test/unit/**/*.xml
Copy link
Member Author

Choose a reason for hiding this comment

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

$ find . -name '*.xml' gives me

./python/test/unit/io/xml_value_collection_ref.xml
./python/test/unit/fem/gmsh_unit_interval.xml
./python/test/unit/fem/tetrahedron.xml

I grep-ed for the first two and I can't find them every being used.


.cache

# FFCx generated demo files
cpp/demo/**/**/*.h
cpp/demo/documented/cahn-hilliard/CahnHilliard2D.cpp
Copy link
Member Author

Choose a reason for hiding this comment

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

C++ demos are not in cpp/demo/documented, so this is safe to remove.

@francesco-ballarin
Copy link
Member Author

Let me know about /python/test/unit/**/*.xml, if the ignore (or even the file themselves) are safe to be removed.

@garth-wells garth-wells added this pull request to the merge queue Nov 8, 2023
Merged via the queue into main with commit 0937fab Nov 8, 2023
20 checks passed
@garth-wells garth-wells deleted the francesco/gitignore branch November 8, 2023 09:00
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.

2 participants