Repository: DDMAL/CantusDB

Issue:
we should clean up CantusDB/django/cantusdb_project
```shell
root@7aa2f88fb303:/code/django/cantusdb_project# ls
align_text_mel.py  create_fixtures.sh	 error_log.txt		   manage.py		       requirements.txt
articles	   differentia_data.txt  latin_syllabification.py  next_chants.py	       static
break_json.py	   editors_chant.csv	 load_fixtures.sh	   old_users_list.py	       templates
cantusdb	   editors_source.csv	 main_app		   oldcantususer_uid_role.csv  users
```
The following files have already served their purpose:
- `differentia_data.txt` (used in #1137)
- `editors_chant.csv` (used in the data sync from OldCantus to New)
- `editors_source.csv` (used in the data sync from OldCantus to New)
- `old_users_list.py` (used in the data sync from OldCantus to New)
- `oldcantususer_uid_role.csv` (used in the data sync from OldCantus to New, created by `old_users_list.py`)
- `create_fixtures.sh`, (we no longer migrate data using fixtures)
- `error_log.txt` (This is a log generated during the syncing process from OldCantus to NewCantus. It's not clear why it was committed to the repo in the first place.)
- `break_json.py` (we no longer migrate data using fixtures)
- `load_fixtures.sh` (we no longer migrate data using fixtures)

I propose deleting these files, so that future developers don't need to spend time figuring out what they are.


Discussion:

Resolving patch:
diff --git a/django/cantusdb_project/old_users_list.py b/django/cantusdb_project/old_users_list.py
deleted file mode 100755
--- a/django/cantusdb_project/old_users_list.py
+++ /dev/null
@@ -1,106 +0,0 @@
-import csv
-import lxml.html as lh
-import requests
-
-with open("oldcantususer_uid_role.csv", "r") as csvinput:
-    with open("oldcantususer_uid_role_detailed.csv", "w") as csvoutput:
-        with open("id_username_email.csv", "r") as csvinput_username_email:
-            writer = csv.writer(csvoutput, lineterminator="\n")
-            reader = csv.reader(csvinput)
-            reader_username_email = csv.reader(csvinput_username_email)
-
-            # header
-            writer.writerow(
-                [
-                    "uid",
-                    "old role",
-                    "new role",
-                    "name",
-                    "surname",
-                    "institution",
-                    "town",
-                    "country",
-                    "username",
-                    "email",
-                ]
-            )
-
-            for row, row_username_email in zip(reader, reader_username_email):
-                old_role = row[1]
-                if old_role == "administrator":
-                    row.append("project manager")
-                elif old_role == "anonymous user":
-                    row.append("")
-                elif old_role == "authenticated user":
-                    row.append("")
-                elif old_role == "contributor":
-                    row.append("contributor")
-                elif old_role == "Debra":
-                    row.append("project manager")
-                elif old_role == "editor":
-                    row.append("editor")
-                elif old_role == "power":
-                    row.append("editor")
-                elif old_role == "proofreader":
-                    row.append("editor")
-                elif old_role == "SIMSSA contributor":
-                    row.append("contributor")
-
-                id = row[0]
-                url = f"https://cantus.uwaterloo.ca/user/{id}"
-                response = requests.get(url)
-                doc = lh.fromstring(response.content)
-
-                try:
-                    name = (
-                        doc.find_class("field-name-field-name")[0]
-                        .find_class("field-item")[0]
-                        .text_content()
-                    )
-                except:
-                    name = ""
-                try:
-                    surname = (
-                        doc.find_class("field-name-field-surname")[0]
-                        .find_class("field-item")[0]
-                        .text_content()
-                    )
-                except:
-                    surname = ""
-                try:
-                    institution = (
-                        doc.find_class("field-name-field-institution")[0]
-                        .find_class("field-item")[0]
-                        .text_content()
-                    )
-                except:
-                    institution = ""
-                try:
-                    town = (
-                        doc.find_class("field-name-field-town")[0]
-                        .find_class("field-item")[0]
-                        .text_content()
-                    )
-                except:
-                    town = ""
-                try:
-                    country = (
-                        doc.find_class("field-name-field-country")[0]
-                        .find_class("field-item")[0]
-                        .text_content()
-                    )
-                except:
-                    country = ""
-
-                username = row_username_email[1]
-                email = row_username_email[2]
-
-                row.append(name)
-                row.append(surname)
-                row.append(institution)
-                row.append(town)
-                row.append(country)
-                row.append(username)
-                row.append(email)
-
-                writer.writerow(row)


Test patch: