You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shenyu.apache.org by midnight <ll...@163.com> on 2022/03/22 12:44:20 UTC

[Volunteer] format SQL to improve code readability in shenyu-admin.

Hi Community:
     Here are some newcomers tasks that you are welcome to participate in.
     This task is to format the current SQL, following the principle of left-aligning keywords (Uppercase) and right-aligning fields. 


for example:
before formatting:


```SQL
select id, name, age from user where id = 1
```


after formatting


```SQL
  SELECT id, 
         name, 
         age 
    FROM user
   WHERE id = 1
```




Task List


- [x] 1. app-auth-sqlmap.xml @midnight2104 
- [ ] 2. auth-param-sqlmap.xml
- [ ] 3. auth-path-sqlmap.xml
- [ ] 4. dashboard-user-sqlmap.xml
- [ ] 5. data-permission-sqlmap.xml
- [ ] 6. meta-data-sqlmap.xml
- [ ] 7. permission-sqlmap.xml
- [ ] 8. plugin-handle-sqlmap.xml
- [ ] 9. plugin-sqlmap.xml
- [ ] 10. resouce-sqlmap.xml
- [ ] 11. role-sqlmap.xml
- [ ] 12. rule-condition-sqlmap.xml
- [ ] 13. rule-sqlmap.xml
- [ ] 14. selector-condition-sqlmap.xml
- [ ] 15. selector-sqlmap.xml
- [ ] 16. shenyu-dict-sqlmap.xml
- [ ] 17. user-role-sqlmap.xml


Notice: input `about issue 3088` in your pr desc .


If you would like to participate, please respond inside this issue, and are looking forward to your first PR.


issue:
https://github.com/apache/incubator-shenyu/issues/3088

Re: [Volunteer] format SQL to improve code readability in shenyu-admin.

Posted by XiaoYu <xi...@apache.org>.
good idea,

midnight <ll...@163.com> 于2022年3月22日周二 20:44写道:
>
> Hi Community:
>      Here are some newcomers tasks that you are welcome to participate in.
>      This task is to format the current SQL, following the principle of left-aligning keywords (Uppercase) and right-aligning fields.
>
>
> for example:
> before formatting:
>
>
> ```SQL
> select id, name, age from user where id = 1
> ```
>
>
> after formatting
>
>
> ```SQL
>   SELECT id,
>          name,
>          age
>     FROM user
>    WHERE id = 1
> ```
>
>
>
>
> Task List
>
>
> - [x] 1. app-auth-sqlmap.xml @midnight2104
> - [ ] 2. auth-param-sqlmap.xml
> - [ ] 3. auth-path-sqlmap.xml
> - [ ] 4. dashboard-user-sqlmap.xml
> - [ ] 5. data-permission-sqlmap.xml
> - [ ] 6. meta-data-sqlmap.xml
> - [ ] 7. permission-sqlmap.xml
> - [ ] 8. plugin-handle-sqlmap.xml
> - [ ] 9. plugin-sqlmap.xml
> - [ ] 10. resouce-sqlmap.xml
> - [ ] 11. role-sqlmap.xml
> - [ ] 12. rule-condition-sqlmap.xml
> - [ ] 13. rule-sqlmap.xml
> - [ ] 14. selector-condition-sqlmap.xml
> - [ ] 15. selector-sqlmap.xml
> - [ ] 16. shenyu-dict-sqlmap.xml
> - [ ] 17. user-role-sqlmap.xml
>
>
> Notice: input `about issue 3088` in your pr desc .
>
>
> If you would like to participate, please respond inside this issue, and are looking forward to your first PR.
>
>
> issue:
> https://github.com/apache/incubator-shenyu/issues/3088