Skip to content

[Refactor]: Move fmtutil from cmd to pkg/formatter - #1779

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
Zheaoli:manjusaka/split-fmtutil
Dec 30, 2022
Merged

AkihiroSuda merged 1 commit into
containerd:mainfrom
Zheaoli:manjusaka/split-fmtutil

Conversation

@Zheaoli

@Zheaoli Zheaoli commented Dec 29, 2022

Copy link
Copy Markdown
Member

Signed-off-by: Zheao.Li [email protected]

@Zheaoli
Zheaoli force-pushed the manjusaka/split-fmtutil branch from 71e8108 to fb4f905 Compare December 29, 2022 04:00
@Zheaoli Zheaoli mentioned this pull request Dec 29, 2022
2 tasks done
@AkihiroSuda AkihiroSuda added this to the v1.2.0 milestone Dec 29, 2022
AkihiroSuda
AkihiroSuda previously approved these changes Dec 29, 2022

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

Comment thread pkg/fmtutil/fmtutil.go Resolved
@djdongjin

Copy link
Copy Markdown
Member

Should we combine this pkg/fmtutil with pkg/formatter package? From the name they are quite similar.

https://github.com/containerd/nerdctl/blob/49aa8fbddeae6f92deaec08178673a9e7c55f661/pkg/formatter/

@Zheaoli
Zheaoli force-pushed the manjusaka/split-fmtutil branch from 594192e to b9c000d Compare December 29, 2022 05:17

@djdongjin djdongjin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@AkihiroSuda

AkihiroSuda commented Dec 29, 2022 •

Copy link
Copy Markdown
Member

(Commit message and PR title)

pkg/fmtutil

pkg/formatter

@fahedouch fahedouch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

@Zheaoli
Zheaoli force-pushed the manjusaka/split-fmtutil branch from b9c000d to 72ea92a Compare December 30, 2022 11:17
@Zheaoli Zheaoli changed the title [Refactor]: Move fmtutil from cmd to pkg/fmtutil [Refactor]: Move fmtutil from cmd to pkg/formatter Dec 30, 2022
@Zheaoli
Zheaoli force-pushed the manjusaka/split-fmtutil branch from 72ea92a to 52b2fa0 Compare December 30, 2022 11:20

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda
AkihiroSuda merged commit 8c991c2 into containerd:main Dec 30, 2022
@Zheaoli
Zheaoli deleted the manjusaka/split-fmtutil branch December 30, 2022 13:14
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.

4 participants