Skip to content

Commit

Permalink
Merge pull request #222 from makeplane/stage-release
Browse files Browse the repository at this point in the history
dev: promote to production (v0.2-dev)
  • Loading branch information
vamsi authored Jan 31, 2023
2 parents 7f4e1ba + eba72fd commit 2e9b77c
Show file tree
Hide file tree
Showing 389 changed files with 16,919 additions and 23,557 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
root: true,
// This tells ESLint to load the config from the package `config`
// extends: ["custom"],
settings: {
next: {
rootDir: ["apps/*/"],
},
},
};
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion apiserver/Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ USER root
RUN apk --update --no-cache add "bash~=5.1"
COPY ./bin ./bin/

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

USER captain

Expand Down
3 changes: 1 addition & 2 deletions apiserver/Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
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 -
worker: python manage.py rqworker
channel-worker: python manage.py runworker issue-activites
worker: python manage.py rqworker
20 changes: 19 additions & 1 deletion apiserver/back_migration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# All the python scripts that are used for back migrations

from plane.db.models import ProjectIdentifier
from plane.db.models import Issue, IssueComment

# Update description and description html values for old descriptions
Expand Down Expand Up @@ -40,3 +40,21 @@ def update_comments():
except Exception as e:
print(e)
print("Failed")


def update_project_identifiers():
try:
project_identifiers = ProjectIdentifier.objects.filter(workspace_id=None).select_related("project", "project__workspace")
updated_identifiers = []

for identifier in project_identifiers:
identifier.workspace_id = identifier.project.workspace_id
updated_identifiers.append(identifier)

ProjectIdentifier.objects.bulk_update(
updated_identifiers, ["workspace_id"], batch_size=50
)
print("Success")
except Exception as e:
print(e)
print("Failed")
6 changes: 0 additions & 6 deletions apiserver/bin/channel-worker

This file was deleted.

1 change: 0 additions & 1 deletion apiserver/plane/api/consumers/__init__.py

This file was deleted.

Loading

2 comments on commit 2e9b77c

@vercel
Copy link

@vercel vercel bot commented on 2e9b77c Jan 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-docs – ./apps/docs

plane-docs-caravel.vercel.app
plane-docs-qyqv.vercel.app
plane-docs-git-master-caravel.vercel.app
docs.plane.so

@vercel
Copy link

@vercel vercel bot commented on 2e9b77c Jan 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane – ./apps/app

plane-git-master-caravel.vercel.app
plane-theta.vercel.app
plane-caravel.vercel.app
app.plane.so

Please sign in to comment.