Revision 75334966447176857cdd15c008a1fa182659d70b authored by Abhinav Sharma on 26 March 2024, 07:30:47 UTC, committed by GitHub on 26 March 2024, 07:30:47 UTC
<!-- Raise an issue to propose your change (https://github.com/opencv/cvat/issues). It helps to avoid duplication of efforts from multiple independent contributors. Discuss your ideas with maintainers to be sure that changes will be approved and merged. Read the [Contribution guide](https://opencv.github.io/cvat/docs/contributing/). --> <!-- Provide a general summary of your changes in the Title above --> ### Motivation and context <!-- Why is this change required? What problem does it solve? If it fixes an open issue, please link to the issue here. Describe your changes in detail, add screenshots. --> **Issue: ** #7605 Currently, the command used in the official documentation is not working, and giving error: 1. **Command Used**: ```shell BACKEND_POD_NAME=$(kubectl get pod --namespace $HELM_RELEASE_NAMESPACE -l tier=backend,app.kubernetes.io/instance=$HELM_RELEASE_NAME -o jsonpath='{.items[0].metadata.name}') &&\ kubectl exec -it --namespace $HELM_RELEASE_NAMESPACE $BACKEND_POD_NAME -c cvat-backend-app-container -- python manage.py createsuperuser ``` 2. **Actual Output**: ![image](https://github.com/opencv/cvat/assets/63901956/bd826a8a-aacb-48e1-8501-04a9c730fa86) 3. **Expected Output**: ![image](https://github.com/opencv/cvat/assets/63901956/20a31418-3136-46bc-a04d-3c17e44dcbde) ### How has this been tested? <!-- Please describe in detail how you tested your changes. Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc. --> I have run a minikube cluster, and run the as it is command in cluster, which gives error: ```shell error: cannot exec into a container in a completed pod; current phase is Succeeded ``` ### Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. If an item isn't applicable for some reason, then ~~explicitly strikethrough~~ the whole line. If you don't do that, GitHub will show incorrect progress for the pull request. If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [x] I submit my changes into the `develop` branch - [x] I have created a changelog fragment <!-- see top comment in CHANGELOG.md --> - [x] I have updated the documentation accordingly - [x] I have added tests to cover my changes - [x] I have linked related issues (see [GitHub docs]( https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)) - [x] I have increased versions of npm packages if it is necessary ([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning), [cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning), [cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning) and [cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning)) ### License - [x] I submit _my code changes_ under the same [MIT License]( https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the project. Feel free to contact the maintainers if that's a concern. Co-authored-by: abhinav.sharma <abhinav.sharma@zeeve.io>
1 parent aab1576
package.json
{
"name": "cvat",
"version": "1.0.0",
"description": "Eslint && remarklint dependencies",
"main": ".eslintrc.cjs",
"private": true,
"directories": {
"test": "tests"
},
"workspaces": [
"cvat-data",
"cvat-core",
"cvat-canvas",
"cvat-canvas3d",
"cvat-ui"
],
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.6.0",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@babel/register": "^7.22.5",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"@types/mousetrap": "^1.6.5",
"@types/node": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"airbnb": "0.0.2",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.12.2",
"babel-plugin-istanbul": "^6.0.0",
"bundle-declarations-webpack-plugin": "^3.1.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"eslint": "^8.54.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^1.4.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^6.0.0",
"lint-staged": "^13.0.3",
"micromatch": "^4.0.2",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"postcss": "8",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.0.0",
"react-svg-loader": "^3.0.3",
"remark-cli": "^9.0.0",
"remark-frontmatter": "^3.0.0",
"remark-gfm": "^1.0.0",
"remark-lint-emphasis-marker": "^2.0.0",
"remark-lint-list-item-spacing": "^2.0.0",
"remark-lint-maximum-heading-length": "^2.0.0",
"remark-lint-maximum-line-length": "^2.0.0",
"remark-lint-no-dead-urls": "^1.0.2",
"remark-lint-no-file-name-irregular-characters": "^1.0.3",
"remark-lint-ordered-list-marker-style": "^2.0.0",
"remark-lint-strong-marker": "^2.0.0",
"remark-lint-unordered-list-marker-style": "^2.0.0",
"remark-preset-lint-consistent": "^4.0.0",
"remark-preset-lint-markdown-style-guide": "^4.0.0",
"remark-preset-lint-recommended": "^5.0.0",
"sass": "^1.42.1",
"sass-loader": "^10.0.0",
"source-map-support": "^0.5.19",
"style-loader": "^1.0.0",
"stylelint": "^15.10.2",
"stylelint-config-standard-scss": "^11.1.0",
"typescript": "5.0.2",
"vfile-reporter-json": "^2.0.2",
"webpack": "^5.76.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "4.15.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"coverage": "yarn run instrument && yarn run cp && yarn run rm",
"instrument": "nyc instrument cvat-ui cvat-ui_cov && nyc instrument cvat-canvas cvat-canvas_cov && nyc instrument cvat-canvas3d cvat-canvas3d_cov && nyc instrument cvat-data cvat-data_cov && nyc instrument cvat-core cvat-core_cov",
"cp": "cp -r cvat-ui_cov/* cvat-ui && cp -r cvat-canvas_cov/* cvat-canvas && cp -r cvat-canvas3d_cov/* cvat-canvas3d && cp -r cvat-data_cov/* cvat-data && cp -r cvat-core_cov/* cvat-core",
"rm": "rm -rf cvat-ui_cov cvat-canvas_cov cvat-canvas3d_cov cvat-data_cov cvat-core_cov",
"prepare": "if [ -z \"${DISABLE_HUSKY}\" ]; then yarn run setup:husky; fi",
"setup:husky": "husky install && rm .husky/pre-commit; npx husky add .husky/pre-commit \"npx lint-staged\"",
"precommit:cvat-tests": "cd tests && eslint --fix",
"precommit:cvat-data": "cd cvat-data && eslint --fix",
"precommit:cvat-core": "cd cvat-core && eslint --fix",
"precommit:cvat-canvas": "cd cvat-canvas && eslint --fix",
"precommit:cvat-canvas3d": "cd cvat-canvas3d && eslint --fix",
"precommit:cvat-ui": "cd cvat-ui && eslint --fix",
"build:cvat-ui": "yarn workspace cvat-ui run build",
"build:cvat-canvas": "yarn workspace cvat-canvas run build",
"build:cvat-canvas3d": "yarn workspace cvat-canvas3d run build",
"build:cvat-core": "yarn workspace cvat-core run build",
"build:cvat-data": "yarn workspace cvat-data run build",
"server:cvat-canvas": "yarn workspace cvat-canvas run server",
"server:cvat-canvas3d": "yarn workspace cvat-canvas3d run server",
"server:cvat-data": "yarn workspace cvat-data run server",
"start:cvat-ui": "yarn workspace cvat-ui run start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cvat-ai/cvat.git"
},
"author": "CVAT.ai",
"license": "MIT",
"bugs": {
"url": "https://github.com/cvat-ai/cvat/issues"
},
"homepage": "https://github.com/cvat-ai/cvat#readme",
"resolutions": {
"@types/react": "^17.0.30",
"@types/react-dom": "^18.0.5",
"@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3",
"@types/prettier": "2.4.1"
},
"dependencies": {
"@types/fabric": "^4.5.7",
"@types/lodash": "^4.14.191",
"fabric": "^5.2.1",
"lodash": "^4.17.21"
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...