name    = POE-Component-ElasticSearch-Indexer
author  = Brad Lhotsky <brad@divisionbyzero.net>
license = BSD
copyright_holder = Brad Lhotsky
copyright_year   = 2018

[PruneCruft]
[MakeMaker]
[Manifest]
[MetaJSON]
[MetaYAML]
[MetaConfig]

; Documentation
[PodWeaver]
[ContributorsFromGit]
[License]
[InsertCopyright]
[ReadmeMarkdownFromPod]
[CopyFilesFromBuild]
copy = README.mkdn

;Changelog
[ChangelogFromGit]
max_age         = 730
tag_regexp      = ^release-(\d.*)
file_name       = Changes
wrap_column     = 80
copy_to_root    = 0
exclude_message = ^(v\d\.\d|Archive|Merge pull request)

; Testing
[Test::EOL]
[PodCoverageTests]
[PodSyntaxTests]
[Test::PodSpelling]
stopword = BacklogInterval
stopword = BatchDir
stopword = BatchDiskSpace
stopword = CleanupInterval
stopword = DefaultIndex
stopword = DefaultType
stopword = elasticsearch
stopword = Elasticsearch
stopword = FlushInterval
stopword = FlushSize
stopword = LoggingConfig
stopword = MaxConnsPerServer
stopword = MaxConnsTotal
stopword = MaxFailedRatio
stopword = MaxPendingRequests
stopword = MaxRecoveryBatches
stopword = StatsHandler
stopword = StatsInterval
[Test::Perl::Critic]
[Test::Compile]
fake_home = 1
[ExtraTests]

; Prerequesites
[AutoPrereqs]
[Prereqs / Suggests]
Log::Dispatch::FileRotate = 0
[MinimumPerl]
perl = 5.010001
[CheckPrereqsIndexed]       ; ensure prereqs are on CPAN
[Prereqs / TestRequires]
Pod::Coverage::TrustPod		= 0
Test::Perl::Critic			= 0
; authordep Pod::Weaver::Section::Contributors
; authordep Pod::Weaver::Section::Support
; authordep Pod::Weaver::Section::Collect::FromOther
; authordep Pod::Elemental::Transformer::List

; Git stuff
[Git::GatherDir]
exclude_filename = README.mkdn
exclude_filename = META.json
exclude_filename = Changes

[Git::NextVersion]  ; get version from last release tag
version_regexp = ^release-(.+)$
[OurPkgVersion]

[Git::Check]        ; ensure all files checked in
allow_dirty = dist.ini
allow_dirty = weaver.ini
allow_dirty = Changes
allow_dirty = README.mkdn
allow_dirty = META.json

[GithubMeta]
issues = 1

; Packaging Things
[ExecDir]
dir = bin

; Commit handling / Release?
[ConfirmRelease]
[TestRelease]
[UploadToCPAN]
[Git::Commit / Commit_Dirty_Files]

[Git::Tag]
tag_format = release-%v

[NextRelease]

[Git::Commit / Commit_Changes] ; commit Changes (for new dev)

[Git::Push]         ; push repo to remote
push_to = origin