The Unified and Autonomous Development Platform
Update readme
Robin Shenbe7597f85ad1
diff --git a/doc/images/agents.png b/doc/images/agents.pngdeleted file mode 100644index 249c8d6eb0..0000000000Binary files a/doc/images/agents.png and /dev/null differdiff --git a/doc/images/annotation.png b/doc/images/annotation.pngnew file mode 100644index 0000000000..3ee6aef903Binary files /dev/null and b/doc/images/annotation.png differdiff --git a/doc/images/boards.png b/doc/images/boards.pngnew file mode 100644index 0000000000..6003a7a6bcBinary files /dev/null and b/doc/images/boards.png differdiff --git a/doc/images/branch-protection.gif b/doc/images/branch-protection.gifdeleted file mode 100644index a252ea37b6..0000000000Binary files a/doc/images/branch-protection.gif and /dev/null differdiff --git a/doc/images/build-option.gif b/doc/images/build-option.gifnew file mode 100644index 0000000000..9944bec597Binary files /dev/null and b/doc/images/build-option.gif differdiff --git a/doc/images/build-spec.gif b/doc/images/build-spec.gifdeleted file mode 100644index 0494ffe535..0000000000Binary files a/doc/images/build-spec.gif and /dev/null differdiff --git a/doc/images/build-workflow.gif b/doc/images/build-workflow.gifdeleted file mode 100644index 8dedf8a46f..0000000000Binary files a/doc/images/build-workflow.gif and /dev/null differdiff --git a/doc/images/changes.gif b/doc/images/changes.gifnew file mode 100644index 0000000000..c15fb34711Binary files /dev/null and b/doc/images/changes.gif differdiff --git a/doc/images/child-projects.png b/doc/images/child-projects.pngdeleted file mode 100644index 3be44f72af..0000000000Binary files a/doc/images/child-projects.png and /dev/null differdiff --git a/doc/images/code-annotation.png b/doc/images/code-annotation.pngdeleted file mode 100644index 3df3d3e504..0000000000Binary files a/doc/images/code-annotation.png and /dev/null differdiff --git a/doc/images/code-comments.gif b/doc/images/code-comments.gifdeleted file mode 100644index 4bce2c8350..0000000000Binary files a/doc/images/code-comments.gif and /dev/null differdiff --git a/doc/images/custom-field.png b/doc/images/custom-field.pngnew file mode 100644index 0000000000..ccf1bfabc6Binary files /dev/null and b/doc/images/custom-field.png differdiff --git a/doc/images/custom-issue.gif b/doc/images/custom-issue.gifdeleted file mode 100644index b844eca5d4..0000000000Binary files a/doc/images/custom-issue.gif and /dev/null differdiff --git a/doc/images/file-comment.gif b/doc/images/file-comment.gifnew file mode 100644index 0000000000..868770901aBinary files /dev/null and b/doc/images/file-comment.gif differdiff --git a/doc/images/fixing-build.png b/doc/images/fixing-build.pngnew file mode 100644index 0000000000..b3671d4c96Binary files /dev/null and b/doc/images/fixing-build.png differdiff --git a/doc/images/increment-review.gif b/doc/images/increment-review.gifdeleted file mode 100644index e027cd4f82..0000000000Binary files a/doc/images/increment-review.gif and /dev/null differdiff --git a/doc/images/issue-boards.gif b/doc/images/issue-boards.gifdeleted file mode 100644index 4c2439a007..0000000000Binary files a/doc/images/issue-boards.gif and /dev/null differdiff --git a/doc/images/issue-code-build-integration.gif b/doc/images/issue-code-build-integration.gifdeleted file mode 100644index 929cd7e54f..0000000000Binary files a/doc/images/issue-code-build-integration.gif and /dev/null differdiff --git a/doc/images/job-command.gif b/doc/images/job-command.gifnew file mode 100644index 0000000000..38154be425Binary files /dev/null and b/doc/images/job-command.gif differdiff --git a/doc/images/job-executor.png b/doc/images/job-executor.pngdeleted file mode 100644index 88683912f8..0000000000Binary files a/doc/images/job-executor.png and /dev/null differdiff --git a/doc/images/markdown.gif b/doc/images/markdown.gifnew file mode 100644index 0000000000..d0ec1d02a3Binary files /dev/null and b/doc/images/markdown.gif differdiff --git a/doc/images/powerful-query.gif b/doc/images/powerful-query.gifdeleted file mode 100644index b3b40b5a99..0000000000Binary files a/doc/images/powerful-query.gif and /dev/null differdiff --git a/doc/images/query.gif b/doc/images/query.gifnew file mode 100644index 0000000000..c5e7e5e153Binary files /dev/null and b/doc/images/query.gif differdiff --git a/doc/images/regex-search.gif b/doc/images/regex-search.gifnew file mode 100644index 0000000000..1e8e0b646bBinary files /dev/null and b/doc/images/regex-search.gif differdiff --git a/doc/images/review-policy.gif b/doc/images/review-policy.gifnew file mode 100644index 0000000000..dd113c5490Binary files /dev/null and b/doc/images/review-policy.gif differdiff --git a/doc/images/role.png b/doc/images/role.pngdeleted file mode 100644index 0d62c9739a..0000000000Binary files a/doc/images/role.png and /dev/null differdiff --git a/doc/images/search-symbol.gif b/doc/images/search-symbol.gifnew file mode 100644index 0000000000..7722feffcaBinary files /dev/null and b/doc/images/search-symbol.gif differdiff --git a/doc/images/service-desk-setting.png b/doc/images/service-desk-setting.pngdeleted file mode 100644index 397a852699..0000000000Binary files a/doc/images/service-desk-setting.png and /dev/null differdiff --git a/doc/images/stats.png b/doc/images/stats.pngnew file mode 100644index 0000000000..5a1a8f1172Binary files /dev/null and b/doc/images/stats.png differdiff --git a/doc/images/symbol-search.gif b/doc/images/symbol-search.gifdeleted file mode 100644index a39728c059..0000000000Binary files a/doc/images/symbol-search.gif and /dev/null differdiff --git a/doc/images/symbol.gif b/doc/images/symbol.gifnew file mode 100644index 0000000000..659ca8c8d0Binary files /dev/null and b/doc/images/symbol.gif differdiff --git a/doc/images/threaded-comments.png b/doc/images/threaded-comments.pngnew file mode 100644index 0000000000..9ec9bcdbcfBinary files /dev/null and b/doc/images/threaded-comments.png differdiff --git a/readme.md b/readme.mdindex e29b752931..53aabb29dd 100644--- a/readme.md+++ b/readme.md@@ -1,9 +1,9 @@-> :warning: **NOTE:** We develop OneDev at <a href="https://code.onedev.io/projects/160">code.onedev.io</a> for sake of dogfooding. All issues and pull requests should be created there+**NOTE:** We develop OneDev at <a href="https://code.onedev.io/projects/160">code.onedev.io</a> for sake of dogfooding. All issues and pull requests should be submitted there<div align="center"><h1>All-In-One DevOps Platform</h1>-With Git Management, Issue Tracking, and CI/CD. Simple yet Powerful.+With Git Management, Issue Boards, and CI/CD. Simple yet Powerful.<div style="font-size: 18px;">| <a href="https://code.onedev.io/projects/162/blob/main/pages/quickstart.md">5-minute Quickstart</a>@@ -15,101 +15,104 @@ With Git Management, Issue Tracking, and CI/CD. Simple yet Powerful.<p style="margin-bottom: 20px;"></div>-### Docker First Kubernetes Native Build Farm+## Out-of-box Symbol Search and Navigation-Out-of-box CI/CD capability with docker. Trivial to scale up to run massive jobs as pods in Kubernetes. Transparent support for Linux and Windows containers.+Of course IDE is good at doing this, but often we need to search in old commits (investigate issues in release versions etc), and switching commits in IDE can be troublesome and slow.-+It works by analyzing source code with ANTLR, extracting symbols for storage incrementally, fast and space efficient. Now supports Java, JavaScript, C, C++, CSharp, Go, PHP, Python, CSS, SCSS, LESS and R. GitHub adds this feature several years ago, but seems that it only works for main branch, and GitLab has to configure CI job to generate and upload LSIF which is troublesome and can occupy considerable space if you do it for each commit.-### Effortless Agent Based Build Farm+You can also jump to symbol definition in diff while reviewing commits or pull requests.-In case you do not have Kubernetes clusters, or want to run CI/CD jobs outside docker, agents can be installed on remote machines to set up your build farm. OneDev server will push updates to agents automatically to make agent maintenance effortless+-+----### Set up CI/CD in a Breeze+-CI/CD configuration is defined in a yaml file together with your code, and OneDev provides a GUI to generate the file without any learning curve.+## Code Search with Regular Expression-+You may switch to any commit, and search code with regular expression. OneDev under the hood indexes the code with Lucene incrementally. At search time, literal tri-grams in the regular expression are extracted for a coarse search, followed by exact match in the result. This makes the regex search blazing fast, even for large repositories like Linux.-### Flexible Build Workflow and Pipeline+-Conditional build parameters. Create matrix builds by combining different parameters. Connect jobs to create pipelines. Run jobs concurrently to speed up processing. Run jobs automatically upon certain events, or manually by authorized users+## Annotate Source/Diff with Static Analysis Result to Facilitate Code Review-+Of course this can be done by many third party applications at GitHub, however they display the result on their own applications, and this makes review activities such as adding comment over analysis result difficult. Not to mention that you need to pay for these services.-### Code Annotation with Coverage and Problem+-Analyze various CI reports to annotate code/diff with test coverage information and found problems.+## Customizable Issue State and Field, with Deep CI/CD Integration-+The simple open/close state of GitHub/GitLab issues does not work well for many workflows. Considering issues submitted by customers:-### Custom Issue States and Fields+1. If we close issue upon committing the code, customer will be notified and may ask us for the release fixing the issue.+2. If we close the issue at release time, QA might be confused at what issues to test as they all remain open at test time.-Add custom issue states, fields and links. Configure field dependencies. Transit issue state automatically upon certain events, or manually by authorized users+With customizable issue states, we may address the issue with four states: open, committed, test ready and released:-+1. When code is committed, issue transits to committed state automatically+2. When a test build is created and deployed, the issue transits to test ready state automatically. QA will be notified and can check issue detail to know which environment the test build is deployed into.+3. When test passes, and a release build is created, customers submitting the issue will be notified and they can check issue detail to see which release contains the fix.-### Auto-Refreshing Issue Boards+-Define issue boards to show issues in columns based on values of specified field. Perform issue operations without leaving the board. Refresh board automatically to reflect most recent issue state.+----+-### Out-of-box Code Intelligence+## A powerful and Intuitive Query Language-Symbol search and navigation in source code and diff. Outline display and search. Works for every commit. Currently supports Java, JavaScript, C, C++, CSharp, Go, PHP, Python, CSS, SCSS, LESS and R.+Thanks to ANTLR again, OneDev ships sophisticated query languages for projects, commits, issues, builds, and pull requests, with intuitive auto-completions and hints. For instance, it enables our customers finding fixed issues between their running release and latest release, and enables us to find all commits submitted by someone touching specified modules, etc.-+Queries can be saved and subscribed, so that you won't miss anything interested.-### Code Discussions and Comprehensions+-Instant and lightweight code discussions on code and diff blocks without creating pull requests. Discussions stay with the code to help code comprehension even if file is changed or renamed.+## A Full-fledge CI/CD Engine without Writing Yaml-+OneDev ships with GUI to generate CI/CD Yaml. No need to google around for Yaml grammars. A one-liner docker command to start OneDev server and you have a local CI/CD runner automatically. Concerns about server capability to run massive jobs? Another one-liner to connect self-updating agent from any machine. Want auto-scale up/down CI/CD farm? A helm one-liner to deploy OneDev into k8s cluster.-### Flexible Pull Request Review Policies+Matrix jobs, typed parameters, parameter chaining, step templates, build promotions… too many neat features to elaborate here…-Enforce pull request review with branch protections. Specify required reviewers and builds for desired file patterns.+-+----### Painless Pull Request Review+-Review pull request commits as a whole or one by one. Organize code discussions in threads to show changes since last review explicitly+## Flexible Pull Request Review Policy and Reviewer Suggestion-+Specify pull request review policy based on author, branch, and changed files. OneDev can leverage git change history to suggest most appropriate reviewers for pull requests touching certain files.-### Powerful Query Language+-Perform sophisticated queries against projects, commits, builds, issues, pull requests or code comments with a powerful query language. Save query for quick access. Subscribe to saved query to get notified of interesting events.+## Lightweight Review without Pull Request-+Comment on any part of code or diff to start a lightweight review without opening pull request. Review comments live through code modification and even file rename to serve as documentation.-### Deep Integration of Code, Issue, Pull Request and Build+Each discussion is threaded so that you can easily know discussions with new comments/updates.-Configure issues to transit to desired state upon commit, build or pull request events. See commit and pull request events in issue activities. Query fixed issues between builds. Find builds or pull requests fixing particular issues or commits+-+----### Service Desk to Work with Issues over Email+-The ability to submit and discuss issues over email makes OneDev a perfect customer supporting system, with the ability to create tickets of different priorities for different customers, and assign to different support representatives.+## Write Markdown Pleasantly With a Smart Editor-+When embedding an image in a markdown file in GitHub/GitLab, you need to upload the image in a separate page, and then figure out the relative path to reference that image. With OneDev, you simply upload the image to desired folder in same editor, and the link will be generated automatically.-### Fine Grained Permission Control+OneDev tracks your cursor in edit window and scrolls the preview window as necessary so that you can always preview what you are typing.-Define permission schemes best suiting your development workflow. For instance, you may specify who can change particular source folder, who can assign issues, who can run release builds, or who can access build log, etc.+-+## SLOC History By Language Over Time-### Project Hierarchy and Setting Inheritance+-Projects can be organized in a tree structure, and settings of parent project can be inherited by children. This saves a lot of efforts when manage a lot of projects with some common settings.+## Project Hierarchy to Facilitate Setting Inheritance-+Organization is idea for public service. However for self-hosted internal use, we feel that a hierarchical structure is more practical to organize projects. Child projects can inherit settings from parent project and can selectively override some of them if necessary. This reduces a lot of overhead to manage a lot of projects in the company.----