Decentralized Issue Tracking for git
Changes:
Added features:
Bug-fixes:
less -R
as the pager (contrary to less
) would cause git-dit
search for a binary named "less -R", resulting in an error.Changes:
LineIteratorExt::stripped()
now returns an iterator which also strips
trailing blank lines.Issue::new()
now returns a Result
.Blocks
iterator are represented as String
TrailerValue
with newlines separating the individual lines from the input.trailer
was promoted to a top-level module.message::accumulation
was moved to trailer
message::metadata
was moved to trailer
and renamed to spec
.MetadataSpecification
was renames to TrailerSpec
.PairsToTrailers
and DitTrailers
iterator was moved to new
trailers::iter
module.Trailers
iterator was moved to message::block
module.DitTrailers
is now a generic iterator adapter on top of an iterator over
Trailer
s.Added features:
TrailingBlankTrimmer
for removing trailing blank lines from sequences
of lines.StrippingIter
for stripping messages of comments and unnecessary white
space.TrailerFilter
type for filtering based on trailers.ValueMatcher
type for matching TrailerValue
s.MessagesExt
convenience trait for iterators over messages. The trait
provides accumulation functionality.MultiAccumulator
trait for map-based accumulation of multiple trailers.Default
for TrailerValue
.Clone
for ValueAccumulator
.From<Blocks>
for Trailers
README.md
to the sources of both the
binary and the library.Changes:
Added features:
Bug-fixes:
Changes:
RepositoryExt::issues_with_prefix()
and RepositoryExt::issues()
now
return a unique set of issues.Issue::update_head()
now takes an additional parameter controlling whether
an existing head reference is replaced.Issue::messages_revwalk()
was replaced by new Issue::messages()
function.Issue::first_parent_revwalk()
was replaced by new
Issue::first_parent_messages()
function.Issue::find_local_head()
was renamed to Issue::local_head()
.Issue::local_refs()
now has an additional parameter controlling the type of
references returned.Issue::issue_leaves()
was removed.message::line
module was replaces by message::block
module, including
associated types.LineIteratorExt::categorized_lines()
was replaced by
LineIteratorExt::line_blocks()
.Message::categorized_body()
was replaced by Message::body_blocks()
.TrailerValue::append()
now operates in-place, on a mutable reference.Added features:
Messages
for iterating over messages.Issue::terminated_messages()
for preparing a Messages
instance which terminates at the initial message.Issue::messages_from()
for creating a Messages
instance
returning messages from one specific commit to the initial message.message::accumulation
for accumulating issue metadata.message::metadata
providing specification of a small set of
predefined pieces of issue metadataIssueRefType
representing the type of a reference (e.g. "head" or
"leaf").PairsToTrailers
iterator for assembling trailers from key-value pairs.Issue::remote_refs()
and Issue::all_refs()
functions for retrieving
references.PartialEq
, Eq
and Hash
for Issue
.From<Messages>
for IssueMessagesIter
.AsRef<String>
for TrailerKey
Bug-fixes:
Issue
functions.manpage
feature rather than
an environment variable.Changes:
Bug-fixes:
Trailers
iterator which caused emission of trailers even if they
are embedded in a block of text.Changes:
Added features:
Bug-fixes:
EDITOR
variable.)