Skip to content

Commit 2e9b77c

Browse files
authored
Merge pull request #222 from makeplane/stage-release
dev: promote to production (v0.2-dev)
2 parents 7f4e1ba + eba72fd commit 2e9b77c

File tree

389 files changed

+16919
-23557
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

389 files changed

+16919
-23557
lines changed

.eslintrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
root: true,
3+
// This tells ESLint to load the config from the package `config`
4+
// extends: ["custom"],
5+
settings: {
6+
next: {
7+
rootDir: ["apps/*/"],
8+
},
9+
},
10+
};

.eslintrc.json

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

apiserver/Dockerfile.api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ USER root
4949
RUN apk --update --no-cache add "bash~=5.1"
5050
COPY ./bin ./bin/
5151

52-
RUN chmod +x ./bin/channel-worker ./bin/takeoff ./bin/worker
52+
RUN chmod +x ./bin/takeoff ./bin/worker
5353

5454
USER captain
5555

apiserver/Procfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
web: gunicorn -w 4 -k uvicorn.workers.UvicornWorker plane.asgi:application --bind 0.0.0.0:$PORT --config gunicorn.config.py --max-requests 10000 --max-requests-jitter 1000 --access-logfile -
2-
worker: python manage.py rqworker
3-
channel-worker: python manage.py runworker issue-activites
2+
worker: python manage.py rqworker

apiserver/back_migration.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# All the python scripts that are used for back migrations
2-
2+
from plane.db.models import ProjectIdentifier
33
from plane.db.models import Issue, IssueComment
44

55
# Update description and description html values for old descriptions
@@ -40,3 +40,21 @@ def update_comments():
4040
except Exception as e:
4141
print(e)
4242
print("Failed")
43+
44+
45+
def update_project_identifiers():
46+
try:
47+
project_identifiers = ProjectIdentifier.objects.filter(workspace_id=None).select_related("project", "project__workspace")
48+
updated_identifiers = []
49+
50+
for identifier in project_identifiers:
51+
identifier.workspace_id = identifier.project.workspace_id
52+
updated_identifiers.append(identifier)
53+
54+
ProjectIdentifier.objects.bulk_update(
55+
updated_identifiers, ["workspace_id"], batch_size=50
56+
)
57+
print("Success")
58+
except Exception as e:
59+
print(e)
60+
print("Failed")

apiserver/bin/channel-worker

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

apiserver/plane/api/consumers/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)