pub struct IssueManager { /* private fields */ }Expand description
Issue Manager for handling GitHub issues
Implementations§
Source§impl IssueManager
impl IssueManager
Sourcepub fn parse_issue_input(&self, input: &str) -> Result<u32>
pub fn parse_issue_input(&self, input: &str) -> Result<u32>
Parse an issue input (URL or issue number)
Accepts formats like:
- “123” (issue number)
- “https://github.com/owner/repo/issues/123”
- “owner/repo#123”
Sourcepub fn extract_requirements(
&self,
issue_body: &str,
) -> Result<Vec<ParsedRequirement>>
pub fn extract_requirements( &self, issue_body: &str, ) -> Result<Vec<ParsedRequirement>>
Extract requirements from an issue description
Looks for patterns like:
- “## Requirement 1: …”
- “### Acceptance Criteria”
- “- [ ] …” (checkboxes)
Sourcepub fn create_implementation_plan(
&self,
issue_number: u32,
requirements: Vec<ParsedRequirement>,
) -> Result<ImplementationPlan>
pub fn create_implementation_plan( &self, issue_number: u32, requirements: Vec<ParsedRequirement>, ) -> Result<ImplementationPlan>
Create an implementation plan from parsed requirements
Sourcepub fn format_progress_update(&self, update: &IssueProgressUpdate) -> String
pub fn format_progress_update(&self, update: &IssueProgressUpdate) -> String
Format a progress update message for posting to an issue
Sourcepub fn format_pr_closure_message(
&self,
pr_number: u32,
pr_title: &str,
) -> String
pub fn format_pr_closure_message( &self, pr_number: u32, pr_title: &str, ) -> String
Format a PR closure message for an issue
Sourcepub fn validate_issue(&self, issue: &Issue) -> Result<()>
pub fn validate_issue(&self, issue: &Issue) -> Result<()>
Validate that an issue has required fields
Trait Implementations§
Source§impl Clone for IssueManager
impl Clone for IssueManager
Source§fn clone(&self) -> IssueManager
fn clone(&self) -> IssueManager
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IssueManager
impl RefUnwindSafe for IssueManager
impl Send for IssueManager
impl Sync for IssueManager
impl Unpin for IssueManager
impl UnwindSafe for IssueManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more