From f0bb211fa6c7866bae6a13e00187a08d6358629d Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Wed, 8 Jan 2025 11:02:54 -0500 Subject: [PATCH] rename repo to django-mongodb-backend (#211) * Rename django-mongodb -> django-mongodb-backend * Rename django-mongodb -> django-mongodb-backend --- .evergreen/run-tests.sh | 2 +- .github/workflows/release-python.yml | 6 +++--- .github/workflows/test-python.yml | 4 ++-- README.md | 2 +- THIRD-PARTY-NOTICES | 4 ++-- django_mongodb_backend/features.py | 4 ++-- docs/source/index.rst | 4 ++-- pyproject.toml | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.evergreen/run-tests.sh b/.evergreen/run-tests.sh index 88ec602c..147f40ca 100644 --- a/.evergreen/run-tests.sh +++ b/.evergreen/run-tests.sh @@ -2,7 +2,7 @@ set -eux -# Install the django-mongodb backend +# Install django-mongodb-backend /opt/python/3.10/bin/python3 -m venv venv . venv/bin/activate python -m pip install -U pip diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index f7b3e9a8..1aa277f1 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -16,10 +16,10 @@ on: env: # Changes per repo - PRODUCT_NAME: django-mongodb + PRODUCT_NAME: django-mongodb-backend # Changes per branch - SILK_ASSET_GROUP: django-mongodb-main - EVERGREEN_PROJECT: django-mongodb + SILK_ASSET_GROUP: django-mongodb-backend-main + EVERGREEN_PROJECT: django-mongodb-backend defaults: run: diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 5ef55512..72ca4cd8 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -21,11 +21,11 @@ jobs: name: Django Test Suite runs-on: ubuntu-latest steps: - - name: Checkout django-mongodb + - name: Checkout django-mongodb-backend uses: actions/checkout@v4 with: persist-credentials: false - - name: install the django-mongodb backend + - name: install django-mongodb-backend run: | pip3 install --upgrade pip pip3 install -e . diff --git a/README.md b/README.md index d1048c19..58087742 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ explore and build. The best way to share this is via our [MongoDB Community Foru The development version of this package supports Django 5.0.x. To install it: -`pip install git+https://github.com/mongodb-labs/django-mongodb` +`pip install git+https://github.com/mongodb-labs/django-mongodb-backend` ### Specifying the default primary key field diff --git a/THIRD-PARTY-NOTICES b/THIRD-PARTY-NOTICES index 27d10868..4b81035e 100644 --- a/THIRD-PARTY-NOTICES +++ b/THIRD-PARTY-NOTICES @@ -1,9 +1,9 @@ -django-mongodb uses third-party libraries or other resources that may +django-mongodb-backend uses third-party libraries or other resources that may be distributed under licenses different than this software. The attached notices are provided for information only. -django-mongodb began by borrowing code from Django non-rel's +django-mongodb-backend began by borrowing code from Django non-rel's django-mongodb-engine (https://github.com/django-nonrel/mongodb-engine), abandoned since 2015 and Django 1.6. diff --git a/django_mongodb_backend/features.py b/django_mongodb_backend/features.py index 5c3e3ea7..1fba9523 100644 --- a/django_mongodb_backend/features.py +++ b/django_mongodb_backend/features.py @@ -40,7 +40,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): supports_temporal_subtraction = True # MongoDB stores datetimes in UTC. supports_timezones = False - # Not implemented: https://github.com/mongodb-labs/django-mongodb/issues/7 + # Not implemented: https://github.com/mongodb-labs/django-mongodb-backend/issues/7 supports_transactions = False supports_unspecified_pk = True uses_savepoints = False @@ -566,7 +566,7 @@ def django_test_expected_failures(self): "cache.tests.DBCacheWithTimeZoneTests", }, "FilteredRelation not supported.": { - # https://github.com/mongodb-labs/django-mongodb/issues/157 + # https://github.com/mongodb-labs/django-mongodb-backend/issues/157 "filtered_relation.tests.FilteredRelationAggregationTests", "filtered_relation.tests.FilteredRelationAnalyticalAggregationTests", "filtered_relation.tests.FilteredRelationTests", diff --git a/docs/source/index.rst b/docs/source/index.rst index 8df60944..89a1ab23 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,5 +1,5 @@ -django-mongodb 5.0.x documentation -================================== +django-mongodb-backend 5.0.x documentation +========================================== .. toctree:: :maxdepth: 1 diff --git a/pyproject.toml b/pyproject.toml index a1081b32..08c0bc3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,8 +38,8 @@ docs = [ "sphinx>=7"] [project.urls] Homepage = "https://www.mongodb.org" Documentation = "https://django-mongodb-backend.readthedocs.io" -Source = "https://github.com/mongodb-labs/django-mongodb" -Tracker = "https://github.com/mongodb-labs/django-mongodb/issues" +Source = "https://github.com/mongodb-labs/django-mongodb-backend" +Tracker = "https://github.com/mongodb-labs/django-mongodb-backend/issues" [tool.hatch.version] path = "django_mongodb_backend/__init__.py"