spotless
shardingsphere
spotless | shardingsphere | |
---|---|---|
10 | 23 | |
4,175 | 19,456 | |
1.4% | 0.4% | |
9.7 | 10.0 | |
9 days ago | about 15 hours ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spotless
- FLiPN-FLaNK Stack for March 6, 2023
-
Programming Breakthroughs We Need
Some code formatters such as Spotless (https://github.com/diffplug/spotless/tree/main/plugin-gradle...) allow you to format code only in files that have changes against some designated branch such as `master`. So, you check out your feature branch, make changes, do some commits, and run spotless. Only the files which have some changes between your workspace and the master branch will be formatted. This allows you to gradually format the project as and when files would be changed anyways.
- What supporting tools (linting, style/formatting, etc) are you using nowadays?
-
How does Apache ShardingSphere standardize and format code? We use Spotless
As a Top-Level Apache open source project, ShardingSphere has 400 contributors as of today. Since most developers do not have the same coding style, it is not easy to standardize the project’s overall code format in a GitHub open collaboration model. To solve this issue, ShardingSphere uses Spotless to unify code formatting.
-
Use semantic indenting
But please just use an code formatter like spotless. Or better yet set it as a pre commit hook. You will thank yourself later, and so will all of your coworkers.
-
Zero Config Code Formatter?
I use Spotless but it’s not as opiniotated as Prettier or Black
-
The obligatory braces and if/else questions
I use Spotless and it works quite well, but there are many other options. Also good IDEs can reformat your code.
- Java Cheatsheet to refresh the basic concepts of Java
- Is there any actively maintained Java library to format code?
-
diKTat 0.4.0 is released - kotlin linter and static analyzer
We are working on different ways to run diktat, however. For example, the integration into spotless is on its way. In the future we might consider adding support for Intellij, and if someone decides to contribute it - it will be very welcome as well.
shardingsphere
-
Managing Data Residency - the demo
Opposite to what the documentation tells, the full prefix is jdbc:shardingsphere:absolutepath. I've opened a PR to fix the documentation.
-
ShardingSphere 5.3.0 is released: new features and improvements
🔗 Release Notes
-
ElasticJob 3.0.2 is released including failover optimization, scheduling stability, and Java 19 compatibility
ElasticJob, one of the sub-projects of the Apache ShardingSphere community, is a distributed scheduling solution oriented towards Internet applications and massive tasks.
-
ShardingSphere 5.2.1 is released — Here are the highlights
Following 1.5 months in development, Apache ShardingSphere 5.2.1 is released. Our community merged 614 PRs from teams and individuals around the world. The resulting 5.2.1 release has been optimized in terms of features, performance, testing, documentation, examples, etc.
-
Apache ShardingSphere 5.2.0 is Released!
🔗 Update Logs
- Apache ShardingSphere Enterprise User Case — Energy Monster
-
DistSQL Applications: Building a Dynamic Distributed Database
GitHub Issues
-
ShardingSphere-Proxy Front-End Protocol Troubleshooting Guide and Examples
[8] https://github.com/apache/shardingsphere/pull/17914 [9] https://github.com/apache/shardingsphere/blob/2c9936497214b8a654cb56d43583f62cd7a6b76b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/netty/ServerHandlerInitializer.java [10] https://shardingsphere.apache.org/document/current/cn/downloads/
-
ShardingSphere-JDBC Driver Released: A JDBC Driver That Requires No Code Modifications
Relevant Links: GitHub issue
-
Cloud native deployment for a high-performance data gateway + new API driver: Apache ShardingSphere 5.1.2 is released
Release Notes
What are some alternatives?
Checkstyle - Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
MySQL - MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.
google-java-format - Reformats Java source code to comply with Google Java Style.
scalardb - Universal transaction manager
prettier-java - Prettier Java Plugin
postgrest - REST API for any Postgres database
palantir-java-format - A modern, lambda-friendly, 120 character Java formatter.
awesome - 😎 Awesome lists about all kinds of interesting topics
prettier - Prettier is an opinionated code formatter.
eladmin - eladmin jpa 版本:项目基于 Spring Boot 2.6.4、 Jpa、 Spring Security、Redis、Vue的前后端分离的后台管理系统,项目采用分模块开发方式, 权限控制采用 RBAC,支持数据字典与数据权限管理,支持一键生成前后端代码,支持动态路由
git-code-format-maven-plugin - A maven plugin that automatically deploys code formatters as pre-commit git hook
ObjectiveSql - Writing SQL using Java syntax