Skip to content

Conversation

@zhongjiajie
Copy link
Member

@zhongjiajie zhongjiajie commented Nov 7, 2022

Currently, our Python API code is a module in apache/dolphinscheduler codebase,
each time users change Python API code, they need to run all requests CI check
for dolphinscheduler and Python API, But if the user does only change Python
code, it could be merged if Python API CI pass and do not dependent on others CI.

Besides, we release Python API as the same version of dolphinscheduler. It is
easy for user to match Python API version. But when Python API does not change
any code, but dolphinscheduler release a bugfix version, Python API has to
release the new version to match dolphinscheduler. This happened when we
released Python API 2.0.6 and 2.0.7. 2.0.6 and 2.0.7 is bugfix version, and
Python API does not change any code, so the PyPI package is the same.

Separate Python API also makes our code more sense, we will have more
distinguished code in dolphinscheduler and Python API new repository.
Have separate issue tracker and changelog for information to users.

ref PR in other repository: apache/dolphinscheduler-sdk-python#1

see more detail in mail thread: https://lists.apache.org/thread/4z7l5l54c4d81smjlk1n8nq380p9f0oo

Currently, our Python API code is a module in apache/dolphinscheduler codebase,
each time users change Python API code, they need to run all requests CI check
for dolphinscheduler and Python API, But if the user does only change Python
code, it could be merged if Python API CI pass and do not dependent on others CI.

Besides, we release Python API as the same version of dolphinscheduler. It is
easy for user to match Python API version. But when Python API does not change
any code, but dolphinscheduler release a bugfix version, Python API has to
release the new version to match dolphinscheduler. This happened when we
released Python API 2.0.6 and 2.0.7. 2.0.6 and 2.0.7 is bugfix version, and
Python API does not change any code, so the PyPI package is the same.

Separate Python API also makes our code more sense, we will have more
distinguished code in dolphinscheduler and Python API new repository.
Have separate issue tracker and changelog for information to users.

see more detail in mail thread: https://lists.apache.org/thread/4z7l5l54c4d81smjlk1n8nq380p9f0oo
@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2022

Codecov Report

Merging #12779 (185d53a) into dev (6c5ab3f) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #12779      +/-   ##
============================================
- Coverage     39.18%   39.11%   -0.07%     
+ Complexity     4212     4209       -3     
============================================
  Files          1045     1046       +1     
  Lines         39719    39733      +14     
  Branches       4575     4558      -17     
============================================
- Hits          15562    15540      -22     
- Misses        22387    22428      +41     
+ Partials       1770     1765       -5     
Impacted Files Coverage Δ
...erver/master/processor/queue/TaskEventService.java 69.64% <0.00%> (-10.72%) ⬇️
...org/apache/dolphinscheduler/remote/utils/Host.java 42.55% <0.00%> (-2.13%) ⬇️
...hinscheduler/plugin/alert/script/ScriptSender.java 70.58% <0.00%> (-1.64%) ⬇️
...e/dolphinscheduler/remote/NettyRemotingClient.java 51.38% <0.00%> (-1.39%) ⬇️
...r/plugin/task/sqoop/parameter/SqoopParameters.java 51.19% <0.00%> (-1.20%) ⬇️
...cheduler/plugin/alert/dingtalk/DingTalkSender.java 34.13% <0.00%> (-0.78%) ⬇️
...rver/master/runner/task/BlockingTaskProcessor.java 75.86% <0.00%> (-0.55%) ⬇️
...inscheduler/plugin/registry/etcd/EtcdRegistry.java 50.69% <0.00%> (-0.35%) ⬇️
...er/api/service/impl/TaskDefinitionServiceImpl.java 30.01% <0.00%> (-0.33%) ⬇️
.../dolphinscheduler/plugin/task/datax/DataxTask.java 36.62% <0.00%> (-0.26%) ⬇️
... and 20 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zhongjiajie zhongjiajie self-assigned this Nov 7, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@zhongjiajie zhongjiajie merged commit 1347a8f into apache:dev Nov 9, 2022
@zhongjiajie zhongjiajie deleted the i-seperate-py-api branch November 9, 2022 13:20
zhongjiajie added a commit to apache/dolphinscheduler-website that referenced this pull request Nov 9, 2022
zhongjiajie added a commit to zhongjiajie/dolphinscheduler that referenced this pull request Nov 10, 2022
jieguangzhou pushed a commit that referenced this pull request Nov 10, 2022
* [fix][doc] Dead link for python api

ref: #12779 and
apache/dolphinscheduler-sdk-python#1

* fix dead link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants