From f87582073c1e8247529b55d8748d1e8d309fa5eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Dutrieux?= <loic.dutrieux@gmail.com>
Date: Thu, 29 Aug 2024 14:43:10 +0200
Subject: [PATCH] Removed all references to LFS and specific CI workflows, etc

---
 .github/workflows/build_and_test.yml | 10 ++--------
 .readthedocs.yaml                    | 16 ----------------
 CHANGES.txt                          |  6 ++++--
 CONTRIBUTING.md                      |  1 -
 4 files changed, 6 insertions(+), 27 deletions(-)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index a8ff4da..19f278e 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -12,12 +12,8 @@ jobs:
         python-version: ["3.9", "3.10", "3.11", "3.12"]
 
     steps:
-      - name: checkout repo + LFS files
+      - name: checkout repo
         uses: actions/checkout@v4
-        with:
-          lfs: true
-      - name: checkout lfs objects
-        run: git lfs checkout
       - name: Set up Python ${{ matrix.python-version }}
         uses: actions/setup-python@v5
         with:
@@ -37,10 +33,8 @@ jobs:
     runs-on: ubuntu-latest
     if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
     steps:
-      - name: Checkout repository + LFS files
+      - name: Checkout repository
         uses: actions/checkout@v4
-        with:
-          lfs: true
       
       - name: Set up Python 3.11
         uses: actions/setup-python@v5
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 0746da6..c7b05f7 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -10,22 +10,6 @@ build:
   os: ubuntu-20.04
   tools:
     python: "3.11"
-  jobs:
-    post_checkout:
-      # Download and uncompress the git-lfs binary
-      # https://git-lfs.github.com/
-      - wget https://github.com/git-lfs/git-lfs/releases/download/v3.1.4/git-lfs-linux-amd64-v3.1.4.tar.gz
-      - tar xvfz git-lfs-linux-amd64-v3.1.4.tar.gz
-      # Modify LFS config paths to point where git-lfs binary was downloaded
-      - git config filter.lfs.process "`pwd`/git-lfs filter-process"
-      - git config filter.lfs.smudge  "`pwd`/git-lfs smudge -- %f"
-      - git config filter.lfs.clean "`pwd`/git-lfs clean -- %f"
-      # Make LFS available in current repository
-      - ./git-lfs install
-      # Download content from remote
-      - ./git-lfs fetch
-      # Make local files to have the real content on them
-      - ./git-lfs checkout
 
 # Build documentation in the docs/ directory with Sphinx
 sphinx:
diff --git a/CHANGES.txt b/CHANGES.txt
index 8e5d9b3..ef17e81 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,8 +1,8 @@
 Changes
 =======
 
-Dev
----
+0.3.0 (2024-08-29)
+------------------
 - nrt.data now lives in its own namespace package (nrt-data). Subpackage removed,
   and namespace enabling in multiple __init__.py files
 - A few edits (e.g. pkg-data and MANIFEST.in) as a consequence of removing
@@ -12,6 +12,8 @@ Dev
 - Adapted integration fixture to new test data access method (+ band names slightly changed
   B4 is now B04, etc)
 - Version number now managed via git tags using setuptools-scm
+- Removed all LFS hack in .readthedocs, github actions, etc. No longer needed
+  given that the package itself no longer contain data
 
 
 0.2.1 (2024-07-15)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6d053b3..9cd2612 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -27,7 +27,6 @@ For any contribution to the code base or the documentation, use the pull request
 Your contribution will be reviewed and discussied as part of the pull request. If approved, it will then be merged
 into the main branch of the repository and included in the following release. 
 
-> :warning: **Ensure that you have git-lfs installed**: The test data included in the package (reasonably sized netCDF and GeoTIFF files) are versioned using Git with the Large File Storage (LFS) extension. Cloning the repository without LFS installed will silently replace these files with placeholders, causing some tests to fail.
 
 ### Testing