From e38309d565cb2ad3b91f4e26abc9daaf11f8d058 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:35:44 -0400
Subject: [PATCH 01/15] spelling: above
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/tests.py b/dbdb/core/tests.py
index d51dc96..51adedb 100644
--- a/dbdb/core/tests.py
+++ b/dbdb/core/tests.py
@@ -341,7 +341,7 @@ def test_buttons_shows_when_superuser(self):
self.client.login(username='admin', password='testpassword')
# Load stats insead of home so that we don't get a cached
# result. Yes we try to override settings of the cache
- # up aove to disable it but it doesn't work
+ # up above to disable it but it doesn't work
response = self.client.get(reverse('stats'))
self.assertContains(
response,
From 16ab23c4b2c53f986a7344313609dfb5a408248f Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:39:15 -0400
Subject: [PATCH 02/15] spelling: compatible
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/tests.py b/dbdb/core/tests.py
index 51adedb..548414c 100644
--- a/dbdb/core/tests.py
+++ b/dbdb/core/tests.py
@@ -184,7 +184,7 @@ def test_inputs_quantity(self):
d = pq(response.content)
filtergroups = d('div.filter-group')
# Add two for the year filtergroups
- # Add nine for country, OS, project type, PL, inspired, derived, embedded compatiable, licenses
+ # Add nine for country, OS, project type, PL, inspired, derived, embedded compatible, licenses
#pprint(filtergroups)
self.assertEquals(quantity + 2 + 9, len(filtergroups))
return
From a3ee2bf5717ed3ec24ad7c5325f46e53f225e844 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:39:24 -0400
Subject: [PATCH 03/15] spelling: databases
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/management/commands/load_initial_data.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/management/commands/load_initial_data.py b/dbdb/core/management/commands/load_initial_data.py
index 1dfc31d..69c9da7 100644
--- a/dbdb/core/management/commands/load_initial_data.py
+++ b/dbdb/core/management/commands/load_initial_data.py
@@ -27,7 +27,7 @@ class Command(BaseCommand):
help = '''Creates a fixture based on the files on initial_data folder
This should be run only for a newly created system deployment and if there's no better database dump to apply.
- Please be sure you have a databasees.csv file in initial_data folder along with spring2017 and spring2016
+ Please be sure you have a databases.csv file in initial_data folder along with spring2017 and spring2016
'''
def handle(self, *args, **options):
From 564adb1eed216ade5d17dd2ff24154eaef5f467e Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:42:13 -0400
Subject: [PATCH 04/15] spelling: edited
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/management/commands/fix_acls.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/management/commands/fix_acls.py b/dbdb/core/management/commands/fix_acls.py
index 7ad81bf..1464c81 100644
--- a/dbdb/core/management/commands/fix_acls.py
+++ b/dbdb/core/management/commands/fix_acls.py
@@ -17,7 +17,7 @@ def handle(self, *args, **options):
if user.username == "developer" or user.is_superuser: continue
systems = set()
- # Find what systems this user has editted
+ # Find what systems this user has edited
for ver in SystemVersion.objects.filter(creator=user):
if not ver.system in systems:
acl = SystemACL(system=ver.system, user=user)
From 501e5cd79121087194d851f2bdc37d310504fad7 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:43:33 -0400
Subject: [PATCH 05/15] spelling: generation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/management/commands/generate_searchtext.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/management/commands/generate_searchtext.py b/dbdb/core/management/commands/generate_searchtext.py
index 66c289a..c589d8e 100644
--- a/dbdb/core/management/commands/generate_searchtext.py
+++ b/dbdb/core/management/commands/generate_searchtext.py
@@ -7,7 +7,7 @@ class Command(BaseCommand):
def add_arguments(self, parser):
parser.add_argument('system', metavar='S', type=str, nargs='?',
- help='System to force search text genration')
+ help='System to force search text generation')
return
def handle(self, *args, **options):
From 985e4572c82a1f6c1571eda39fb00ee1360b7e24 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:26:33 -0400
Subject: [PATCH 06/15] spelling: github
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
templates/base.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/base.html b/templates/base.html
index cfb7aab..ad2db3c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -129,7 +129,7 @@
From 8b4a170244efb02a045d8086177d5a3fc4253dda Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:43:55 -0400
Subject: [PATCH 07/15] spelling: hidden
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/tests.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dbdb/core/tests.py b/dbdb/core/tests.py
index 548414c..ae0cebe 100644
--- a/dbdb/core/tests.py
+++ b/dbdb/core/tests.py
@@ -319,7 +319,7 @@ def test_can_access_home(self):
self.assertEquals(response.status_code, 200)
return
- def test_buttons_hiden_when_not_authenticated(self):
+ def test_buttons_hidden_when_not_authenticated(self):
response = self.client.get(reverse('home'))
self.assertNotContains(
response,
@@ -327,7 +327,7 @@ def test_buttons_hiden_when_not_authenticated(self):
)
return
- def test_buttons_hiden_when_not_superuser(self):
+ def test_buttons_hidden_when_not_superuser(self):
self.client.login(username='testuser', password='testpassword')
response = self.client.get(reverse('home'))
self.assertNotContains(
From 5e8ccc82a564263a148c12273a645fe79fc6b692 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 19:57:24 -0400
Subject: [PATCH 08/15] spelling: in which
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/models.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/models.py b/dbdb/core/models.py
index f3df310..3d1d680 100644
--- a/dbdb/core/models.py
+++ b/dbdb/core/models.py
@@ -601,7 +601,7 @@ def generate_searchtext(self):
words += [tag.name, tag.name.replace("-", "")]
# It's debatable whether people actually want to do keyword search for the supported languages
- # From the logs, it looks like people really want to know the language a DBMS was written in
+ # From the logs, it looks like people really want to know the language in which a DBMS was written
# words += [x.name for x in self.meta.supported_languages.all()]
# words += [x.slug for x in self.meta.supported_languages.all()]
From f5e37dfcfbc6142a0b03ad2a5272e6c1544c8b17 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:35:08 -0400
Subject: [PATCH 09/15] spelling: in
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/views.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dbdb/core/views.py b/dbdb/core/views.py
index 6e84c38..4cf9d0a 100644
--- a/dbdb/core/views.py
+++ b/dbdb/core/views.py
@@ -1222,7 +1222,7 @@ def post(self, request, slug=None):
sf.description = value
sf.save()
pass
- elif '_citation'in field_name:
+ elif '_citation' in field_name:
sf, _ = SystemFeature.objects.get_or_create(
version=db_version,
feature=feature
@@ -1234,7 +1234,7 @@ def post(self, request, slug=None):
sf.citations.add(cit_url)
pass
pass
- elif '_choices'in field_name:
+ elif '_choices' in field_name:
sf, _ = SystemFeature.objects.get_or_create(
version=db_version,
feature=feature
From a2f02c5b27129ea6d77fabc52558f56da0ac23ac Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:46:56 -0400
Subject: [PATCH 10/15] spelling: instead
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/tests.py b/dbdb/core/tests.py
index ae0cebe..301e1dd 100644
--- a/dbdb/core/tests.py
+++ b/dbdb/core/tests.py
@@ -339,7 +339,7 @@ def test_buttons_hidden_when_not_superuser(self):
def test_buttons_shows_when_superuser(self):
self.client.login(username='admin', password='testpassword')
- # Load stats insead of home so that we don't get a cached
+ # Load stats instead of home so that we don't get a cached
# result. Yes we try to override settings of the cache
# up above to disable it but it doesn't work
response = self.client.get(reverse('stats'))
From cda17e675b11de31278da2edc1394a8383487d45 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:47:08 -0400
Subject: [PATCH 11/15] spelling: insufficient
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/tests.py b/dbdb/core/tests.py
index 301e1dd..bbbbfca 100644
--- a/dbdb/core/tests.py
+++ b/dbdb/core/tests.py
@@ -189,7 +189,7 @@ def test_inputs_quantity(self):
self.assertEquals(quantity + 2 + 9, len(filtergroups))
return
- def test_search_with_insuficient_data(self):
+ def test_search_with_insufficient_data(self):
data = {
'feature1': ['option1'],
}
From 44652d81a3594cb3580d97d4d1687e459e6835c0 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:25:45 -0400
Subject: [PATCH 12/15] spelling: server.
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 401efe7..ed4228d 100644
--- a/README.md
+++ b/README.md
@@ -10,4 +10,4 @@ Assumes installation within a virtual directory
3. `./bin/install_xapian.sh 1.4.14`
## Deployment
-Run `deploy/update_dbdb_app.sh` on the production machine to fetch new changes, run migrations, and restart the wsgi server
+Run `deploy/update_dbdb_app.sh` on the production machine to fetch new changes, run migrations, and restart the wsgi server.
From f5a5505e8721812ae09ae5ae7c789043050beac0 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:48:56 -0400
Subject: [PATCH 13/15] spelling: sufficient
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/tests.py b/dbdb/core/tests.py
index bbbbfca..30b4eae 100644
--- a/dbdb/core/tests.py
+++ b/dbdb/core/tests.py
@@ -198,7 +198,7 @@ def test_search_with_insufficient_data(self):
self.assertContains(response, 'No databases found')
return
- def test_search_with_suficient_data(self):
+ def test_search_with_sufficient_data(self):
data = {
'feature1': ['option3'],
}
From 001ca51663d9961674527b301ccae71cc39fca3d Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:49:11 -0400
Subject: [PATCH 14/15] spelling: systems
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/management/commands/process_visits.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/management/commands/process_visits.py b/dbdb/core/management/commands/process_visits.py
index 46d20fe..718e345 100644
--- a/dbdb/core/management/commands/process_visits.py
+++ b/dbdb/core/management/commands/process_visits.py
@@ -148,7 +148,7 @@ def handle(self, *args, **options):
#sys.exit(1)
self.stdout.write("# of Users: %d" % next_user_idx)
- self.stdout.write("# of Sytems: %d (total=%d)" % (next_system_idx, system_cnt))
+ self.stdout.write("# of Systems: %d (total=%d)" % (next_system_idx, system_cnt))
data = np.zeros((next_user_idx, next_system_idx))
for user_idx in all_visits.keys():
From fdb08fcf8c77f7de45b674b80c483d8158198da4 Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Wed, 13 Aug 2025 21:49:26 -0400
Subject: [PATCH 15/15] spelling: twitter
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
dbdb/core/management/commands/create_twitter_cards.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbdb/core/management/commands/create_twitter_cards.py b/dbdb/core/management/commands/create_twitter_cards.py
index 1f4b1e0..1986eac 100644
--- a/dbdb/core/management/commands/create_twitter_cards.py
+++ b/dbdb/core/management/commands/create_twitter_cards.py
@@ -18,7 +18,7 @@ class Command(BaseCommand):
def add_arguments(self, parser):
parser.add_argument('system', metavar='S', type=str, nargs='?',
- help='System to force twiter card creation')
+ help='System to force twitter card creation')
parser.add_argument('--skip-errors', action='store_true',
help="Ignore errors and keep processing")
return