PageRenderTime 48ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/dist.ini

https://bitbucket.org/Mekk/perl-webservice_bitbucket
INI | 349 lines | 125 code | 79 blank | 145 comment | 0 complexity | b801c65f942d90a5b4017a7d9120ecce MD5 | raw file
  1. name = WebService-BitBucket
  2. version = 0.01
  3. author = Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
  4. license = Perl_5
  5. copyright_holder = Marcin Kasperski
  6. copyright_year = 2015
  7. main_module = lib/WebService/BitBucket.pm
  8. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  9. ;; Distribution content
  10. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  11. [GatherDir]
  12. prune_directory = devel_notes
  13. exclude_filename = version_hook.py
  14. include_dotfiles = 0
  15. exclude_match = ~$
  16. exclude_match = #$
  17. ;; [GatherDir / SpecFiles]
  18. ;; root = ~/projects/my-project/spec
  19. ;; prefix = spec
  20. ;; [ManifestSkip]
  21. [PruneCruft]
  22. ; remove files starting a '.', MYMETA, _Inline itd
  23. ; except = t/.*/\.keep$
  24. [PruneFiles]
  25. filename = ToDo.txt
  26. ;; match = ^test_data/
  27. [FileFinder::Filter / VersionAnnotatedFiles]
  28. finder = :MainModule
  29. finder = :ExecFiles
  30. [FileFinder::Filter / WeavedFiles]
  31. finder = :InstallModules
  32. finder = :ExecFiles
  33. ; skip = ^lib/skipped.pm
  34. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  35. ;; Dependencies
  36. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  37. [AutoPrereqs]
  38. ; Detects prereqs using Perl::PrereqScanner
  39. ; skip = ^Foo
  40. [Prereqs]
  41. OAuthomatic = 0.02
  42. [Prereqs / Recommends]
  43. Passwd::Keyring::Gnome = 0
  44. Passwd::Keyring::PWSafe3 = 0
  45. [Prereqs / DevelopRequires]
  46. Pod::Coverage::TrustPod = 0.100003
  47. Dist::Zilla = 5.031 ; this works, 5.008 generated errors (Strings with code points over 0xFF may not be mapped...), didn't test between
  48. Pod::Weaver = 4.006
  49. Pod::Weaver::Plugin::Encoding = 0
  50. Pod::Weaver::Plugin::EnsureUniqueSections = 0
  51. Pod::Elemental = 0.103000
  52. Pod::Elemental::Transformer::List = 0.102000
  53. ;; Naming for prereqs is PhaseRelationship.
  54. ;; Phase = Configure|Build|Test|Runtime|Develop
  55. ;; Relationship = Requires|Recommends|Suggests|Conflicts
  56. ;; (also bare Recommends <=> RuntimeRecommends)
  57. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  58. ;; Version numbering
  59. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  60. ;; Let's be manual for a moment, by editing on top of dist.ini
  61. ;; 1.yyDDDn
  62. ;; [AutoVersion]
  63. ;; [VersionFromScript]
  64. ;; script = version_hook.py
  65. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  66. ;; Various metadata
  67. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  68. [MetaResources]
  69. ;; http://search.cpan.org/~dagolden/CPAN-Meta-2.143240/lib/CPAN/Meta/Spec.pm#resources
  70. homepage = http://bitbucket.org/Mekk/perl-webservice_bitbucket
  71. ;;bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=Project
  72. ;;bugtracker.mailto = bug-project@rt.cpan.org
  73. bugtracker.web = https://bitbucket.org/Mekk/perl-webservice_bitbucket/issues
  74. repository.url = http://bitbucket.org/Mekk/perl-webservice_bitbucket
  75. repository.web = http://bitbucket.org/Mekk/perl-webservice_bitbucket
  76. repository.type = hg
  77. ; [Bugtracker]
  78. ; web = https://bitbucket.org/Mekk/perl-webservice_bitbucket/issues
  79. [MinimumPerl]
  80. ; detect minimum perl version
  81. [Keywords]
  82. keywords = mercurial bitbucket webservice authorization http Net REST web-api
  83. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  84. ;; Tests
  85. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  86. [Test::ReportPrereqs]
  87. ;; [Test::PrereqsFromMeta]
  88. ;; [Test::DiagINC]
  89. [Test::CheckDeps]
  90. ; fatal = 1 ;; bail out and stop testing on fail
  91. level = classic ;; requires + conflicts (see also recommends or suggests)
  92. ;; Metadata testing
  93. [MetaTests]
  94. [Test::CPAN::Changes]
  95. [Test::CheckChanges]
  96. [Test::ChangesHasContent]
  97. [Test::DistManifest]
  98. ;;[Test::Version] ; FIXME: TODO
  99. ;;has_version = 1
  100. ;;is_strict = 1
  101. ;; [Test::ConsistentVersion]
  102. [Test::NewVersion]
  103. [Test::CPAN::Meta::JSON]
  104. ;; Code testing
  105. [Test::MinimumVersion]
  106. ;; Works on given perl
  107. max_target_perl = 5.10.1
  108. [Test::UnusedVars]
  109. [Test::UseAllModules]
  110. [Test::Compile]
  111. fail_on_warning = author
  112. ;; xt_mode = true
  113. [Test::Compile::PerFile]
  114. ;; xt_mode = true
  115. ;; FIXME: Maybe one day
  116. ;; [Test::Portability]
  117. ;; options = all_tests=1,test_vms_length=0,test_dos_length=0,test_one_dot=0
  118. [Test::Perl::Critic]
  119. critic_config = perlcritic.rc ; relative to project root
  120. ;; [Test::EOL]
  121. ;; trailing_whitespace = 1
  122. [Test::EOF]
  123. minimum_newlines = 1
  124. maximum_newlines = 3
  125. [Test::NoTabs]
  126. ;; [Test::Fixme] ;; FIXME: TODO
  127. [Test::CleanNamespaces]
  128. skip = ::Dirty$
  129. ;; Documentation snippets
  130. [Test::Synopsis]
  131. ;; =begin testing ... = end testing
  132. [Test::Inline]
  133. ;; Documentation text
  134. ;; [Test::Pod::Coverage::Configurable] ;; FIXME: TODO
  135. ;; class = Pod::Coverage::Moose
  136. ;; ;trustme = Dist::This::Module => qr/^bar_/ ; moduł => regexp metod
  137. ;; skip = XXX::ServerDef::.*
  138. [PodSyntaxTests]
  139. ; for checking POD syntax (xt/release/pod-syntax.t)
  140. ;; [Test::Pod::No404s]
  141. ;; [Test::Pod::LinkCheck]
  142. ;; [Test::Legal] ;; Fails with compilation error
  143. [Test::Kwalitee::Extra]
  144. ;; arg = !has_example
  145. ;; [Test::PAUSE::Permissions]
  146. ;; Test::LocalBrew]
  147. ;; brews = first-perlbrew
  148. ;; brews = second-perlbrew
  149. ;; Whether we break something
  150. ;; (http://search.cpan.org/~ether/Dist-Zilla-Plugin-Test-CheckBreaks-0.011/lib/Dist/Zilla/Plugin/Test/CheckBreaks.pm)
  151. ; [Breaks]
  152. ; Foo = <= 1.1
  153. ; [Test::CheckBreaks]
  154. ; conflicts_module = Moose::Conflicts
  155. ;; Copy to ./t with proper skip
  156. ;; xt/author AUTHOR_TESTING
  157. ;; xt/release RELEASE_TESTING
  158. ;; xt/smoke AUTOMATED_TESTING
  159. [ExtraTests]
  160. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  161. ;; Special files
  162. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  163. [ExecDir]
  164. ;; Installed as executables
  165. dir = scripts
  166. ;; [ModuleShareDirs]
  167. ;; Foo::Bar = shares/foo_bar
  168. ;; Foo::Baz = shraes/foo_baz
  169. [ShareDir]
  170. dir = share
  171. [MetaNoIndex]
  172. ;; Ignored by CPAN
  173. directory = examples
  174. directory = t
  175. ;; file = lib/Foo.pm
  176. ;; package = My::Module
  177. ;; namespace = My::Module
  178. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  179. ;; In-place edits
  180. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  181. ;; # VERSION => version number
  182. [OurPkgVersion]
  183. finder = VersionAnnotatedFiles
  184. ;[PodVersion]
  185. ; Off, I do it with weaver
  186. ;; NEXT in Changes
  187. [NextRelease]
  188. format = %-9v %{yyyy-MM-dd}d
  189. ;; Pod::Weaver (reorganize order, apply weaver-specific macros)
  190. [PodWeaver]
  191. finder = WeavedFiles
  192. ; See weaver.ini for config
  193. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  194. ;; Generated files
  195. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  196. ;; ReadmeAny targets: build (in build), root (in local code)
  197. [ReadmeAnyFromPod / ReadmeMkdn]
  198. type = markdown
  199. filename = README.mkdn
  200. location = root ;; This is for bitbucket, to show pretty readme for repo
  201. [ReadmeAnyFromPod / ReadmeTxt]
  202. type = text
  203. filename = README.txt
  204. location = build
  205. [ReadmeAnyFromPod / ReadmeHtml ]
  206. type = html
  207. filename = README.html
  208. location = build
  209. [ReadmeAnyFromPod / ReadmeDevelTxt]
  210. type = text
  211. source_filename = README-development.pod
  212. filename = README-development.txt
  213. location = root
  214. [ReadmeAnyFromPod / ReadmeDevelHtml ]
  215. type = html
  216. source_filename = README-development.pod
  217. filename = README-development.html
  218. location = build ; Can't do root as it makes build dirty everytime
  219. [License]
  220. [MakeMaker]
  221. ;; [ModuleBuild]
  222. [Manifest]
  223. [MetaYAML]
  224. [MetaJSON]
  225. [Pod2Html]
  226. ;; Generate HTML docs
  227. dir=docs
  228. ;; ignore=bin/myscript1
  229. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  230. ;; Publish distribution
  231. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  232. ;; Is directory clean before release?
  233. [Mercurial::Check]
  234. ;; Push to default after release
  235. ;; FIXME: configure target
  236. [Mercurial::Push]
  237. ;; Ensure non-tagged before release
  238. ;; Tag after release
  239. [Mercurial::Tag]
  240. ;; Check whether prereqs are available on CPAN
  241. [CheckPrereqsIndexed]
  242. ;; skips =
  243. ;; Is version newer comparint go CPAN?
  244. [CheckVersionIncrement]
  245. ;; Final test before a release happens,
  246. ;; It'll extract to-be-released archive into a temporary directory,
  247. ;; run all the tests, if tests fail then it'll abort the release,
  248. ;; else it'll release the dist to CPAN & clean-up the temporary directory
  249. [TestRelease]
  250. ;; Are you sure to upload. The default is "no", but you can set the
  251. ;; environment variable DZIL_CONFIRMRELEASE_DEFAULT to "yes" if you
  252. ;; just want to hit enter to release.
  253. [ConfirmRelease]
  254. ;; This plugin allows the "dzil release" command to upload the dist
  255. ;; to CPAN. It'll look for PAUSE account configuration in dist.ini
  256. ;; (I would suggest to use the latter options for saving PAUSE configuration)
  257. ;; or in ~/.dzil/config.ini in the following format:
  258. ;; [%PAUSE]
  259. ;; username = YOUR-PAUSE-ID
  260. ;; password = YOUR-PAUSE-PASSWORD
  261. ;; If above configuration doesn't exist, then it'll look into ~/.pause
  262. ;; in the following format:
  263. ;; user YOUR-PAUSE-ID
  264. ;; password YOUR-PAUSE-PASSWORD
  265. ;; If none of the above exists, then it'll prompt you for PAUSE credentials
  266. ;;
  267. ;; FIXME: Keyring PAUSE
  268. [UploadToCPAN]
  269. ;; [Twitter]
  270. ;; hash_tags = #bitbucket