Hi Matthew,
On 06/15/2011 10:27 PM, Matthew Astley wrote:
I got permission errors from the reindex of 0.25 for
fail_example_testsuite_setup
Tk::ArrayBar
but no errors for the reindex I requested for 0.25_1325. The packages
are still present at the same place in the dist, but the upload now
has a more complete META.yml [1].
I'll transfer the missing permissions.
That is because developer versions (with underscore) do not get indexed
at all.
a) package and file naming for example code.
The file examples/fail_example.pm contains two packages. The extra
one is called fail_example_testsuite_setup, for this I have no
permission[2].
In 0.25 fail_example and Experimental::Sample are listed as modules,
but fail_example_testsuite_setup is not.
In 0.25_1325 no example files are listed.
- in which namespace and directory should example files be?
- should I include them under META{no_index}{directory} ?
Try "examples/". That should normally not be indexed. Otherwise, adding
them to META.yml/json's no_index section works.
b) Naming of incidental packages.
The file lib/Test/Unit/TkTestRunner.pm contains two packages, the
second called Tk::ArrayBar, for which I have no permission[3].
I know best practices have got better since 2000... I will split the
module into its own file. I would prefer not to make a separate dist
for it because Test::Unit has enough dependencies already. Should I
- have permission for Tk::ArrayBar?
- rename it within Test::Unit, perhaps to Test::Unit::Tk::ArrayBar?
I will transfer permissions for this as well and trigger another reindexing.
I have re-read
https://pause.perl.org/pause/authenquery?ACTION=pause_namingmodules
and would discuss Tk::ArrayBar with Slaven if I keep that name, per
the "Big projects" section. I didn't see anything about example
namespace.
I think you're fine. It's been around under that name for a long time.
Best regards,
Steffen