Skip to content

Commit

Permalink
Removed all references to LFS and specific CI workflows, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
loicdtx committed Aug 29, 2024
1 parent a7d8137 commit f875820
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 27 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
16 changes: 0 additions & 16 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f875820

Please sign in to comment.