Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle][Workflow] Add metadata dumping support forGraphvizDumper#50621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:6.4fromLouis-Proffit:ticket_50604
Jun 21, 2023

Conversation

@Louis-Proffit
Copy link
Contributor

@Louis-ProffitLouis-Proffit commentedJun 9, 2023
edited by nicolas-grekas
Loading

QA
Branch?6.4
Bug fix?no
New feature?yes
Deprecations?no
TicketsFix#50604
LicenseMIT
Doc PRsymfony/symfony-docs#18398

Add--with-metadata option toworkflow:dump command. It includes places, transitions and workflow's metadata in the dumped graph. Currently only supported forGraphvizDumper andStateMachineGraphvizDumper.

When used, thelabel metadata is not included in the dumped metadata because it is already the title. This could be enlarged to all styling metadata.

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has acontribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (seehttps://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (seehttps://symfony.com/releases)
  • Features and deprecations must be submitted against the 6.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbotcarsonbot changed the title[FrameworkBundle] add metadata dump option | [Workflow] add metada dumping support for GraphvizDumper[FrameworkBundle][Workflow] add metadata dump option | add metada dumping support for GraphvizDumperJun 9, 2023
@Louis-ProffitLouis-Proffit changed the base branch from6.3 to6.4June 14, 2023 17:00
@Louis-ProffitLouis-Proffitforce-pushed theticket_50604 branch 3 times, most recently from3e8f6a7 to47757b7CompareJune 14, 2023 17:18
@nicolas-grekasnicolas-grekas modified the milestones:6.3,6.4Jun 21, 2023
@nicolas-grekasnicolas-grekas changed the title[FrameworkBundle][Workflow] add metadata dump option | add metada dumping support for GraphvizDumper[FrameworkBundle][Workflow] Add metadata dumping support for GraphvizDumperJun 21, 2023
@nicolas-grekasnicolas-grekasforce-pushed theticket_50604 branch 2 times, most recently from5ff2322 tocad1bd5CompareJune 21, 2023 09:09
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

I rebased + fixed a few things.

@OskarStarkOskarStark changed the title[FrameworkBundle][Workflow] Add metadata dumping support for GraphvizDumper[FrameworkBundle][Workflow] Add metadata dumping support forGraphvizDumperJun 21, 2023
}

/**
* @internal
Copy link
Contributor

Choose a reason for hiding this comment

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

Why make this internal?

Choose a reason for hiding this comment

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

because all methods are in this class

@nicolas-grekas
Copy link
Member

Thank you@Louis-Proffit.

Louis-Proffit reacted with thumbs up emoji

@nicolas-grekasnicolas-grekas merged commitf01da98 intosymfony:6.4Jun 21, 2023
'graph' => [
'label' =>$input->getOption('label'),
],
'label' =>$input->getOption('label'),
Copy link
Member

@xabbuhxabbuhJun 21, 2023
edited
Loading

Choose a reason for hiding this comment

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

Isn't this a BC break if someone uses the dumper in their own code (as they would have to change the options being passed to thedump() method)?

This was referencedOct 21, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@xabbuhxabbuhxabbuh left review comments

@OskarStarkOskarStarkOskarStark approved these changes

@lyrixxlyrixxAwaiting requested review from lyrixxlyrixx is a code owner

@jderussejderusseAwaiting requested review from jderusse

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

Enable dumping workflow metadata

5 participants

@Louis-Proffit@carsonbot@nicolas-grekas@OskarStark@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp