🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Azuredevops add refdiff and gitextractor tasks + misc improvements - #4773

Merged
hezyin merged 17 commits into
apache:mainfrom
merico-ai:azuredevops_ext_tasks_misc
Mar 27, 2023
Merged

hezyin merged 17 commits into
apache:mainfrom
merico-ai:azuredevops_ext_tasks_misc

Conversation

@CamilleTeruel

@CamilleTeruel CamilleTeruel commented Mar 24, 2023 •

Copy link
Copy Markdown
Contributor
  • I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary

  • Add refdiff and gitextractor tasks from python in azure devops pipeline.
  • Remove commits stream, now handled by gitextractor
  • Misc fixes and improvements:
    • Collect all PRs, not only actives ones
    • Automatic conversion from camelCased input json attributes to snake_cased python models attributes
    • Add missing stream tests
    • Fix remote scope json conversion missing type

@CamilleTeruel CamilleTeruel changed the title Azuredevops ext tasks misc Azuredevops add refdiff and gitextractor tasks + misc improvements Mar 24, 2023
@CamilleTeruel
CamilleTeruel force-pushed the azuredevops_ext_tasks_misc branch 3 times, most recently from 4b323b2 to 941eeb2 Compare March 26, 2023 23:39
productionPattern: 'production',
refdiff: {
tagsOrder: 10,
tagsOrder: 'reverse semver',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does the mean of reverse semver?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

order by semver descending

@CamilleTeruel
CamilleTeruel force-pushed the azuredevops_ext_tasks_misc branch from 941eeb2 to 4fc2877 Compare March 27, 2023 09:15
Camille Teruel added 17 commits March 27, 2023 18:19
Also refactor generate_domain_id function to ToolModel.domain_id method.
Azure devops API excludes closed PRs by default.
Also merge commit is always presents if PR can be merged even if it is not.
Pull request id should refer to the domain id of the domain pull request.
With gitextractor enabled, the Commits stream is redundant.
* Pass transformation rule with each tool scope to make-pipeline
* Use transformation rule to set refdiff options in AzureDevops plugin
…tractor

* Pass connection instead of connection_id to make pipeline methods
* Use connection.proxy when making extra gitextractor task
@CamilleTeruel
CamilleTeruel force-pushed the azuredevops_ext_tasks_misc branch from 4fc2877 to 3f5eb65 Compare March 27, 2023 16:19

@hezyin hezyin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hezyin
hezyin merged commit 0672f47 into apache:main Mar 27, 2023
@keon94 keon94 mentioned this pull request Mar 29, 2023
2 of 3 tasks
@keon94 keon94 added this to the v0.17.0 milestone Mar 29, 2023
@keon94 keon94 added the component/plugins This issue or PR relates to plugins label Mar 29, 2023
@keon94
keon94 deleted the azuredevops_ext_tasks_misc branch March 29, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/plugins This issue or PR relates to plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants