Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dre): Add support for forum post links for version elect proposals #942

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sasa-tomic
Copy link
Member

No description provided.

@sasa-tomic sasa-tomic requested a review from a team as a code owner September 20, 2024 08:43
Copy link
Contributor

@NikolaMilosa NikolaMilosa left a comment

Choose a reason for hiding this comment

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

Amazing, thanks! Just a couple of nits

self.force,
ctx.forum_post_link(),
self.ignore_missing_urls,
ctx.forum_post_link().expect("Forum post link is required for this proposal"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this go in validate step for this Command? It will then use clap abstractions for exiting

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to have that, yes. But validate does not have access to the command, only to ctx, and the refactor to get the into the validate isn't quite straightforward. But I do feel we should make that change, so I agree with you.

self.force,
ctx.forum_post_link(),
self.ignore_missing_urls,
ctx.forum_post_link().expect("Forum post link is required for this proposal"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as previous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants