OneDev logo


  •  0 ratings
In category: Software Development / Project Management

About OneDev

A self-hosted Git Server with Kanban and CI/CD. It is an all-In-One DevOps Platform. With Git Management, Issue Tracking, and CI/CD. Simple yet Powerful.

  •   1340  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: 5,406  
  •   11,100  
  •   741  
  •  Latest commit: May 5, 2023  

Deploy this app to Linode with a free $100 credit!


More about OneDev

> **Note** > 1. Do not worry about security advisories above. They are fixed as soon as discovered and published to notify users > 2. We develop OneDev at for sake of dogfooding. All issues and pull requests should be submitted there

Self-hosted Git Server with Kanban and CI/CD

Quickstart | Installation Guide | All Documentation

Out-of-box Symbol Search and Navigation

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.

You can also jump to symbol definition in diff while reviewing commits or pull requests.



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.


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.


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:

  1. If developer closes issue upon committing the code, customer will be notified and may ask for the release fixing the issue.
  2. If developer closes the issue at release time, QA might be confused at what issues to test as they all remain open at test time.

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.



Service Desk to Create/Discuss Issues via Email

Service desk allows your users to submit tickets via email without the need to have a OneDev account. These tickets can then be created in desired projects, and assigned to appropriate members in your team. All further discussions over the tickets can take place completely in email, with discussion contents posted to ticket as comments. User will also get notifications when there are any ticket activities, for instance, when a relevant release is created or deployed


A powerful and Intuitive Query Language

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.


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 CI/CD farm? A helm one-liner to deploy OneDev into k8s cluster.

Build pipeline, matrix jobs, typed parameters, parameter chaining, step templates, build promotions… too many neat features to elaborate…




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.


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.

Each discussion is threaded so that you can easily know discussions with new comments/updates.



Command Palette to Access Features Quickly

Press cmd/ctrl-k to bring up command palette from anywhere. Search projects, files, issues, pull requests, builds, and various settings and jump to them without leaving your keyboard


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.

OneDev tracks your cursor in edit window and scrolls the preview window as necessary so that you can always preview what you are typing.


SLOC Trend By Language

OneDev inspects git history of main branch to calculate trend of source lines of code by language efficiently.


Project Hierarchy to Facilitate Setting Inheritance

Organization is ideal 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.

Fast and Reliable with Moderate Resource Usage

OneDev is carefully designed with performance in mind. With a 2 core 2GB box, you will get all features above for medium sized projects. It has been intensively used for more than 5 years, with battle-proven reliability. Fixing bugs is our highest priority, and there is normally few to no known bugs in the wild.

Special Thanks


YourKit supports this project by providing a free open source license of their excellent Java profiler

Comments (0)

Please login to join the discussion on this project.

OneDev Reviews (0)

Overall Rating


based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Popular Projects


in Social Networks and Forums
 29k    0    0    0  


in File Transfer & Synchronization
 17k    1    1    0  


in Social Networks and Forums
 4k    0    1    0  


in Self-hosting Solutions
 4k    0    0    0  


in Audio Streaming
 3k    0    1    0  


in Photo and Video Galleries
 3k    0    0    0  


in Personal Dashboards
 2k    0    0    0  

Most Discussed


in File Transfer & Synchronization
 17k    1    1    0  

Tube Archivist

in Automation
 2k    0    1    0  


in Project Management
 1k    0    0    0  


in Proxy
 1k    0    0    0

in Booking and Scheduling
 1k    0    0    0  


in Password Managers
 711    0    0    0  


in Social Networks and Forums
 2k    0    0    0  
pCloud Lifetime

Top Rated Projects


 1 rating
in Project Management


 1 rating
in E-commerce


 1 rating
in Bookmarks and Link Sharing


 1 rating
in File Transfer & Synchronization


 1 rating
in Audio Streaming


 1 rating
in File Transfer & Synchronization


 1 rating
in File Transfer & Synchronization


You May Also Be Interested In

Traq logo
Traq cover


Project management and issue tracking system written in PHP.

RhodeCode logo
RhodeCode cover


RhodeCode is an open source platform for software developme…

Tuleap logo
Tuleap cover


Tuleap is a libre suite to plan, track, code and collaborat…