Skip to content

Commit 7cd14eb

Browse files
Removed LFS requirement from repo and build process:
- disabled LFS with `git lfs uninstall` - removed lfs tracking for all tracked filetypes with: `git lfs untrack "filetype"` - removed and re-added affected files with `git add --renormalize .` - committed all changed files - reenabled LFS with `git lfs install` - verified no files tracked with `git lfs ls-files` - removed LFS config in docs/conf.py
1 parent 3877932 commit 7cd14eb

File tree

230 files changed

+21500
-36
lines changed

Some content is hidden

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

230 files changed

+21500
-36
lines changed

.gitattributes

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
*.png filter=lfs diff=lfs merge=lfs -text
2-
*.xcf filter=lfs diff=lfs merge=lfs -text
3-
*.draw filter=lfs diff=lfs merge=lfs -text
4-
*.svg filter=lfs diff=lfs merge=lfs -text
5-
*.vsdx filter=lfs diff=lfs merge=lfs -text
6-
*.jpg filter=lfs diff=lfs merge=lfs -text
7-
*.mwb filter=lfs diff=lfs merge=lfs -text

docs/conf.py

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,15 @@
44

55
import os
66

7-
# Download URL for git-lfs, required when building in RTD container
8-
GIT_LFS_VERSION = "v2.12.0"
9-
GIT_LFS_BASE = "https://github.com/git-lfs/git-lfs/releases/download/{0}/".format(
10-
GIT_LFS_VERSION
11-
)
12-
GIT_LFS_PATH = "git-lfs-linux-amd64-{0}.tar.gz".format(GIT_LFS_VERSION)
13-
GIT_LFS_URL = GIT_LFS_BASE + GIT_LFS_PATH
14-
15-
# Detect if we're being built by Read the Docs
16-
# https://docs.readthedocs.io/en/latest/faq.html#how-do-i-change-behavior-when-building-with-read-the-docs
17-
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
18-
19-
# Install git-lfs when running in RTD context, and check out all binaries (e.g.,
20-
# screenshots).
21-
if on_rtd:
22-
if not os.path.exists("./git-lfs"):
23-
os.system("wget {}".format(GIT_LFS_URL))
24-
os.system("tar xvfz {}".format(GIT_LFS_PATH))
25-
os.system("./git-lfs install")
26-
os.system("./git-lfs fetch")
27-
os.system("./git-lfs checkout")
28-
29-
307
# If extensions (or modules to document with autodoc) are in another directory,
318
# add these directories to sys.path here. If the directory is relative to the
329
# documentation root, use os.path.abspath to make it absolute, like shown here.
3310
# sys.path.insert(0, os.path.abspath('.'))
3411

12+
# Detect if we're being built by Read the Docs
13+
# https://docs.readthedocs.io/en/latest/faq.html#how-do-i-change-behavior-when-building-with-read-the-docs
14+
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
15+
3516
# -- General configuration ------------------------------------------------
3617

3718
# If your documentation needs a minimal Sphinx version, state it here.

docs/diagrams/SecureDrop-0.3-DFD.png

157 KB
Loading

docs/diagrams/SecureDrop-en.png

437 KB
Loading

0 commit comments

Comments
 (0)