From 627387f9c4a4fc175eeb5f56fc114ff56d2631ff Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Sun, 23 Mar 2025 14:43:01 +0200 Subject: [PATCH 1/2] Update URLs to point to CodeBerg repo --- .reuse/dep5 | 2 +- README.md | 8 ++++---- setup.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.reuse/dep5 b/.reuse/dep5 index 47f1b52..bac386a 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Galvani Upstream-Contact: Christopher Kerr -Source: https://github.com/echemdata/galvani +Source: https://codeberg.org/echemdata/galvani Files: tests/testdata/* Copyright: 2010-2014 Christopher Kerr diff --git a/README.md b/README.md index b28b9b6..3bab774 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ pip install galvani The latest development version can be installed with `pip` directly from GitHub (see note about git-lfs below): ```shell -GIT_LFS_SKIP_SMUDGE=1 pip install git+https://github.com/echemdata/galvani +GIT_LFS_SKIP_SMUDGE=1 pip install git+https://codeberg.org/echemdata/galvani ``` ## Development installation and contributing @@ -64,7 +64,7 @@ GIT_LFS_SKIP_SMUDGE=1 pip install git+https://github.com/echemdata/galvani > cloning. > The full test data from the last release can always be obtained by > downloading the GitHub release archives (tar or zip), at -> https://github.com/echemdata/galvani/releases/latest +> https://codeberg.org/echemdata/galvani/releases/latest > > If you wish to add test files, please ensure they are as small as possible, > and take care that your tests work locally without the need for the LFS files. @@ -74,9 +74,9 @@ GIT_LFS_SKIP_SMUDGE=1 pip install git+https://github.com/echemdata/galvani If you wish to contribute to galvani, please clone the repository and install the testing dependencies: ```shell -git clone git@github.com:echemdata/galvani +git clone git@codeberg.org:echemdata/galvani cd galvani pip install -e .\[tests\] ``` -Code can be contributed back via [GitHub pull requests](https://github.com/echemdata/galvani/pulls) and new features or bugs can be discussed in the [issue tracker](https://github.com/echemdata/galvani/issues). +Code can be contributed back via [pull requests](https://codeberg.org/echemdata/galvani/pulls) and new features or bugs can be discussed in the [issue tracker](https://codeberg.org/echemdata/galvani/issues). diff --git a/setup.py b/setup.py index 76bcd17..1887f5d 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( description="Open and process battery charger log data files", long_description=readme, long_description_content_type="text/markdown", - url="https://github.com/echemdata/galvani", + url="https://codeberg.org/echemdata/galvani", author="Chris Kerr", author_email="chris.kerr@mykolab.ch", license="GPLv3+", From 4efec5837441e2fdcfff447e5788acf5704db884 Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Sun, 23 Mar 2025 14:50:54 +0200 Subject: [PATCH 2/2] Remove warning about Git LFS bandwidth limits --- README.md | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 3bab774..efb2415 100644 --- a/README.md +++ b/README.md @@ -47,30 +47,14 @@ The latest galvani releases can be installed from [PyPI](https://pypi.org/projec pip install galvani ``` -The latest development version can be installed with `pip` directly from GitHub (see note about git-lfs below): +The latest development version can be installed with `pip` directly from GitHub: ```shell -GIT_LFS_SKIP_SMUDGE=1 pip install git+https://codeberg.org/echemdata/galvani +pip install git+https://codeberg.org/echemdata/galvani ``` ## Development installation and contributing -> [!WARNING] -> -> This project uses Git Large File Storage (LFS) to store its test files, -> however the LFS quota provided by GitHub is frequently exceeded. -> This means that anyone cloning the repository with LFS installed will get -> failures unless they set the `GIT_LFS_SKIP_SMUDGE=1` environment variable when -> cloning. -> The full test data from the last release can always be obtained by -> downloading the GitHub release archives (tar or zip), at -> https://codeberg.org/echemdata/galvani/releases/latest -> -> If you wish to add test files, please ensure they are as small as possible, -> and take care that your tests work locally without the need for the LFS files. -> Ideally, you could commit them to your fork when making a PR, and then they -> can be converted to LFS files as part of the review. - If you wish to contribute to galvani, please clone the repository and install the testing dependencies: ```shell