Skip to content

Commit a2ff811

Browse files
Merge pull request #457 from fasrc/cp_cruftremoval
remove unnecessary code and imports
2 parents cbf2f67 + d9faea2 commit a2ff811

11 files changed

Lines changed: 19 additions & 809 deletions

File tree

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ LABEL org.opencontainers.image.description="fasrc coldfront application"
1212

1313
RUN apt-get update \
1414
&& apt-get install -y --no-install-recommends \
15-
&& apt-get install -y redis redis-server \
15+
&& apt-get install -y redis redis-server vim \
1616
&& apt-get install -y libsasl2-dev libldap2-dev libssl-dev \
17-
&& apt-get install -y sssd sssd-tools supervisor vim \
1817
&& rm -rf /var/lib/apt/lists/*
1918
RUN mkdir ~/.ssh && echo "Host git*\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
2019

@@ -39,9 +38,6 @@ RUN pip install django-prometheus gunicorn
3938
ENV PYTHONPATH /usr/src/app:/usr/src/app/ifxreport:/usr/src/app/ifxbilling:/usr/src/app/fiine.client:/usr/src/app/ifxurls:/usr/src/app/nanites.client:/usr/src/app/ifxuser:/usr/src/app/ifxmail.client:/usr/src/app/ifxec
4039

4140
RUN mkdir -p /usr/src/app/media/reports
42-
RUN printf "deb http://archive.debian.org/debian buster main" > /etc/apt/sources.list.d/backports.list && \
43-
apt-get update && apt-get install libreadline7 && \
44-
rm -rf /var/lib/apt/lists/*
4541

4642
EXPOSE 80
4743
EXPOSE 25

coldfront/core/allocation/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class AllocationApprovalForm(forms.Form):
201201
label=mark_safe(
202202
'If you have opted for manual allocation creation, please enter the path where the '
203203
'allocation was created. Start it with <code>C/</code> or <code>F/</code> for lfs '
204-
'(e.g., <code>C/example_lab</code>) and <code>rc_labs/</code> or '
204+
'(e.g., <code>C/LABS/example_lab</code>) and <code>rc_labs/</code> or '
205205
'<code>c_fasse_labs/</code> for isilon (e.g., <code>rc_labs/example_lab</code>)',
206206
),
207207
max_length=255,

coldfront/core/project/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def send_storagereport_pdf(project, context=None):
3737
context = email_template_context(extra_context={
3838
'EMAIL_TICKET_SYSTEM_ADDRESS': EMAIL_TICKET_SYSTEM_ADDRESS,
3939
'project_title': title,
40-
'project_detail_url': build_link(f'project/{project.pk}/')
40+
'project_detail_url': build_link(f'/project/{project.pk}/')
4141
})
4242
# 1) build a fake GET request, set any necessary attributes
4343
factory = RequestFactory()

coldfront/core/utils/management/commands/import_add_allocations.py

Lines changed: 0 additions & 117 deletions
This file was deleted.

coldfront/core/utils/management/commands/import_allocationattribute.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

coldfront/core/utils/management/commands/import_allocationquotas.py

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)