Skip to content

Commit fbfb958

Browse files
committed
build(repo): Configure Git LFS for large file tracking
This commit introduces Git Large File Storage (LFS) to manage large binary assets, such as 3D models and simulation data, which are unsuitable for direct versioning in Git. The main changes include: - Adding a `.gitattributes` file to specify which file extensions (`.vtu`, `.vtp`, `.series`, etc.) should be handled by LFS. - Adding a `.lfsconfig` file to set the LFS server URL. - Simplifying the `.gitignore` file and removing exclusions for file types that are now tracked by LFS. This setup ensures the repository remains lightweight while properly versioning large data files required for experiments and simulations.
1 parent 0c28a7f commit fbfb958

File tree

490 files changed

+1435
-310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

490 files changed

+1435
-310
lines changed

.dvc/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.dvc/config

Lines changed: 0 additions & 10 deletions
This file was deleted.

.dvcignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

.gitattributes

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Images
2+
*.png filter=lfs diff=lfs merge=lfs -text
3+
4+
# Videos
5+
*.avi filter=lfs diff=lfs merge=lfs -text
6+
*.mp4 filter=lfs diff=lfs merge=lfs -text
7+
8+
# 3D Models
9+
*.glb filter=lfs diff=lfs merge=lfs -text
10+
*.landmarks.json filter=lfs diff=lfs merge=lfs -text
11+
*.msh filter=lfs diff=lfs merge=lfs -text
12+
*.obj filter=lfs diff=lfs merge=lfs -text
13+
*.ply filter=lfs diff=lfs merge=lfs -text
14+
*.series filter=lfs diff=lfs merge=lfs -text
15+
*.stl filter=lfs diff=lfs merge=lfs -text
16+
*.vti filter=lfs diff=lfs merge=lfs -text
17+
*.vtp filter=lfs diff=lfs merge=lfs -text
18+
*.vtu filter=lfs diff=lfs merge=lfs -text
19+
20+
# Misc
21+
*.pvsm filter=lfs diff=lfs merge=lfs -text

.gitignore

Lines changed: 17 additions & 186 deletions
Original file line numberDiff line numberDiff line change
@@ -1,211 +1,42 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/python
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=python
1+
# ref: <https://github.com/github/gitignore/blob/main/Python.gitignore>
2+
3+
# Globally Useful gitignores
4+
*.log
5+
*.log.*
6+
playground/
37

4-
### Python ###
58
# Byte-compiled / optimized / DLL files
69
__pycache__/
7-
*.py[cod]
8-
*$py.class
9-
10-
# C extensions
11-
*.so
1210

1311
# Distribution / packaging
14-
.Python
15-
build/
16-
develop-eggs/
1712
dist/
18-
downloads/
19-
eggs/
20-
.eggs/
21-
lib/
22-
lib64/
23-
parts/
24-
sdist/
25-
var/
26-
wheels/
27-
share/python-wheels/
28-
*.egg-info/
29-
.installed.cfg
30-
*.egg
31-
MANIFEST
32-
33-
# PyInstaller
34-
# Usually these files are written by a python script from a template
35-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
36-
*.manifest
37-
*.spec
38-
39-
# Installer logs
40-
pip-log.txt
41-
pip-delete-this-directory.txt
4213

4314
# Unit test / coverage reports
44-
htmlcov/
45-
.tox/
46-
.nox/
15+
.cache/
4716
.coverage
48-
.coverage.*
49-
.cache
50-
nosetests.xml
51-
coverage.xml
52-
*.cover
53-
*.py,cover
5417
.hypothesis/
5518
.pytest_cache/
56-
cover/
57-
58-
# Translations
59-
*.mo
60-
*.pot
61-
62-
# Django stuff:
63-
*.log
64-
local_settings.py
65-
db.sqlite3
66-
db.sqlite3-journal
67-
68-
# Flask stuff:
69-
instance/
70-
.webassets-cache
71-
72-
# Scrapy stuff:
73-
.scrapy
74-
75-
# Sphinx documentation
76-
docs/_build/
77-
78-
# PyBuilder
79-
.pybuilder/
80-
target/
81-
82-
# Jupyter Notebook
83-
.ipynb_checkpoints
84-
85-
# IPython
86-
profile_default/
87-
ipython_config.py
88-
89-
# pyenv
90-
# For a library or package, you might want to ignore these files since the code is
91-
# intended to run in multiple environments; otherwise, check them in:
92-
# .python-version
93-
94-
# pipenv
95-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
96-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
97-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
98-
# install all needed dependencies.
99-
#Pipfile.lock
100-
101-
# poetry
102-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
103-
# This is especially recommended for binary packages to ensure reproducibility, and is more
104-
# commonly ignored for libraries.
105-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
106-
#poetry.lock
107-
108-
# pdm
109-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
110-
#pdm.lock
111-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
112-
# in version control.
113-
# https://pdm.fming.dev/#use-with-ide
114-
.pdm.toml
11519

116-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
117-
__pypackages__/
118-
119-
# Celery stuff
120-
celerybeat-schedule
121-
celerybeat.pid
122-
123-
# SageMath parsed files
124-
*.sage.py
20+
# pixi
21+
.pixi/
12522

12623
# Environments
127-
.env
128-
.venv
129-
env/
130-
venv/
131-
ENV/
132-
env.bak/
133-
venv.bak/
134-
135-
# Spyder project settings
136-
.spyderproject
137-
.spyproject
138-
139-
# Rope project settings
140-
.ropeproject
24+
.venv/
14125

14226
# mkdocs documentation
143-
/site
144-
145-
# mypy
146-
.mypy_cache/
147-
.dmypy.json
148-
dmypy.json
149-
150-
# Pyre type checker
151-
.pyre/
152-
153-
# pytype static type analyzer
154-
.pytype/
155-
156-
# Cython debug symbols
157-
cython_debug/
158-
159-
# PyCharm
160-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
161-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
162-
# and can be added to the global gitignore or merged into this file. For a more nuclear
163-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
164-
#.idea/
165-
166-
### Python Patch ###
167-
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
168-
poetry.toml
27+
site/
16928

170-
# ruff
29+
# Ruff stuff:
17130
.ruff_cache/
17231

173-
# LSP config files
174-
# pyrightconfig.json
175-
176-
# End of https://www.toptal.com/developers/gitignore/api/python
32+
# [Codecov](https://docs.codecov.com/docs/test-analytics#1-output-a-junit-xml-file-in-your-ci)
33+
junit.xml
17734

178-
# pytest-codspeed
35+
# [CodSpeed](https://codspeed.io/)
17936
.codspeed/
18037

181-
# pytest-benchmark
182-
.benchmarks/
183-
38+
# [hatch-vcs](https://github.com/ofek/hatch-vcs)
18439
_version.py
185-
*.log.*
186-
junit.xml
187-
playground/
188-
189-
fig/
190-
191-
*.jpg
192-
*.pdf
193-
*.png
194-
*.svg
195-
196-
*.avi
197-
*.mp4
198-
199-
*.mtl
200-
*.obj
201-
*.ply
202-
*.pvd
203-
*.pvsm
204-
*.series
205-
*.stl
206-
*.vtk
207-
*.vtp
208-
*.vtu
20940

41+
# [Cherries](https://github.com/liblaf/cherries)
21042
.cherries/
211-
result.json

.lfsconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# -*- mode: ini; -*-
2+
3+
[lfs]
4+
locksverify = true
5+
url = ssh://git@forgejo.liblaf.me/liblaf/apple.git

docs/formula/current.png

Lines changed: 3 additions & 0 deletions
Loading

docs/formula/plan.png

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:dba7a3e3a9935804469f74e44957c2db0f30770732d190cd344a424264a93f6d
3+
size 2366

exp/2025/04/30/fat-muscle/data/10-muscle.vtp.dvc

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)